A disk-block cache has the plotted miss rates. Cache read latency is 1 ms and disk read latency 10 ms. Checking presence is negligible. Available sizes are multiples of 10 MB. Find the smallest size giving average latency below 6 ms.
For miss probability m, average service latency is $1(1-m)+10m=1+9m$. Requiring it below 6 gives m<5/9≈0.5556. The graph gives m=0.60 at 20 MB and 0.40 at 30 MB. Thus 20 fails and 30 succeeds with 4.6 ms; minimum 30 MB.
More File Systems and Disk Performance questions
GATE 2017 CS (CS2) Q18– Which file-allocation schemes can be used when external fragmentation is not allowed? I:…
GATE 2012 CS (CS1) Q51– A 300 GB disk uses file descriptors with eight direct block addresses, one indirect and…
GATE 2013 CS (CS1) Q39– A disk has sixteen surfaces, 16384 cylinders and 64 sectors per surface in a cylinder,…
GATE 2011 CS (CS1) Q54– Loading 100 application libraries requires one disk access each. Seek time is 10 ms and…
GATE 2026 CS (CS1) Q59– Consider a hard disk with a rotational speed of 15000 rpm. The time to move the read/write…
GATE 2026 CS (CS2) Q53– To keep track of free blocks in a file system, the linked-list approach is used. The disk…