Professional Documents
Culture Documents
Disk Scheduling:
In case of multiple I/O request disk scheduling
algorithm must decide which request must be
executed first.
Disk Scheduling Algorithm:
Advantage:
o Easy to understand
o Easy to implement
o It can be used with less load of process
Disadvantage :
Example :
Answer:
= 202(Move).
0 12 14 25 34 39 52 53 68 80 90
SSTF(Shortest Seek Time First)
Advantage:
Disadvantage :
o Overhead to find out the closet requirement
.
Example :
Answer:
=97(MOVES).
0 12 14 25 34 39 52 53 68 80 90
SCAN
Disadvantage :
o Long waiting time for location just visited
by head.
Example :
Answer:
=115(MOVES).
0 12 14 25 34 39 52 53 68 80 90
C-SCAN
Disadvantage :
o More Risk ,compare to simple Scan
Algorithm
Example :
Answer:
=179(MOVES).
0 12 14 25 34 39 52 53 68 80 90
LOOK
Advantage:
.
• Better performance compare to scan
algorithm
Disadvantage :
Answer:
=71(MOVES).
0 12 14 25 34 39 52 53 68 80 90
C-LOOK
Disadvantage :
Example :
Answer:
0 12 14 25 34 39 52 53 68 80 90
0 12 14 25 34 39 52 53 68 80 90