Consider a disk system with cylinders. The request to access the cylinders occurs in the following sequence: 4, 34, 10, 7, 19, 73, 2, 15, 6, 20 Assuming that the head is currently at cylinder 50 , what is the time taken to satisfy all requests if it takes 1 ms to move from one cylinder to adjacent one and shortest seek time first policy is used?
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: A. 119 ms
Explanation
From 50: 34 (16), 20 (14), 19 (1), 15 (4), 10 (5), 7 (3), 6 (1), 4 (2), 2 (2), then 73 (71). Total = 119 cylinders × 1 ms = 119 ms.
More System Software and Operating System questions
- How many page faults will be encountered?
- What is fault ratio of row major to column major arrangements ?
- What is the main memory hit ratio?
- Model of protection can be viewed as
- Process in memory also contain the heap section. What is the use of heap section?
- How many page faults occur for optimal algorithm for the following reference string, with four frames? 1, 2, 3, 4, 5, 3, 4, 1, 6, 7, 8, 7, 8