Write memory
memory_write · compared across machine types · 16 Series on 8 machine types · AWS us-east-2
CPU
Order
Order
| Compare | Machine | Variant | P50 | P99 | Rate | Unit cost | Runs |
|---|---|---|---|---|---|---|---|
| c8a.2xlarge | 32.45 ms | — | 33.09 GB/s | $0.013 /GB/s·h | 89 | ||
| c8g.2xlarge | 37.64 ms | — | 28.53 GB/s | $0.0111 /GB/s·h | 4 | ||
| i4g.2xlarge | 57.21 ms | — | 18.77 GB/s | $0.0329 /GB/s·h | 4 | ||
| c8i.2xlarge | 60.81 ms | — | 17.66 GB/s | $0.0206 /GB/s·h | 89 | ||
| c6i.8xlarge | 92.98 ms | — | 11.55 GB/s | $0.117 /GB/s·h | 89 | ||
| i4i.2xlarge | 94.87 ms | — | 11.32 GB/s | $0.0611 /GB/s·h | 89 | ||
| m6id.2xlarge | 95.47 ms | — | 11.25 GB/s | $0.0422 /GB/s·h | 1 | ||
| m5.large | 107.5 ms | — | 9.990 GB/s | $0.00947 /GB/s·h | 91 |
Compared:m5.largec8g.2xlargec8i.2xlarge
Run-to-run spread
time per 1 GiB pass across counted RunsOver time
newest counted Runs, time per 1 GiB pass(one request each to the data API)
What this measures
How fast a buffer is written, front to back or in random order, one 64-byte element at a time (two 32-byte AVX2 stores, then a read of the element's last word), by one thread or by one pinned thread per allowed CPU.
What it does not measure
- Each element's last 8-byte word is read back right after the element is written, so a repetition is not stores alone.
- The stores are ordinary AVX2 stores, not non-temporal ones, so each line written is first read into the cache (a read for ownership) unless the processor avoids it.
randomalso reads the shuffled order front to back, 8 bytes per element, during each repetition. Withthreadsall, each thread's order covers only its own slice: the writes are random within a slice, not across the buffer.
Code & config
Benchmark docsSeries JSONc8i.2xlarge · sequential
No excerpt for these settings: read the benchmark's source on GitHub ↗
Configuration
- benchmarkmemory_write
- buildstatic
- instancec8i.2xlarge
- regionus-east-2
- azuse2-az3
- params.ordersequential
- params.size_bytes1073741824
- params.threads1