Escolar Documentos
Profissional Documentos
Cultura Documentos
Volatility: storage device or medium that cannot reliably hold data for long
periods.
Random Access: aka direct access, not restricted to any specific order
when accessing data. All primary storage devices and disk storage devices
are random access devices. Access is constant for primary storage devices;
but is not constant for disk storage due to, physical/spatial relationships of
the read/write mechanisms.
Cost and Capacity: Cost increases as an access method moves from serial to
random to parallel. Users sacrifice speed and parallel access to gain sufficient
capacity at an acceptable cost.
Memory-Storage Hierarchy:
Primary Storage Devices: Critical to PSD is access speed and data transfer unit
size. PSD must closely match CPU speed and word size to avoid wait states.
Technologies applied to the construction of processors have in general, been
applied simultaneously to the construction of primary storage devices.
Random Access Memory: generic term describing a PSD with the following
characteristics: microchip implementation using semiconductors, ability to read
and write with equal speed, and random access to stored bytes words or large
data units.
Dynamic RAM: electronic memory circuit that implements bit storage with
transistors and capacitors. Less complex than SRAM but slower due to
constant refreshing and less efficiency circuitry for accessing individual bits
(10 times slower access times than SRAM). DRAM is typically 50x slower than
microprocessors.
Read Only Memory is the earliest type of NVM with data content written
permanently during manufacture.
Flash RAM is the most common NVM used today. Competitive with DRAM in
storage capacity and read performance. Results in cell destruction after
100,000 or more write operation. Due to slow write speed and limited number
of write cycles, FLASH RAM is used for secondary storage and for firmware
that isn’t frequently updated.
Polymer Memory uses a special plastic with electrical resistance that can
be increased or decreased by an electrical field. Advantages are low-cost
materials, nondestructive read access, and individual memory cells with no
transistors. Challenges are accessing individual memory cells and finding low-
cost fabrication methods.
Dual in-inline Packages (DIPs): early form of packaging for CPU and
memory circuits with two rows of electrical contact pins. Packaging form of
early RAM and ROM circuits. Installing DIP on a PCB is a tedious and precise
operation, and DIPs occupy a greater portion of surface area.
Single in-line Memory Module (SIMM) – small printed circuit board with
memory chips on one or both sides and electrical contacts on one edge.
Standard RAM package. Incorporates tiny DIPs on a tiny PCB.
Big Endian describes architectures that store the most significant byte at
the lowest memory address.
Little Endian describes architectures that store the least significant byte at
the lowest memory address.
Physical Memory is the actual number of memory bytes that are physically
installed in the machine. Physical memory is smaller than addressable
memory.
Offset Register is the register that hold offset values. Contents are added
to calculate the corresponding physical memory address.
Magnetic Storage: Exploits the duality of magnetism and electricity. The polarity
of magnetic charge represents the bit values zero and one.
Factors that lead to data loss in magnetic storage devices
Areal Density: coercible material per bit decreases as areal density increases –
higher areal density makes stored data more susceptible to loss due to decay
and leakage.
Linear Recording places bits along parallel tracks that run along the entire
length of tape.
Helical Scanning reads and writes data to or from a tape by rotating the
R/W head at an angle to tape and moving from tape edge to tape edge.
Requires much more complex r/w mechanisms.
Before the mid-1990s, mainframes used tape drives that used .5 or 1 inch open
reel tape. IBM set standards for mainframe tapes because it made the majority
of mainframes. An alternative for smaller computers was the open Quarter Inch
Committee (QIC). Digital Data Standards (DDS) standards were developed
by HP and Sony from an earlier technology called Digital Audio Tape (DAT).
DDS utilized helical scanning and were cheap but not meant for precise
alignment, and were expensive due to being environmentally friendly for one.
DDS was used widely in small servers, and DAT72 format looked to succeed it.
Digital Linear Tape (DLT) is a standard developed by Quantum, and is .5
inches wide and contain a cartridge with only one reel. Longer tape lengths and
higher capacity per tape can be achieved the single reel cartridge. Sony and
Exabyte extended DAT with Sony’s Advanced Intelligent Tap (AIT) and
Exabyte’s Mammoth standards. Both used helical scanning 8mm tapes, and
employ a more expensive and precisely manufactured tap cartridge. Both can
carry more data onto a single tape. AIT includes a small RAM cache to store
directory information in order to speed searching and data access. Linear Tape
Open (LTO) is a standard developed by HP, IBM, and Seagate, and is a
proprietary standard. LTO uses linear recording and employs a number of
technology improvements in tape cartridges, coercible materials, r/w heads, and
tape control. LTO is primarily designed for enterprise-wide servers supporting
mission critical applications. Accelis Standard maximizes retrieval speed at the
expense of per-tap capacity, while the Ultrium Strandard maximizes capacity
at the expense of access speed. Accelis has never been developed due to the
introduction of magnetic disks.
Magnetic Disks are flat, circular platters with metallic coatings that are rotated
beneath r/w heads. Data are normally located on both sides of the platter.
Track is one concentric circle of a platter, or the surface area that passes
under a read/write head when its position is fixed.
Cylinder is the set of all tracks at an equivalent distance from the edge or
spindle on all platter surfaces.
Floppy disk aka Diskette uses a base of flexible or rigid plastic material
and is 2.5 to 3.5 inches in diameter.
Disk access time depends on: switch among read/write heads; position
the r/w heads over a track; wait for the desired sector to rotate beneath the
r/w heads.
track-to-track switching time is the time required to move from one track
to another. Measured in milliseconds.
Rotational delay is the time the disk controller must wait for the proper
sector to rotate beneath the heads. Depends on the platter rotation speed.
Increasing spin rate decreased rotational delay.
CD-ROM – compatible with compact disc digital audio (CD-DA) but includes
additional formatting information to store directory and file information. CD is
120 millimeters (4.75 inches) in diameter. CD-DA is a standard developed by
Sony and Phillips for storing and distributing music.
CD-R has stable dye when scanned at low power during a read operation, but
changes its reflective properties when scanned at higher power during a write
operation. Sensitive to light, so should be stored in a dark location at room
temperature.
Magneto-Optical uses a laser and reflected light to sense bit values. At 150
degrees Celsius, material can be charged by a magnetic field in much the same
way a purely magnetic media. Magneto Optical technology peaked in the mid
1990s but was overcome by CD-RW drives. M-O’s advantage over CD-RW is
access speed and capacity, but were phased out by DVD phase-change formats.
Ch 6
System Bus: connects the CPU with main memory and other system components.
Bus is a set of parallel communication lines that connect two or more devices.
Data Bus moves data among computer system components. A 64bit CPU would
have 64 or 128 bus data lines.
Address Bus carries the bits of a memory address. Modern address bus, have
at least 32 lines.
Control Bus carries commands, command responses, status codes and similar
messages.
Bus Clock is carried by control buses, and is a common timing reference for
all attached devices. Its frequency is measured in megahertz (MHz).
Bus Cycle is the time interval between from one clock pulse to the next. Bus
cycle time is the inverse of the bus clock rate.
BCT = 1 / BCR
Bus Protocol governs the format, content and timing of data, memory address,
and control messages sent across the bus. Every peripheral device must have
this.
Bus Master is the CPU due to being the focus of all computer activity, while all
other devices are Bus Slaves.
Besides the CPU, no other device can access the bus except in response to an
explicit instruction from the CPU.
Direct Memory Access (DMA): allows the transfer of data directly between
memory and secondary storage devices, without the assistance of the CPU. With
it, the DMA Controller assumes role of bus master for all transfers between
memory and other storage or I/O devices. As DMA controller manages bus
traffic, CPU is free to execute computation and data movement instructions.
Peer-to-Peer Bus is where any device can assume control of the bus, or act as
a bus master for transfers to any other device.
Bus Arbitration Unit is a simple processor attached to a p2p bus that decides
which devices must wait when multiple devices want to become a bus master.
Logical access: The device, or its controller, that translates linear sector
address into corresponding physical sector location on a specific track and
platter.
Linear Address Space: A set of sequentially numbered storage location.
Device Controllers: Implement the bus interface and access protocols. Translate
logical addresses into physical addresses. Enable several devices to share access to
a bus connection.
Technology Focus—SCSI
I/O Wait States: CPU cycles that could have been devoted to instruction
execution.
Interrupt: a signal to the CPU that some event has occurred that requires the
CPU to execute a specific program or process.
Supervisor: examines the interrupt code stored in the interrupt register and
uses it as an index to interrupt table. Extracts the corresponding memory
address and transfers control the interrupt handler at that address.
Push: When values in a CPU register is added to the stack in an operation, when
a process is interrupted.
Pop: CPU remove values on the top of the stack and loads them back into the
appropriate register when an interrupt handler finishes executing.
Stack Overflow: an error that occurs when there is attempt to push values
onto stack results at full capacity.
Stack Pointer: A special purpose register that always points to the next empty
address in the stack. Incremented and decremented each time the stack is
pushed or popped.
Performance Effects
Buffers: Small storage areas (usually DRAM or SRAM) that hold data in transit
from one device to another. Use interrupts to enable devices with different data
transfer rates and unit sizes to efficiently coordinate data transfer.
Buffer overflow: occurs when buffer is not large enough to hold a full page.
Buffer size must be at least as large as the data output unit.
The operating system uses part of the primary storage to implement the
cache.
Cache hit: when a read operation accesses data already contained within
the cache.
Cache Swap: The result of cache miss. The cache controller guesses which
data items are least likely to be needed in the near future, writes them to the
storage device, and purges them from the cache.
Give files opened for random access lower priority for cache retention.
Processing Parallelism: Increases computer system computational capacity;
breaks problems into pieces and solves each piece in parallel with separate CPUs.
Workstations”
Motion Pictures Expert Group creates and evaluates standards for motion picture
recording and encoding technology. CD quality music can be compressed 6:1 and
most listeners cannot distinguish the compressed audio data from the original. MP3
takes advantage of well known human characteristic of human audio perception
such as inability to recognize fain tones of one frequency simultaneously with much
louder tones in nearby frequencies (3 total advantages total). Encoder utilizes 16 bit
precision.
Ch 7
Dots Per Inch: Used in U.S. to notify that a dot is equivalent to pixel.
Smaller size yields higher print quality because fine details such as smoother
curves can be incorporated into the image.
Color
RGB: primary colors for video display. Video displays generate colors using
mixtures of red, green, and blue.
Bitmap: stored set of numbers that describes the content of all pixels in an
image.
Monochrome: can display one of two colors and thus requires only one bit
per pixel.
VDTs. Most common form of video display in 1970s and much of 1980s (until
PCs). Network computers or thin clients. New class of VDT in 1990s. Limited
processing capabilities.
Accepts commands and data transmitted via a bus from the CPU. Generates TV-
style analog video signal, which is transmitted to the monitor. Refresh cycle and
refresh rate; video RAM; dual porting; graphics accelerators.
Refresh Cycle: Transfer of full screen of data from the display generator to
the monitor.
Refresh Rate: Number of refresh cycles per second, and is stated in Hertz.
Video Ram aka VRAM: different than ordinary RAM, because it can be
written by the bus interface circuitry or video processor while it is being
simultaneously read by display generator circuitry.
Cathode ray tubes (CRTs): an enclosed vacuum tube. Electron gun in the
rear of the tube generates a stream of electrons that are focused in a narrow
beam toward the front surface of the tube.
Thin Film Transistor (TFT): since 1990s this has been used to manufacture
active matrix displays.
Plasma displays: Combines elements of CRT and LCD technology. Flat panel
active matrix devices. Unlike LCDs, have no backlight and no color filters. Each
pixel contains gas that emits ultraviolet light when electricity is applied.
Printers
Inkjet Printers: Most common printing technology. Prints with liquid ink placed
directly onto paper. Uses mechanical movement or heat to force ink out of
nozzle. Paper is drawn past moving print head. Resolution is up to 600 dpi. Has
disposable print cartridges that contain ink reservoirs, a matrix of ink nozzles,
and electrical wiring and contact points.
Printer Communication:
Inkjets and laser printers have relatively large buffers to hold a line,
multiple lines, or an entire page of printed output.
Laser Printers: operates with an electrical charge and attraction of ink to that
electrical charge.
Plotters: a printer that generates line drawings on wide sheets or rolls of paper.
Can handle paper widths of up to 60 inches, which makes them ideal for
producing blueprints and other engineering drawings. Pen-based printing
technology was the norm until the mid-1990s. P-B technology draws images
using one or more moving pens that are raised and lowered onto paper.
Manual Input Devices: keyboards, mice, pressure-sensitive pads, and many less
familiar but related devices. Until the 1980s, keyboards were the dominant form of
inputs, until the introduction of the mice.
Keyboards: For entering text and commands. Early computer systems accepted
input via punched cards or tape.
Keyboard Controller: an integrated microprocessor for modern keyboards,
used to generate bit stream inputs.
Pointing Devices: For pointing and selecting buttons or menu items, For
drawing, For moving the position of cursor.
Mouse: a pointing device that is moved flat surface such as a table, desk or
rubber pad.
Digitizer: consists of a digitizing tablet and pen, stylus, or both. Ideal for
drafters and artists to trace blueprints or free hand sketching.
Input Pads: digitizing tablet and tablet PCs are examples of a general class
of input device. 3 common input pad technologies: Infrared, Photosensor,
Pressure-sensitive pad.
Optical Input Devices: Detect light reflected off a printed surface or object into a
photosensor
Categories. Mark and pattern sensors. Image capture devices. Mark Sensors and
Bar-Code Scanners.
Mark Sensor: scans for light or dark marks at specific locations on a page.
Similar to collect data from a multiple choice test.
Scanning Laser: sweeps a narrow laser beam back and forth across the bar
code. Bars must have precise width and spacing as well as high contrast for
accurate decoding.
Speech Generation