![]() |
| Home | MIT | Expressions | OS ASSIGNMENTS| BIOGRAPHY | Friends | Photo Gallery | Search | Write for us | Contact Us | About Me |
|
D I S K S C H E D U L I N G A L G O R I T H M
|
||||||||||||||||||||||||||||
| Q : Disk requests come into the disk drivers called cylinders 10,22,20,2,40,6 and 38 in that | ||||||||||||||||||||||||||||
| order. A seek takes 6 msec. per cylinder moved. how much seek time is needed for | ||||||||||||||||||||||||||||
| 1) FCFS , 2) Closest Cylinder Next , 3) Elevator Algorithm (intially moving upward). | ||||||||||||||||||||||||||||
| In all cases the arm is intialised at the cylinder 20. | ||||||||||||||||||||||||||||
| Solution : | ||||||||||||||||||||||||||||
| 1) F i r s t C o m e F i r s t S e r v e (FCFS) | ||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
|
2) C l o s e s t C y l i n d e r N e x t |
||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
|
3) E l e v a t o r A l g o r i t h m |
||||||||||||||||||||||||||||
|