Question 2
Disk requests come into the disk driver for cylinders 100, 175, 51,
133, 8, 140, 73, 77 in that order.
Assume that the disk has 200 cylinders (0-199).
A seek takes 1 ms per cylinder moved. Show/illustrate how these
cylinders will be serviced and
compute the average seek time for the request sequence given above
for:
2.1 FCFS
2.2 SSTF
2.3 SCAN
2.4 LOOK
2.5 C-SCAN
2.6 C-LOOK
You are required to draw/illustrate using graphs how these
strategies will service the track
requests.
In all the cases, the arm is initially at cylinder 63 (Ignore
rotational time and transfer time).
Calculate the total seek time for each strategy. You can also
calculate the average seek time.
Solution:
Explanation:
I have explained each and every part with the help of images attached to it.
Get Answers For Free
Most questions answered within 1 hours.