Let disk request come to a disk driver for cylinders in the order 10, 22, 20, 2, 40, 6 and 38, at the time when the disk driver is reading from cylinder 20. If the seek time is 6 ms per cylinder, then the total seek time for the disk arm scheduling time algorithm (FCFS - First Come First Serve) is:
Let disk request come to a disk driver for cylinders in the order 10, 22, 20, 2, 40, 6 and 38, at the time when the disk driver is reading from cylinder 20. If the seek time is 6 ms per cylinder, then the total seek time for the disk arm scheduling time algorithm (FCFS - First Come First Serve) is: Correct Answer 876 ms
Data:
Seek time = t = 6 ms per cylinder
Head = 20
Concept:
Since, it is a first-come-first-serve scheduling requests will be served in the given sequence:
10, 22, 20, 2, 40, 6 and 38
[ alt="F1 R.S Pallavi 07.11.2019 D 2" src="//storage.googleapis.com/tb-img/production/19/11/F1_R.S_Pallavi_07.11.2019_D%202.png" style="width: 324px; height: 280px;">
Formula:
Total Seek time = total head movement × t
Calculation:
Total head movement = (20 - 10) + (22 - 10) + (22 - 2) + (40 - 2) + (40 - 6) + (38 - 6) =
= 10 + 12 + 20 + 38 + 34 + 32 = 146
Total Seek time = 146 × 6 = 876 ms.