Question
An application loads 100 libraries at startup. Loading each library requires exactly one disk access. The seek time of the disk to a random location is given as 10 ms. Rotational speed of disk is 6000 rpm. If all 100 libraries are loaded from random locations on the disk, how long does it take to load all libraries? (The time to transfer data from the disk block once the head has been positioned at the start of the block may be neglected.)
Official answer and solution
- Official answer
- B
- From
- Official GATE 2011 answer key
Solution
Calculate the average disk access time per library and multiply by 100 libraries.
- Given seek time to a random cylinder = .
- Rotational speed = 6000 rpm. The time for one full rotation is:
- The average rotational latency is half of one full rotation:
- Neglecting transfer time, total time per disk access is:
- For 100 independent random library loads:
B
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2011 Computer Science and Information Technology (CS)
- Question
- 44 of 65, printed as CS Q.44
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.