3 ms·
> So sequential I/O is perhaps half-dead; there's no need to optimize layouts for sequential reads any more. Yes and no. Large contiguous IOs are still faster
by loeg 4y ago
> So sequential I/O is perhaps half-dead; there's no need to optimize layouts for sequential reads any more.
Yes and no. Large contiguous IOs are still faster to read than a bunch of random small sectors. You generally want your frequently read files/blobs to be split into as few operations as possible.
https://dl.acm.org/doi/abs/10.1145/3477132.3483593 https://dl.acm.org/doi/abs/10.1145/3477132.3483593
- kevincox 4y agoThis bears a strong resemblance to RAM and caches where cache lines are relatively large so you want to optimize your algorithms to touch as few "cache lines" as possible. So even in RAM random IO is slower than sequential IO.
- loeg 4y agoYeah. Causing additional page accesses can also be expensive due to the TLB impact.