Assume that the initial position of the R/W head is on track . The additional distance that will be traversed by the R/W head when the Shortest Seek Time First (SSTF) algorithm is used compared to the SCAN (Elevator) algorithm (assuming that SCAN algorithm moves towards when it starts execution) is________________tracks.
View worked solution
Answer: 10
To find the additional distance traversed by the R/W head using the SSTF algorithm compared to the SCAN algorithm, we calculate the total head movements for both.
1. Shortest Seek Time First (SSTF) Algorithm:
Starting at track , the head always moves to the nearest pending request:
- (distance: )
- (distance: )
- (distance: )
- (distance: )
- (distance: )
2. SCAN (LOOK) Algorithm:
Starting at and moving towards , the head services requests in that direction up to the last request (), then reverses direction to service the remaining requests down to :
- (distance: )
- (distance: )
3. Difference:
Free practice · Your answers on this page are not saved.
