S3 GET throughput
s3_throughput · compared along a sweep · 253 Series on 4 machine types · AWS us-east-2
From
Service
CPU
Connections
| Compare | Connections | Variant | Machine | P50 | P99 | Rate | Unit cost | Runs |
|---|---|---|---|---|---|---|---|---|
| c8g.2xlarge | ||||||||
| 1 conn | c8g.2xlarge | 168.8 ms | 173.0 ms | 99.15 MB/s | $3.21 /GB/s·h | 4 | ||
| 4 conns | c8g.2xlarge | 168.8 ms | 175.1 ms | 394.1 MB/s | $0.807 /GB/s·h | 4 | ||
| 16 conns | c8g.2xlarge | 168.8 ms | 175.1 ms | 1.572 GB/s | $0.202 /GB/s·h | 4 | ||
| 64 conns | c8g.2xlarge | 509.6 ms | 2.466 s | 1.825 GB/s | $0.174 /GB/s·h | 4 | ||
| c8i.2xlarge | ||||||||
| 1 conn | c8i.2xlarge | 168.8 ms | 170.9 ms | 98.89 MB/s | $3.79 /GB/s·h | 4 | ||
| 4 conns | c8i.2xlarge | 168.8 ms | 179.3 ms | 395.2 MB/s | $0.949 /GB/s·h | 4 | ||
| 16 conns | c8i.2xlarge | 168.8 ms | 185.6 ms | 1.564 GB/s | $0.24 /GB/s·h | 4 | ||
| 64 conns | timeout_ms 10000 | c8i.2xlarge | 463.5 ms | 2.298 s | 1.802 GB/s | $0.208 /GB/s·h | 2 | |
| 64 conns | timeout_ms 30000 | c8i.2xlarge | 509.6 ms | 2.188 s | 1.829 GB/s | $0.205 /GB/s·h | 2 | |
| i4i.2xlarge | ||||||||
| 1 conn | i4i.2xlarge | 168.8 ms | 179.3 ms | 98.67 MB/s | $6.95 /GB/s·h | 5 | ||
| 4 conns | i4i.2xlarge | 168.8 ms | 175.1 ms | 394.5 MB/s | $1.74 /GB/s·h | 5 | ||
| 16 conns | i4i.2xlarge | 170.9 ms | 316.7 ms | 1.444 GB/s | $0.476 /GB/s·h | 5 | ||
| 64 conns | i4i.2xlarge | 591.4 ms | 3.305 s | 1.472 GB/s | $0.466 /GB/s·h | 5 | ||
| c6i.8xlarge | ||||||||
| 1 conn | c6i.8xlarge | 168.8 ms | 173.0 ms | 99.18 MB/s | $13.7 /GB/s·h | 6 | ||
| 4 conns | c6i.8xlarge | 168.8 ms | 178.2 ms | 394.4 MB/s | $3.45 /GB/s·h | 6 | ||
| 16 conns | c6i.8xlarge | 170.9 ms | 259.0 ms | 1.495 GB/s | $0.91 /GB/s·h | 6 | ||
| 64 conns | c6i.8xlarge | 591.4 ms | 2.802 s | 1.531 GB/s | $0.888 /GB/s·h | 6 | ||
Compared:c8g.2xlargec8i.2xlarge · timeout_ms 10000i4i.2xlarge
Saturation: throughput against P99
one line per bucket and machine, a point per connection count; log scalesTail: P50 → P99.9
per operation, log scaleLatency histograms
pooled across counted Runs, each to its own peak
(one request each to the data API)
Over time
newest counted Runs, each Run's P50(one request each to the data API)
What this measures
Sustained aggregate HTTPS GET streaming throughput from S3 across concurrency parallel worker threads (1 to 128), each holding a kept TLS 1.2/1.3 connection via statically linked AWS-LC and incrementally verifying every 2xx response body against the Fixture SHA-256 through a fixed 64 KiB buffer per thread.
What it does not measure
- Initial DNS/TCP/TLS setup happens before sample 0, so sustained figures reflect kept connections rather than per-request handshakes (though connections closed by the server are reopened inside the window).
- Every byte is hashed with SHA-256 on the client CPU; on small instances, TLS decryption plus SHA-256 verification can become CPU-bound before NIC saturation.
- Single-request phase breakdowns (DNS, TCP, TLS, TTFB) are measured by
http_get, not here.
Code & config
Benchmark docsSeries JSONi4i.2xlarge · from us-east-2 · S3 Standard · 64 conns
454 uint64_t t0 = lm_now_ns();455 int we = lm_tls_write(w->conn.tls, req_buf, req_len);// …474 while (resp.state == LM_HTTP_HEAD) {475 long n = bounded_read(w, w->buf, sizeof(w->buf), &late);476 if (n > 0) {477 size_t used = lm_http_feed(&resp, w->buf, (size_t)n);// …528 while (fail_kind < 0 && remaining > 0) {529 size_t want = remaining < sizeof(w->buf) ? (size_t)remaining : sizeof(w->buf);530 long n = bounded_read(w, w->buf, want, &late);531 if (n > 0) {532 if (ok_status) SHA256_Update(&sha, w->buf, (size_t)n);// …589 uint64_t t1 = lm_now_ns();// …613 SHA256_Final(digest, &sha);614 bool fixture_ok = (body_len == P.object_bytes && memcmp(digest, g_fixture_sha256, 32) == 0);// …623 if (g_sample_counted) lm_hist_add(&w->lat, t1 >= t0 ? t1 - t0 : 0);
Configuration
- benchmarks3_throughput
- buildstatic
- instancei4i.2xlarge
- regionus-east-2
- azuse2-az3
- services3_fixtures
- params.authsigv4
- params.ca_file/etc/pki/tls/certs/ca-bundle.crt
- params.concurrency64
- params.duration_ms3000
- params.keyhttp_get/v1/16777216
- params.object_bytes16777216
- params.resolv_conf/etc/resolv.conf
- params.timeout_ms10000