homework_8_12.2 Version 0 |
|
👤 Author: by houge1993foxmailcom 2017-12-27 16:10:00 |
Textbook 12.2
Solution:
a. The FCFS schedule is 143, 86, 1470, 913, 1774, 948, 1509, 1022, 1750, 130. The total seek distance is 7081.
b. TheSSTF scheduleis143,130,86,913,948,1022,1470,1509,1750, 1774. The total seekdistance is 1745.
c. The SCAN schedule is 143, 913, 948, 1022, 1470, 1509, 1750, 1774, 4999, 130, 86. The total seek distance is 9769.
d. The LOOK schedule is 143, 913, 948, 1022, 1470, 1509, 1750, 1774, 130, 86. The total seek distance is 3319.
e. The C-SCANscheduleis143,913,948,1022,1470,1509,1750,1774, 4999, 86, 130. The total seek distance is 9813.
f. (Bonus.) The C-LOOK schedule is 143, 913, 948, 1022, 1470, 1509, 1750, 1774, 86, 130. The total seek distance is 3363.