Q27: Granularity of disk access

Question #27: File systems perform read/write from disk in a granular manner, usually in chunk of a block which is several hundred bytes. Why do you think file systems do not simply access at the granularity of bytes?

Options:

A) It will be inefficient, as metadata needs to be stored.

B) It is just a norm that is followed for compatibility.

C) Disk read/writes are generally slow. The more data you read/write in a single go, the faster it is.

D) Because file sizes are usually big. So, block size is kept bigger than a byte for efficiency.

Solution: The correct answer is C. If you read 1000 bytes, byte by byte, it will be much slower than if you read 2 blocks of 500 bytes each.