130
  • File allocation: contiguous (fast, fragmentation), linked (no fragmentation, slow random access), indexed (index block holds pointers, e.g. inodes).
  • Disk access time = seek time + rotational latency + transfer time.
AlgorithmIdea
FCFSServe requests in arrival order
SSTFShortest seek time first (nearest track)
SCAN (elevator)Move to one end serving requests, then reverse
C-SCANServe in one direction only, jump back to the start
LOOK / C-LOOKLike SCAN / C-SCAN but turn at the last request, not the disk end