IO Flashcards
what’s a bus?
a communication pathway between components of a computer
what’s a crossbar?
connects any input to any output
what’s a bridge?
connects two different buses
IO APIC is?
IO advanced programmable interrupt controller
the part of the processor that handles interrupts from devices
SRAM
static
very fast, used to cache slower memory
DRAM
dyanmic
capacitor + gate to store a bit
very dense, but slower
VRAM
video
dual ported i.e. can write while another component reads
ways to communicate with a device
mmapped device registers
device memory
direct memory access
mmapped device regs
some ranges of physical addresses correspond to device registers
lw/sw gets status/sends instructions to a device, not RAM
device memory
device has memory and OS can write to the device through the IO bus rather than an address
uses special IO instructions in and out
DMA
place instructions to device in RAM
poke device by writing to its registers
device performs action and generates interrupt when done
disadvantages of polling
busy waiting
xor high latency
receive livelock is
CPU spends all its time handling device interrupts because packets arrive too quickly and the interrupt handler has high priority
what are interrupt driven devices good for?
disk requests
head switch times are comparable to
short seek times
LBA
logical block addressing
disk interface presents the disk as a linear array of blocks
CHS
cylinder, head, sector
zoning
more sectors on larger tracks