LedgerMath
← All benchmarksHow disk_read_random works

Random disk read

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

CPU
Disk
Order
CompareMachineVariantP50P99RateUnit costRuns
m6id.2xlargeinstance store90.42 µs—90.60 MB/s$0.429 /10k IOPS·h1
i4i.2xlargeinstance store121.3 µs—67.55 MB/s$0.827 /10k IOPS·h89
i4g.2xlargeinstance store124.2 µs—65.93 MB/s$0.768 /10k IOPS·h4
c8g.2xlargeroot volume574.4 µs—14.26 MB/s$1.83 /10k IOPS·h4
c8a.2xlargeroot volume576.7 µs—14.21 MB/s$2.49 /10k IOPS·h89
i4g.2xlargeroot volume580.2 µs—14.12 MB/s$3.59 /10k IOPS·h4
m5.largeroot volume582.7 µs—14.06 MB/s$0.564 /10k IOPS·h91
i4i.2xlargeroot volume587.1 µs—13.95 MB/s$4 /10k IOPS·h89
m6id.2xlargeroot volume587.4 µs—13.95 MB/s$2.79 /10k IOPS·h1
c6i.8xlargeroot volume587.4 µs—13.95 MB/s$7.99 /10k IOPS·h89
c8i.2xlargeroot volume636.6 µs—12.87 MB/s$2.35 /10k IOPS·h89
Compared:m5.large · root volumem6id.2xlarge · instance storec8g.2xlarge · root volume

Run-to-run spread

time per read across counted Runs

Over time

newest counted Runs, time per read

(one request each to the data API)

What this measures

The latency of one O_DIRECT read of request_bytes from a disk, on one thread, with no other read of the binary's outstanding: from the root EBS volume, or from the instance's own NVMe disk on the instance types that have one.

What it does not measure

  • A Run's figure is a median of means, not a tail.
  • One read of the binary's is outstanding at a time, so it is not a disk under load. Reads kept in flight are disk_read_io_uring's.
  • With disk root_volume the set reads the root EBS volume, not the instance's own disk: an EBS figure, whose volume type, size and provisioned IOPS and throughput are AWS's record in each boot's dump section ec2_volumes.

The whole method, on its page →

c8g.2xlarge · root volume

No excerpt for these settings: read the benchmark's source on GitHub ↗

Configuration

  • benchmarkdisk_read_random
  • buildstatic
  • instancec8g.2xlarge
  • regionus-east-2
  • azuse2-az3
  • params.dir/var/tmp/ledgermath/disk
  • params.diskroot_volume
  • params.request_bytes8192
  • params.span_bytes1073741824

Beat this hot path on GitHub ↗