CS FundamentalsVery hardGATE CS
A disk has average seek 8 ms, average rotational latency 4 ms and a sustained transfer rate of 100 MB/s. What is the effective bandwidth for random 4 KB reads and for random 1 MB reads (each read needs one seek and one rotational latency)?
- A. about 3323 KB/s and about 45 MB/s
- B. about 332 KB/s and about 45 MB/s
- C. 100 MB/s for both
- D. about 332 KB/s and 100 MB/s
Correct answer: B. about 332 KB/s and about 45 MB/s
4 KB: 12 ms positioning + 0.04 ms transfer ≈ 12.04 ms, so about 4 KB / 12.04 ms ≈ 332 KB/s. 1 MB: 12 + 10 = 22 ms, so about 1 MB / 22 ms ≈ 45 MB/s. Large transfers amortise positioning cost.
More Operating Systems questions
- A journaling file system in ORDERED mode (like ext4's default) is used. Which statement about a crash is correct?
- A hard link and a symbolic (soft) link both point to file F. F is then deleted with rm F. What happens?
- Why can a hard link not normally point to a directory or to a file on a different file system?
- Path /usr/local/bin/tool is opened on a Unix file system where every directory fits in one block, no inode or block is cached except the…
- A disk has 16 surfaces, 512 cylinders and 64 sectors per track. Sectors are numbered starting at 0, fastest over sectors, then surfaces…
- A disk has 8 platters (both surfaces used), 20,000 tracks per surface, 400 sectors per track on average and 512-byte sectors. What is its…