Professional Documents
Culture Documents
When the disk read operation is complete, the disk controller will
generate an interrupt
Input/Output mechanism
Mechanism 1:
The CPU generates an I/O command to the I/O devices
Wait until the I/O operation is complete and continue
processing
Mechanism 2:
The CPU generates an I/O command to the I/O devices
Continue processing until an interrupt is received from the I/O
device indicating that having finished input/output
The CPU pauses the current processing to switch to the
interrupt handler
Mechanism 3: DMA
DMA mechanism (Direct Memory
Access)
The scheduling algorithm to move the reader
The algorithm will move the reader in the correct order to the
order of the blocks to be read
Order of blocks to read: 98, 183, 37, 122, 14, 124, 65, and 67.
Reader is in position 53