next up previous
Next: About this document Up: No Title Previous: Implementing file sharing

Scheduling of disk accesses

Servicing requests to read/write data from/to disk. Intention is to order pending requests with respect to present position on disk, to minimise seek and/or latency times (see scheduling in processes/CPU).

  figure250
Figure 11: Disk Scans

For Scans : Request queue : 98, 183, 37,122,14,124,65,67 (FIFO)
When handling request 14, new requests arrive for 50, 70, 100 (long delay before 183 is serviced) (SSTF)
Head starts at 53 ; direction towards 0 (Scan)
Requests 80, 140 arrive when head moving outwards (N-Step Scan)
Head starts at 53; direction outwards (C Scan)

  figure257
Figure: Disk Scans



Omer F Rana
Sat Feb 15 19:06:41 GMT 1997