LedgerMath
← All benchmarksHow disk_read_sequential works

Sequential disk read

disk_read_sequential · compared across machine types · 11 Series on 8 machine types · AWS us-east-2

CPU
Disk
Order
CompareMachineVariantP50P99RateUnit costRuns
i4i.2xlarge7.134 µs—1.148 GB/s$0.597 /GB/s·h89
i4g.2xlarge7.761 µs—1.056 GB/s$0.585 /GB/s·h4
m6id.2xlarge12.98 µs—631.0 MB/s$0.752 /GB/s·h1
Compared:m6id.2xlargei4g.2xlargei4i.2xlarge

Run-to-run spread

time per 8 KiB pread across counted Runs

Over time

newest counted Runs, time per 8 KiB pread

(one request each to the data API)

What this measures

Reading a file front to back the way a program does, on one thread: buffered preads of request_bytes with the kernel's stock readahead, the kernel asked first to drop each sample's region from the page cache. It is a cold read when the eviction worked, which each Run records, where it can count them, as each sample's resident pages.

What it does not measure

  • A sample is not known to be cold.
  • On both disks seen, the device's read requests over the measuring averaged about 128 KiB (its read sectors over its reads, other I/O included), against 8 KiB calls; the figure is built from means over the calls, not from the latency of one device request.
  • In the Runs examined readahead kept one or two requests in flight (see "Findings"), so it is not the disk's throughput at a deep queue; reads kept in flight at depth are disk_read_io_uring's.

The whole method, on its page →

i4i.2xlarge · instance store

Beat this hot path on GitHub ↗