Disk write
disk_write · compared across machine types · 19 Series on 8 machine types · AWS us-east-2
CPU
Disk
Sync
Order
| Compare | Machine | Variant | P50 | P99 | Rate | Unit cost | Runs |
|---|---|---|---|---|---|---|---|
| c8a.2xlarge | root volumenone | 683.8 ns | — | 11.98 GB/s | — | 89 | |
| c8g.2xlarge | root volumenone | 870.8 ns | — | 9.407 GB/s | — | 4 | |
| c8i.2xlarge | root volumenone | 1.241 µs | — | 6.601 GB/s | — | 89 | |
| c6i.8xlarge | root volumenone | 1.474 µs | — | 5.559 GB/s | — | 89 | |
| i4i.2xlarge | root volumenone | 1.482 µs | — | 5.528 GB/s | — | 89 | |
| m6id.2xlarge | root volumenone | 1.497 µs | — | 5.473 GB/s | — | 1 | |
| i4g.2xlarge | root volumenone | 1.670 µs | — | 4.905 GB/s | — | 4 | |
| m5.large | root volumenone | 2.615 µs | — | 3.133 GB/s | — | 91 | |
| i4i.2xlarge | instance storefdatasync | 30.08 µs | — | 272.3 MB/s | $0.209 /10k IOPS·h | 89 | |
| m6id.2xlarge | instance storefdatasync | 31.68 µs | — | 258.6 MB/s | $0.15 /10k IOPS·h | 1 | |
| i4g.2xlarge | instance storefdatasync | 31.95 µs | — | 256.4 MB/s | $0.197 /10k IOPS·h | 4 | |
| c8g.2xlarge | root volumefdatasync | 898.4 µs | — | 9.118 MB/s | $2.86 /10k IOPS·h | 4 | |
| c8a.2xlarge | root volumefdatasync | 900.1 µs | — | 9.101 MB/s | $3.88 /10k IOPS·h | 89 | |
| i4g.2xlarge | root volumefdatasync | 908.3 µs | — | 9.019 MB/s | $5.61 /10k IOPS·h | 4 | |
| m5.large | root volumefdatasync | 910.3 µs | — | 8.999 MB/s | $0.882 /10k IOPS·h | 91 | |
| c6i.8xlarge | root volumefdatasync | 912.0 µs | — | 8.982 MB/s | $12.4 /10k IOPS·h | 89 | |
| i4i.2xlarge | root volumefdatasync | 912.2 µs | — | 8.980 MB/s | $6.27 /10k IOPS·h | 89 | |
| m6id.2xlarge | root volumefdatasync | 913.6 µs | — | 8.967 MB/s | $4.34 /10k IOPS·h | 1 | |
| c8i.2xlarge | root volumefdatasync | 980.5 µs | — | 8.355 MB/s | $3.73 /10k IOPS·h | 89 |
Compared:m5.large · root volume · fdatasyncc8g.2xlarge · root volume · nonem6id.2xlarge · instance store · fdatasync
Run-to-run spread
time per write across counted RunsOver time
newest counted Runs, time per write(one request each to the data API)
What this measures
What a buffered pwrite of request_bytes costs, on one thread, one write at a time: followed by fdatasync (the time until the device has the data) or by nothing (the buffered write alone). How the kernel and the device make the data durable is theirs, not the binary's; where the binary could read them, each Run observes the disk's write cache and FUA support.
What it does not measure
- With
syncnone, the measured loop callspwritealone and asks for nothing to be made durable: the figure is the time of a buffered write, whatever the kernel made that call wait for. - The binary only calls
fdatasync; how the kernel and the device make the write durable is theirs. - The scratch file is written in full before measuring, so the measured writes overwrite blocks that are already allocated. Writes that allocate blocks are not measured.
Code & config
Benchmark docsSeries JSONm6id.2xlarge · instance store · fdatasync
No excerpt for these settings: read the benchmark's source on GitHub ↗
Configuration
- benchmarkdisk_write
- buildstatic
- instancem6id.2xlarge
- regionus-east-2
- azuse2-az3
- params.dir/mnt/lm/instance-store
- params.diskinstance_store
- params.file_bytes1073741824
- params.request_bytes8192
- params.syncfdatasync