Disk Scheduling: Seek Time

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 11

Disk scheduling

Seek time
Disk service requires that R/W head should be moved
to the desired track and wait until the desired sector
rotates under the R/W head.
• 4 common algorithms:
1. FCFS
2. SSTF
3. SCAN
4. C-SCAN
• In addition:
1. LOOK
2. C-LOOK
3. N-STEP SCAN
4. FSCAN
1. FCFS (200…..0 to 199)
2. SSTF Scheduling
3. SCAN Scheduling
4. C-SCAN Scheduling
5. LOOK Scheduling
6. C-LOOK Scheduling
7. N-STEP Scan Scheduling
8. FSCAN Scheduling
FSCAN Scheduling: In FSCAN Scheduling is modification of SCAN scheduling which
eliminate the possibility of indefinitely postponing requests. This strategy uses two
sub-queues. When a scan begins, all of the requests are in one of the queues, with
the other empty. During the scan, all new requests are put into the other queue.
Thus, service of new requests is deferred until all of the old requests have been
processed. FSCAN uses the SCAN strategy to service only those requests waiting
when a particular sweep begins (the “F” stands for “freezing” the request queue at a
certain time).
• Suppose request 170 arrives after 146 is
processed and request 50 arrives after 60 is
processed, the seek pattern under FSCAN
strategy is shown in figure

You might also like