Suppose that a disk drive has 300 cylinders, numbered 0 to 299. The drive is currently serving
Fantastic news! We've Found the answer you've been seeking!
Question:
Suppose that a disk drive has 300 cylinders, numbered 0 to 299. The drive is currently serving a request at cylinder 143, and the previous request was at cylinder 15. The queue of pending requests, in FIFO order, is 86, 147, 291, 18, 95, 151, 12, 175, 30. Starting from the current head position, what is the total distance (in cylinders) that the disk arm moves to satisfy all the pending requests, for each of the following disk-scheduling algorithms?
a. FCFS
b. SSF
c. Elevator algorithm
Related Book For
Posted Date: