Disk_IO_v3
Disk_IO_v3
Block size
Disk Scheduling
• The operating system is responsible for using
hardware efficiently
– for the disk drives, this means having a fast
access time
• Note that drive controllers have small buffers and can manage a queue of I/O
requests (of varying “depth”)
• Several algorithms exist to schedule the servicing of disk I/O requests
Head pointer 53
FCFS
Illustration shows total head movement of 640 cylinders
SSTF
• Shortest Seek Time First selects the request
with the minimum seek time from the
current head position
– Close to the current disk head
SSTF
A UNIX i-node.
Disk Management
• Low-level formatting, or physical formatting — Dividing a
disk into sectors that the disk controller can read and
write
– Each sector can hold header information, plus data, plus error
correction code (ECC)
– Usually 512 bytes of data but can be selectable
– Logical to physical address map