Grokking Operating Systems and Networking for Backend Engineers
Vote

0% completed

​

Disks: SSDs, Hard Drives and Network Volumes

On a cloud virtual machine, one program read random 4 KB blocks from its disk, one at a time, and managed 8,555 reads per second, each taking 0.12 ms on average. A second run kept 16 reads in flight at once. The rate rose by only 10 percent, to 9,388 reads per second, while the average read now took 1.71 ms, fourteen times longer.

Nothing was wrong with the disk. It had reached a limit that the cloud provider sets, and past that limit, extra concurrency turns into waiting.

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content