GATE / CS ARCHIVE

GATE CSE 2011 / QUESTION 44

Random library loads and disk latency

Operating Systems · I/O & Disk Scheduling · Full GATE CSE 2011 paper

GATE 2011, Q44 2 marks · MCQ
Not in GATE 2027 syllabusReport issue

I/O & Disk Scheduling

Question 44, GATE 2011: An application loads 100 libraries at startup. Each takes one disk access to a random location. Average seek time is 10 ms and rotational speed is 6000 rpm. Neglect data-transfer time once positioned at the block. What is the expected total load time?

(A) 0.50 s
(B) 1.50 s
(C) 1.25 s
(D) 1.00 s
Tap to enlarge
Your answer
Answer & solution

Official answer: B

At 6000 rpm the disk makes 100 revolutions per second, so one revolution lasts 10 ms. Random angular position gives an average rotational latency of 5 ms. Each library requires one access with 10 ms seek time plus 5 ms average rotational latency; transfer time is neglected. The total expected loading time is 100×15 ms=1500 ms=1.50 s, option B. The random-location wording calls for average rotational latency, not a full revolution per access.

Convert rpm to revolutions per second before computing time: 6000/60=100. Uniform random angular placement means the desired sector can be anywhere from just under the head to nearly a full revolution away, averaging half a turn. Seek and rotational wait occur for each of the 100 distinct accesses, so both contributions must be counted 100 times. The expected seek total is 1 second and expected rotation total is 0.5 second; ignoring either would select an incorrect smaller answer.

Original paper, page 11 · Answer key