S3 PUT
http_put · compared across Services · 10 Series on 2 machine types · AWS us-east-2
Service
CPU
Condition
Order
| Compare | Service | Variant | Machine | P50 | P99 | Unit cost | Runs |
|---|---|---|---|---|---|---|---|
| S3 Express One Zone | none | c8g.2xlarge | 7.045 ms | 10.29 ms | $1.13 /1M req | 4 | |
| S3 Express One Zone | if none match | c8i.2xlarge | 7.373 ms | 10.68 ms | $1.13 /1M req | 6 | |
| S3 Express One Zone | if none match | c8g.2xlarge | 7.406 ms | 9.504 ms | $1.13 /1M req | 4 | |
| S3 Express One Zone | none | c8i.2xlarge | 7.635 ms | 12.52 ms | $1.13 /1M req | 6 | |
| S3 Standard, scratch | if none match | c8i.2xlarge | 24.51 ms | 31.33 ms | $5 /1M req | 6 | |
| S3 Standard, scratch | none | c8g.2xlarge | 25.03 ms | 71.88 ms | $5 /1M req | 4 | |
| S3 Standard, scratch | none | c8i.2xlarge | 25.03 ms | 37.55 ms | $5 /1M req | 6 | |
| S3 Standard, scratch | if none match | c8g.2xlarge | 25.30 ms | 48.50 ms | $5 /1M req | 4 | |
| S3 Standard, scratch | if match | c8i.2xlarge | 38.01 ms | 52.81 ms | $5 /1M req | 6 | |
| S3 Standard, scratch | if match | c8g.2xlarge | 39.58 ms | 166.8 ms | $5 /1M req | 4 |
Compared:S3 Express One Zone · c8g.2xlarge · if none matchS3 Express One Zone · c8i.2xlarge · none
Tail: P50 → P99.9
per operation, log scalePhases
each phase's own P50, one scaleS3 Express One Zone · c8g.2xlarge · if none match
S3 Express One Zone · c8i.2xlarge · none
- Send
- First byte
- Headers
- Body
Latency 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
How long an HTTPS PUT or conditional PUT compare-and-swap (CAS) write to S3 takes, from the box to a scratch prefix on the endpoint its Service names, over a new connection per request or one kept connection, one request at a time on one thread. Supports plain PUT (none), create-if-absent (if_none_match), and ETag-checked CAS updates (if_match), with sigv4, s3express, or none authentication.
What it does not measure
- One thread writes one object at a time with pauses of mean
gap_mean_ms; it does not measure concurrent write throughput or CAS contention between multiple writers. - With
connectionreused, DNS, TCP, and TLS setup occur outside timed samples. - In
if_matchmode, the initial object creation (seed_put) happens outside any timed sample.
Code & config
Benchmark docsSeries JSONS3 Express One Zone · c8i.2xlarge · none
472static outcome put_exchange_io(lm_s3_conn *c, const put_request *rq, put_exchange *x) {473 lm_s3_failure_none(&x->f);474 int e = write_put_request(c, rq, x);// …480 x->sent = lm_s3_now_mark();481 x->wrote = true;// …488 long n = direct ? lm_tls_read(c->tls, where, room) : lm_tls_read(c->tls, g_scratch, sizeof(g_scratch));489 if (n > 0) {490 if (!x->got_first) {491 x->first = lm_s3_now_mark();492 x->got_first = true;493 }// …513 if (resp->state == LM_HTTP_DONE) {514 if (surplus_found(c, x, unread)) return DONE_FAILED;515 x->end = lm_s3_now_mark();516 return DONE_RESPONSE;
Configuration
- benchmarkhttp_put
- buildstatic
- instancec8i.2xlarge
- regionus-east-2
- azuse2-az3
- services3_express
- params.auths3express
- params.budget_seconds120
- params.ca_file/etc/pki/tls/certs/ca-bundle.crt
- params.conditionnone
- params.connectionreused
- params.gap_mean_ms100
- params.key_prefixscratch/http_put/v1
- params.object_bytes4096
- params.resolv_conf/etc/resolv.conf
- params.timeout_ms10000