x86 against Graviton
Intel, AMD and AWS Graviton machines of one size, 2xlarge, on the same operations: raw speed and what it costs.
partial47 of 54 figures live · AWS us-east-2
- No figure: newly scheduled: no box has run it yet
- No figure: not measured on c8a.2xlarge in us-east-2
- No figure: not measured on i4g.2xlarge in us-east-2
SHA-256 of 64 B
One thread| Colour | Setup | Variant | Machine | P50 | Rate | Unit cost | Runs |
|---|---|---|---|---|---|---|---|
| c8i.2xlarge | Intel | c8i.2xlarge | 76.69 ns | 834.5 MB/s | $0.00000798 /1M ops | 89 | |
| i4i.2xlarge | Intel | i4i.2xlarge | 101.2 ns | 632.6 MB/s | $0.0000193 /1M ops | 89 | |
| c8a.2xlarge | AMD | c8a.2xlarge | 58.80 ns | 1.089 GB/s | $0.00000703 /1M ops | 89 | |
| c8g.2xlarge | Graviton | c8g.2xlarge | 88.00 ns | 727.3 MB/s | $0.00000774 /1M ops | 4 | |
| i4g.2xlarge | Graviton | i4g.2xlarge | 112.2 ns | 570.3 MB/s | $0.0000193 /1M ops | 4 |
Sequential memory read, one thread
1 GiB, SIMD| Colour | Setup | Variant | Machine | P50 | Rate | Unit cost | Runs |
|---|---|---|---|---|---|---|---|
| c8i.2xlarge | Intel | c8i.2xlarge | 53.89 ms | 19.93 GB/s | $0.0186 /GB/s·h | 89 | |
| i4i.2xlarge | Intel | i4i.2xlarge | 78.47 ms | 13.68 GB/s | $0.0531 /GB/s·h | 89 | |
| c8a.2xlarge | AMD | c8a.2xlarge | 23.25 ms | 46.18 GB/s | $0.00926 /GB/s·h | 89 | |
| c8g.2xlarge | Graviton | c8g.2xlarge | 35.42 ms | 30.32 GB/s | $0.0105 /GB/s·h | 4 | |
| i4g.2xlarge | Graviton | i4g.2xlarge | 56.14 ms | 19.13 GB/s | $0.0322 /GB/s·h | 4 |
Sequential memory read, all cores
1 GiB, SIMD, every thread| Colour | Setup | Variant | Machine | P50 | Rate | Unit cost | Runs |
|---|---|---|---|---|---|---|---|
| c8i.2xlarge | Intel | c8i.2xlarge | 14.94 ms | 71.88 GB/s | $0.00522 /GB/s·h | 89 | |
| i4i.2xlarge | Intel | i4i.2xlarge | 19.32 ms | 55.57 GB/s | $0.0128 /GB/s·h | 89 | |
| c8a.2xlarge | AMD | c8a.2xlarge | 19.28 ms | 55.69 GB/s | $0.00798 /GB/s·h | 89 | |
| c8g.2xlarge | Graviton | c8g.2xlarge | 7.479 ms | 143.6 GB/s | $0.00199 /GB/s·h | 4 | |
| i4g.2xlarge | Graviton | i4g.2xlarge | 8.809 ms | 121.9 GB/s | $0.00507 /GB/s·h | 4 |
Sequential memory write, all cores
1 GiB, every thread| Colour | Setup | Variant | Machine | P50 | Rate | Unit cost | Runs |
|---|---|---|---|---|---|---|---|
| c8i.2xlarge | Intel | c8i.2xlarge | — | — | — | — | |
| i4i.2xlarge | Intel | i4i.2xlarge | — | — | — | — | |
| c8a.2xlarge | AMD | c8a.2xlarge | — | — | — | — | |
| c8g.2xlarge | Graviton | c8g.2xlarge | — | — | — | — | |
| i4g.2xlarge | Graviton | i4g.2xlarge | — | — | — | — |
Decode bit-packed integers
8-bit integers, a million blocks| Colour | Setup | Variant | Machine | P50 | Rate | Unit cost | Runs |
|---|---|---|---|---|---|---|---|
| c8i.2xlarge | Intel | c8i.2xlarge | 24.30 ns | 42.13 GB/s | $0.00904 /GB/s·h | 89 | |
| i4i.2xlarge | Intel | i4i.2xlarge | 51.68 ns | 19.81 GB/s | $0.0351 /GB/s·h | 89 | |
| c8a.2xlarge | AMD | c8a.2xlarge | 19.83 ns | 51.63 GB/s | $0.00833 /GB/s·h | 89 | |
| c8g.2xlarge | Graviton | c8g.2xlarge | 76.55 ns | 13.38 GB/s | $0.0238 /GB/s·h | 4 | |
| i4g.2xlarge | Graviton | i4g.2xlarge | 96.20 ns | 10.64 GB/s | $0.058 /GB/s·h | 4 |
Sort 1 MiB
One thread| Colour | Setup | Variant | Machine | P50 | Rate | Unit cost | Runs |
|---|---|---|---|---|---|---|---|
| c8i.2xlarge | Intel | c8i.2xlarge | 1.680 ms | 624.0 MB/s | $0.175 /1M ops | 89 | |
| i4i.2xlarge | Intel | i4i.2xlarge | 2.853 ms | 367.6 MB/s | $0.544 /1M ops | 89 | |
| c8a.2xlarge | AMD | c8a.2xlarge | 857.3 µs | 1.223 GB/s | $0.102 /1M ops | 89 | |
| c8g.2xlarge | Graviton | c8g.2xlarge | 1.580 ms | 663.8 MB/s | $0.14 /1M ops | 4 | |
| i4g.2xlarge | Graviton | i4g.2xlarge | 2.832 ms | 370.3 MB/s | $0.485 /1M ops | 4 |
System call: getpid
One call| Colour | Setup | Variant | Machine | P50 | Unit cost | Runs |
|---|---|---|---|---|---|---|
| c8i.2xlarge | Intel | c8i.2xlarge | 60.95 ns | $0.00000636 /1M ops | 89 | |
| i4i.2xlarge | Intel | i4i.2xlarge | 93.25 ns | $0.0000178 /1M ops | 89 | |
| c8a.2xlarge | AMD | c8a.2xlarge | 39.81 ns | $0.00000472 /1M ops | 89 | |
| c8g.2xlarge | Graviton | c8g.2xlarge | 86.70 ns | $0.00000766 /1M ops | 4 | |
| i4g.2xlarge | Graviton | i4g.2xlarge | 120.2 ns | $0.0000206 /1M ops | 4 |
Lock and unlock a mutex
One thread, one idle thread, one CPU| Colour | Setup | Variant | Machine | P50 | Unit cost | Runs |
|---|---|---|---|---|---|---|
| c8i.2xlarge | Intel | c8i.2xlarge | 13.64 ns | $0.00000142 /1M ops | 89 | |
| i4i.2xlarge | Intel | i4i.2xlarge | 18.39 ns | $0.0000035 /1M ops | 89 | |
| c8a.2xlarge | AMD | c8a.2xlarge | 10.20 ns | $0.00000122 /1M ops | 89 | |
| c8g.2xlarge | Graviton | c8g.2xlarge | 17.93 ns | $0.00000158 /1M ops | 4 | |
| i4g.2xlarge | Graviton | i4g.2xlarge | 22.42 ns | $0.00000383 /1M ops | 4 |
Local NVMe: random read, idle
8 KiB, O_DIRECT, queue depth 1| Colour | Setup | Variant | Machine | P50 | P99 | Unit cost | Runs |
|---|---|---|---|---|---|---|---|
| i4i.2xlarge | Intel | i4i.2xlarge | 119.3 µs | 142.3 µs | $0.839 /10k IOPS·h | 5 | |
| i4g.2xlarge | Graviton | i4g.2xlarge | 119.3 µs | 144.4 µs | $0.737 /10k IOPS·h | 4 |
Local NVMe: random read, saturated
4 KiB, io_uring, queue depth 64| Colour | Setup | Variant | Machine | P50 | P99 | Rate | Unit cost | Runs |
|---|---|---|---|---|---|---|---|---|
| i4i.2xlarge | Intel | i4i.2xlarge | 317.4 µs | 477.2 µs | 819.2 MB/s | $0.0343 /10k IOPS·h | 5 +84 failed | |
| i4g.2xlarge | Graviton | i4g.2xlarge | 505.9 µs | 610.3 µs | 512.8 MB/s | $0.0493 /10k IOPS·h | 4 |
S3 Standard GET 4 KiB
Reused connection, same Region| Colour | Setup | Variant | Machine | P50 | P99 | Unit cost | Runs |
|---|---|---|---|---|---|---|---|
| c8i.2xlarge | Intel | c8i.2xlarge | 22.94 ms | 33.42 ms | $0.4 /1M req | 88 | |
| i4i.2xlarge | Intel | i4i.2xlarge | 22.68 ms | 33.82 ms | $0.4 /1M req | 87 | |
| c8a.2xlarge | AMD | c8a.2xlarge | 22.68 ms | 32.38 ms | $0.4 /1M req | 88 | |
| c8g.2xlarge | Graviton | c8g.2xlarge | 22.68 ms | 34.38 ms | $0.4 /1M req | 4 | |
| i4g.2xlarge | Graviton | i4g.2xlarge | 22.68 ms | 35.41 ms | $0.4 /1M req | 4 |
S3 Standard GET throughput
16 MiB objects, 64 connections| Colour | Setup | Variant | Machine | P50 | Rate | Unit cost | Runs |
|---|---|---|---|---|---|---|---|
| c8i.2xlarge | Intel | c8i.2xlarge | 509.6 ms | 1.829 GB/s | $0.205 /GB/s·h | 2 | |
| i4i.2xlarge | Intel | i4i.2xlarge | 591.4 ms | 1.472 GB/s | $0.466 /GB/s·h | 5 | |
| c8a.2xlarge | AMD | c8a.2xlarge | — | — | — | — | |
| c8g.2xlarge | Graviton | c8g.2xlarge | 509.6 ms | 1.825 GB/s | $0.174 /GB/s·h | 4 | |
| i4g.2xlarge | Graviton | i4g.2xlarge | — | — | — | — |
Code & config
Benchmark docsSeries JSONc8i.2xlarge · c8i.2xlarge
404static void sha256_finish_64(void (*compress)(uint32_t state[8], const uint8_t block[64]),405 const uint8_t *data, uint8_t digest[32]) {406 uint32_t state[8];407 memcpy(state, sha256_initial, sizeof(state));408 compress(state, data);// …414 compress(state, pad);// …531static void sha256_ni_digest_64(const uint8_t *data, uint8_t digest[32]) {532 sha256_finish_64(sha256_compress_ni, data, digest);533}// …583static uint64_t sha256_ni_64_run(void *arg) {584 hash_ctx_t *ctx = (hash_ctx_t *)arg;585 return sha256_ni_64(ctx->input);586}// …797 if (__builtin_cpu_supports("sha")) {798 p = (hash_path_t){ "sha-ni", sha256_ni_low64, sha256_ni_run, sha256_ni_64, sha256_ni_64_run };// …853 /* 64 bytes: the July 2026 function, whose Series go back to it. */854 bool fixed = size_bytes == HASH64_BYTES;855 lm_fn run = fixed ? p.run64 : p.run;// …863 lm_measure(run, &ctx);
Configuration
- benchmarkhash
- buildstatic
- instancec8i.2xlarge
- regionus-east-2
- azuse2-az3
- params.algorithmsha256
- params.size_bytes64
- Hash 64 bytes (hash) →How it works
- Read memory sequentially (memory_read) →How it works
- Write memory (memory_write) →How it works
- Decode bit-packed integers (compressed_memory_read) →How it works
- Sort 1 MiB (sort) →How it works
- System call (syscall) →How it works
- Lock and unlock a mutex (mutex) →How it works
- Random disk read, idle (disk_read_latency) →How it works
- Disk read with io_uring (disk_read_io_uring) →How it works
- S3 GET (http_get) →How it works
- S3 GET throughput (s3_throughput) →How it works