CS FundamentalsVery hardGATE CS
A disk spins at 7200 RPM, has an average seek of 6 ms and 500 sectors of 512 bytes per track. A 1 MB file is read as 256 blocks of 4 KB, each stored at a random location (each needs a full average seek and rotational delay). About how long does reading it take?
- A. 1.10 s
- B. 2.64 s
- C. 1.57 s
- D. 3.70 s
Correct answer: B. 2.64 s
One rotation is 8.33 ms, so per block: 6 + 4.17 (half rotation) + 8/500 × 8.33 = 0.13 ms transfer ≈ 10.3 ms; × 256 ≈ 2.64 s. 1.10 s drops the seek, 1.57 s drops rotational delay, and 3.70 s uses a full rotation. Stored contiguously the file would take only about 44 ms.
More Operating Systems questions
- A Unix-style inode has 12 direct pointers, one single-indirect and one double-indirect pointer; blocks are 4 KB and block pointers 4…
- Six 4 TB disks are to be combined. Which layout survives ANY two simultaneous disk failures, and what usable capacity does it give?
- A 1 MB region uses the buddy system. Requests arrive for A = 70 KB, B = 35 KB and C = 80 KB. What is the total internal fragmentation, and…
- Free holes, in address order, are 150, 400, 250, 600 and 300 KB. Requests for 280, 200, 350 and 290 KB arrive in that order. Which…
- A segment table has: segment 0 base 1200, limit 500; segment 1 base 3000, limit 150; segment 2 base 800, limit 300. Which logical address…
- A process with 100 private writable pages calls fork() and the system uses copy-on-write; a page is copied only if it is still shared when…