GATE / CS ARCHIVE

GATE CSE 2003 / QUESTION 25

File-system block-size tradeoff

Operating Systems · File Systems · Full GATE CSE 2003 paper

GATE 2003, Q25 1 mark · MCQ
Report issue

File Systems

Question 25, GATE 2003: In the conventional comparison for a fixed-block-size file system, increasing block size leads to: A. Better disk throughput but poorer space utilization; B. Better throughput and better utilization; C. Poorer throughput but better utilization; D. Poorer throughput and poorer utilization.
Tap to enlarge
Your answer
Answer & solution

Answer: A (no official key was published)

1. Reading a larger contiguous block transfers more useful bytes per seek or setup cost for a sequential workload. But the last block of a file is allocated in full even when only partly used; increasing the allocation unit can increase this internal slack. These effects explain the conventional throughput/utilization tradeoff.

2. Larger blocks amortize per-I/O overhead across more bytes, often improving sequential disk throughput, but waste more unused space in partially occupied final blocks. Thus better throughput with poorer space utilization, A, under the conventional workload comparison. It is not a universal guarantee for every random-access workload.

Original paper, page 3