Consider the following disc Queue with requests for I/O to block on cylinders: 45, 81, 185, 33, 175, 99, 150, 77 (Consider that the head starts from location 58)
What will be the total head movement of cylinders for the SSTF disc Scheduling technique ?
The correct answer is
177
Understanding the SSTF Disc Scheduling Technique
The Shortest Seek Time First (SSTF) algorithm is a disk scheduling method designed to minimize the total seek time. It selects the request that is closest to the current head position first.
Calculating Total Head Movement with SSTF
We need to calculate the total movement of the disk head based on the given requests and the starting position using the SSTF algorithm.
The total head movement for the SSTF disc scheduling technique, starting from cylinder 58 and servicing the requests {45, 81, 185, 33, 175, 99, 150, 77}, is 177 cylinders.
Was this answer helpful?
Important Questions from Disk Scheduling
Which of the following is the time taken to move an access arm to a certain track on a disk?