GATE / CS ARCHIVE

SIMILAR QUESTIONS / COMPUTER ORGANIZATION & ARCHITECTURE

Sum seek, rotation and sector transfer time

4 questions solved the same way, newest first. Back to Computer Organization & Architecture

How these are solved

Convert RPM into a revolution period, use expected half-rotation latency, and add the requested seek and transfer terms. 2015 S1 and 2024 S2 repeat independent sector accesses;

2 marks · NAT
Not in GATE 2027 syllabusReport issue

Expected disk seek, rotation and transfer time

Secondary Storage

Question 59, GATE 2026: A disk rotates at 15000 rpm, has 400 sectors per track and 1024 bytes per sector, and takes 1 ms per adjacent-track move. Starting at track 0, read ten randomly located sectors on each of tracks 5,12,7 in that order. Find the total time to one decimal place, under the published key’s expected-latency convention.
Tap to enlarge
Answer & solution

Official answer: 77.3

Givens and goal

A disk rotates at 15000 rpm, has 400 sectors per track and 1024 bytes per sector, and takes 1 ms per adjacent-track move. Starting at track 0, read ten randomly located sectors on each of tracks 5,12,7 in that order. Find the total time to one decimal place, under the published key’s expected-latency convention.

Approach

Calculate seek time, expected rotational waiting, and actual sector transfer time separately, then add them without double counting.

Step-by-step solution

1. Convert rotation speed to period. A minute is 60000 ms, so one revolution takes 60000/15000=4 ms.
2. The required track movements are |5−0|=5, |12−5|=7 and |7−12|=5. At 1 ms per adjacent move, total seek time is (5+7+5)·1=17 ms. There is no additional seek between sectors on the same track.
3. Under independent uniform rotational positions for successive accesses, average wait to the requested sector is half a revolution, 4/2=2 ms. There are 3·10=30 sector accesses, so the expected rotational wait is 30·2=60 ms.
4. One sector occupies 1/400 of a revolution and takes 4/400=0.01 ms to transfer. Thirty sectors take 0.30 ms. Equivalently, the transfer rate is (400·1024)/4=102400 bytes/ms and the total data is 30·1024=30720 bytes, giving the same 0.30 ms.
5. Add the components: 17+60+0.30=77.30 ms. Rounded to one decimal, the official result is 77.3 ms.

CS-2026-S1-Q59-EXPECTED. This is an expected time under the independent random-angle access model, not an exact elapsed duration fixed by unspecified sector locations. Reordering reads by rotational position or batching nearby sectors would require a different model. The source says “total time” without explicitly saying expected, so the published interval 77.3 to 77.3 is preserved with this qualification.

Original paper, page 44 · Answer key

2 marks · NAT
Not in GATE 2027 syllabusReport issue

Asked again GATE 2015 Set 1, Q54 (different numbers)

Average time for randomly located disk sectors

Secondary Storage

Question 53, GATE 2024: A disk rotates at 6000 RPM, has average seek time 5 ms, 500 sectors/track, and 512 bytes/sector. A file occupies 3000 randomly located sectors. Using average rotational latency, estimate total read time in seconds to two decimals.
Tap to enlarge
Answer & solution

Official answer: 29.50 to 30.50

Our answer: 30.06

Approach: For each random sector add average seek, half a revolution, and one-sector transfer time.

1. Derivation. At6000RPM one revolution takes 60/6000=0.01s=10ms. Mean rotational latency is 5ms; one of 500 sectors transfers in 10/500=0.02ms. Using a separate average seek and rotational wait for each randomly placed sector gives 3000×(5+5+0.02)ms=30060ms=30.06s. This is an average random-read estimate, not a guaranteed realized time; cache, scheduling and correlated sector positions are not modeled.

2. Explanation and checks. At 100 revolutions/s the entire track passes in 0.01 seconds. A sector is 1/500 of that track, so its transfer time is 0.00002 seconds. The sector byte count cancels if transfer speed is computed as 500×512 bytes per revolution and divided into a 512-byte request. Because locations are random, the intended model charges seek and rotation for every sector rather than only once for a contiguous file. The derived 30.06 lies inside the preserved official acceptance range 29.50–30.50.

Original paper, page 37 · Answer key

2 marks · NAT
Not in GATE 2027 syllabusReport issue

Asked again GATE 2024 Set 2, Q53 (different numbers)

Secondary Storage

Question 54, GATE 2015: Disk seek=4 ms, rotation=10000 RPM, 600 sectors/track, 512 bytes/sector. File has 2000 sectors. Every sector access needs a seek and average half-rotation latency. Find total read time in ms.
Tap to enlarge
Answer & solution

Official answer: 14020

Convert RPM carefully: 10000 revolutions take 60000 ms, so each revolution lasts 6 ms. Half is 3 ms; one of 600 sectors occupies 6/600=0.01 ms of rotation. The stipulated independent per-sector cost is 4+3+0.01=7.01 ms, so the file costs 14020 ms. Assuming sequential sectors share one seek would ignore the explicit premise; 512-byte size is unnecessary once sectors per rotation is known.

Solution: A rotation takes 60000/10000=6ms, so average rotational latency is 3ms. One sector transfer takes 6/600=0.01ms. With a fresh 4ms seek for every sector as stipulated, 2000 sectors take 2000*(4+3+0.01)=14020ms.

Original paper, page 20 · Answer key

2 marks · NAT
Not in GATE 2027 syllabusReport issue

Secondary Storage

Question 42, GATE 2015: Disk 15000 RPM, transfer 50×10^6 bytes/s. Average seek is twice average rotational delay; controller transfer time is 10 times disk transfer time. Find total average read/write time for 512 bytes in ms.
Tap to enlarge
Answer & solution

Official answer: 6.1 to 6.2

Our answer: 6.11264

A revolution takes 60000/15000=4 ms, hence average rotational delay 2 ms and seek 4 ms. Disk transfer is 512/(50·106)s=0.01024 ms. Controller transfer adds ten times that, 0.1024 ms. Total 4+2+0.01024+0.1024=6.11264 ms, within 6.1 to 6.2.

One revolution takes 60/15000=.004 seconds=4 ms. A uniformly random angular position gives mean rotational waiting of half a revolution, 2 ms, and the stated seek is 4 ms. Transferring 512 bytes at 50 million bytes/s takes.01024 ms; controller work adds.1024 ms. Sum 4+2+.01024+.1024=6.11264 ms. Keep units consistent: confusing seconds with milliseconds or using a full revolution instead of an average half revolution changes the result drastically.

Original paper, page 40 · Answer key