databasev2 4 part A, task 4. Scope extended with developer approval: the plan authorised touching the sample only for observability, but no existing leg has enough concurrent durable writes to exercise group commit at all, so the payoff was unevaluable either way. The finding that forced it: - `mix` writes on one op in ten with C=4 (all_mode calls mix_mode(n/10, 4); Mixer writes on i % 10 == 9), so the quick run performs 20 writes total. Measured mean batch 1.01 over 3112 barriers, peak 3 - that is a property of the WORKLOAD, not the mechanism: peak 3 of a possible 4 shows batches form whenever writes actually coincide - `wmix N C` added: every op a durable write, C at once. Updates rather than inserts, so it is comparable to mixwrite and the row count stays flat. Histogram kind 2 — a replayed store still holds the seeding run's kind-0/1 Hist rows and merging those would report someone else's latencies - WO_WAL_STATS=1 prints one line at exit: batches, records, peak_batch, peak_staged. Opt-in, because it would otherwise pollute every durable program's output. Counters live in wo_wal; no builtin, the numbers are diagnostic and not part of the language Measured, and it scales with concurrency exactly as designed: - C = 4 / 16 / 64 -> mean batch 1.13 / 1.76 / 5.35, peak 3 / 10 / 39 - the gate's own legs: durable.s1 5412 records over 5412 barriers (mean 1.0, peak 1 — the inline path, one barrier per statement BY DESIGN), durable.sN 7757 over 2296 (mean 3.38, peak 28) at 2x the throughput - peak staged 1372 B settles the no-cap decision with a number: the batch is tiny, so the upstream mailbox bound is sufficient - mean_batch/peak_batch are higher-is-better (the default detector would have called bigger batches worse) - only the batch SHAPE metrics are waived to 100%; wmix throughput and latency keep real tolerances (15% s1, 50% sN) — a blanket waiver would have left the entire new leg ungated - the live assertion `mean > 1.0` on the sN leg is what catches inertness - gate bites: sN wmix ops_sec -60% -> FAIL on exactly that metric, 1 of 86 Verified: db-bench-quick 89 checks 0 failures; baseline refreshed (86 metrics). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
525 lines
No EOL
9.1 KiB
JSON
525 lines
No EOL
9.1 KiB
JSON
{
|
|
"_config": {
|
|
"N": 2000,
|
|
"crash_reps": 1,
|
|
"msg_n": 20000,
|
|
"note": "refresh only with a commit that says why; tolerances come from tolerance_for() in the driver",
|
|
"wal_n": 800
|
|
},
|
|
"durable.s1.mixread.ops_sec": {
|
|
"dir": "higher",
|
|
"floor": 2240,
|
|
"tolerance_pct": 50,
|
|
"value": 8961
|
|
},
|
|
"durable.s1.mixread.p50us": {
|
|
"dir": "lower",
|
|
"floor": 100,
|
|
"tolerance_pct": 50,
|
|
"value": 1
|
|
},
|
|
"durable.s1.mixread.p99us": {
|
|
"dir": "lower",
|
|
"floor": 100,
|
|
"tolerance_pct": 50,
|
|
"value": 4
|
|
},
|
|
"durable.s1.mixwrite.ops_sec": {
|
|
"dir": "higher",
|
|
"floor": 248,
|
|
"tolerance_pct": 50,
|
|
"value": 995
|
|
},
|
|
"durable.s1.mixwrite.p50us": {
|
|
"dir": "lower",
|
|
"floor": 824,
|
|
"tolerance_pct": 50,
|
|
"value": 206
|
|
},
|
|
"durable.s1.mixwrite.p99us": {
|
|
"dir": "lower",
|
|
"floor": 904,
|
|
"tolerance_pct": 50,
|
|
"value": 226
|
|
},
|
|
"durable.s1.query.ops_sec": {
|
|
"dir": "higher",
|
|
"floor": 233644,
|
|
"tolerance_pct": 50,
|
|
"value": 934579
|
|
},
|
|
"durable.s1.query.p50us": {
|
|
"dir": "lower",
|
|
"floor": 100,
|
|
"tolerance_pct": 50,
|
|
"value": 1
|
|
},
|
|
"durable.s1.query.p99us": {
|
|
"dir": "lower",
|
|
"floor": 100,
|
|
"tolerance_pct": 50,
|
|
"value": 3
|
|
},
|
|
"durable.s1.read.ops_sec": {
|
|
"dir": "higher",
|
|
"floor": 190114,
|
|
"tolerance_pct": 50,
|
|
"value": 760456
|
|
},
|
|
"durable.s1.read.p50us": {
|
|
"dir": "lower",
|
|
"floor": 100,
|
|
"tolerance_pct": 50,
|
|
"value": 1
|
|
},
|
|
"durable.s1.read.p99us": {
|
|
"dir": "lower",
|
|
"floor": 100,
|
|
"tolerance_pct": 50,
|
|
"value": 2
|
|
},
|
|
"durable.s1.seed.ops_sec": {
|
|
"dir": "higher",
|
|
"floor": 1080,
|
|
"tolerance_pct": 15,
|
|
"value": 4323
|
|
},
|
|
"durable.s1.seed.p50us": {
|
|
"dir": "lower",
|
|
"floor": 848,
|
|
"tolerance_pct": 15,
|
|
"value": 212
|
|
},
|
|
"durable.s1.seed.p99us": {
|
|
"dir": "lower",
|
|
"floor": 2108,
|
|
"tolerance_pct": 15,
|
|
"value": 527
|
|
},
|
|
"durable.s1.wmix.mean_batch": {
|
|
"dir": "higher",
|
|
"floor": 0.0,
|
|
"tolerance_pct": 100,
|
|
"value": 1.0
|
|
},
|
|
"durable.s1.wmix.ops_sec": {
|
|
"dir": "higher",
|
|
"floor": 810,
|
|
"tolerance_pct": 15,
|
|
"value": 3241
|
|
},
|
|
"durable.s1.wmix.p50us": {
|
|
"dir": "lower",
|
|
"floor": 852,
|
|
"tolerance_pct": 15,
|
|
"value": 213
|
|
},
|
|
"durable.s1.wmix.p99us": {
|
|
"dir": "lower",
|
|
"floor": 2032,
|
|
"tolerance_pct": 15,
|
|
"value": 508
|
|
},
|
|
"durable.s1.wmix.peak_batch": {
|
|
"dir": "higher",
|
|
"floor": 0,
|
|
"tolerance_pct": 100,
|
|
"value": 1
|
|
},
|
|
"durable.s1.wmix.peak_staged": {
|
|
"dir": "lower",
|
|
"floor": 196,
|
|
"tolerance_pct": 100,
|
|
"value": 49
|
|
},
|
|
"durable.s1.write.ops_sec": {
|
|
"dir": "higher",
|
|
"floor": 1103,
|
|
"tolerance_pct": 15,
|
|
"value": 4415
|
|
},
|
|
"durable.s1.write.p50us": {
|
|
"dir": "lower",
|
|
"floor": 856,
|
|
"tolerance_pct": 15,
|
|
"value": 214
|
|
},
|
|
"durable.s1.write.p99us": {
|
|
"dir": "lower",
|
|
"floor": 1932,
|
|
"tolerance_pct": 15,
|
|
"value": 483
|
|
},
|
|
"durable.sN.mixread.ops_sec": {
|
|
"dir": "higher",
|
|
"floor": 1111,
|
|
"tolerance_pct": 50,
|
|
"value": 4445
|
|
},
|
|
"durable.sN.mixread.p50us": {
|
|
"dir": "lower",
|
|
"floor": 348,
|
|
"tolerance_pct": 50,
|
|
"value": 87
|
|
},
|
|
"durable.sN.mixread.p99us": {
|
|
"dir": "lower",
|
|
"floor": 17540,
|
|
"tolerance_pct": 50,
|
|
"value": 4385
|
|
},
|
|
"durable.sN.mixwrite.ops_sec": {
|
|
"dir": "higher",
|
|
"floor": 123,
|
|
"tolerance_pct": 50,
|
|
"value": 493
|
|
},
|
|
"durable.sN.mixwrite.p50us": {
|
|
"dir": "lower",
|
|
"floor": 1460,
|
|
"tolerance_pct": 50,
|
|
"value": 365
|
|
},
|
|
"durable.sN.mixwrite.p99us": {
|
|
"dir": "lower",
|
|
"floor": 3888,
|
|
"tolerance_pct": 50,
|
|
"value": 972
|
|
},
|
|
"durable.sN.query.ops_sec": {
|
|
"dir": "higher",
|
|
"floor": 211864,
|
|
"tolerance_pct": 50,
|
|
"value": 847457
|
|
},
|
|
"durable.sN.query.p50us": {
|
|
"dir": "lower",
|
|
"floor": 100,
|
|
"tolerance_pct": 50,
|
|
"value": 1
|
|
},
|
|
"durable.sN.query.p99us": {
|
|
"dir": "lower",
|
|
"floor": 100,
|
|
"tolerance_pct": 50,
|
|
"value": 2
|
|
},
|
|
"durable.sN.read.ops_sec": {
|
|
"dir": "higher",
|
|
"floor": 204415,
|
|
"tolerance_pct": 50,
|
|
"value": 817661
|
|
},
|
|
"durable.sN.read.p50us": {
|
|
"dir": "lower",
|
|
"floor": 100,
|
|
"tolerance_pct": 50,
|
|
"value": 1
|
|
},
|
|
"durable.sN.read.p99us": {
|
|
"dir": "lower",
|
|
"floor": 100,
|
|
"tolerance_pct": 50,
|
|
"value": 2
|
|
},
|
|
"durable.sN.seed.ops_sec": {
|
|
"dir": "higher",
|
|
"floor": 1111,
|
|
"tolerance_pct": 50,
|
|
"value": 4446
|
|
},
|
|
"durable.sN.seed.p50us": {
|
|
"dir": "lower",
|
|
"floor": 848,
|
|
"tolerance_pct": 50,
|
|
"value": 212
|
|
},
|
|
"durable.sN.seed.p99us": {
|
|
"dir": "lower",
|
|
"floor": 1996,
|
|
"tolerance_pct": 50,
|
|
"value": 499
|
|
},
|
|
"durable.sN.wmix.mean_batch": {
|
|
"dir": "higher",
|
|
"floor": 0.0,
|
|
"tolerance_pct": 100,
|
|
"value": 3.38
|
|
},
|
|
"durable.sN.wmix.ops_sec": {
|
|
"dir": "higher",
|
|
"floor": 1575,
|
|
"tolerance_pct": 50,
|
|
"value": 6302
|
|
},
|
|
"durable.sN.wmix.p50us": {
|
|
"dir": "lower",
|
|
"floor": 13776,
|
|
"tolerance_pct": 50,
|
|
"value": 3444
|
|
},
|
|
"durable.sN.wmix.p99us": {
|
|
"dir": "lower",
|
|
"floor": 51212,
|
|
"tolerance_pct": 50,
|
|
"value": 12803
|
|
},
|
|
"durable.sN.wmix.peak_batch": {
|
|
"dir": "higher",
|
|
"floor": 7,
|
|
"tolerance_pct": 100,
|
|
"value": 28
|
|
},
|
|
"durable.sN.wmix.peak_staged": {
|
|
"dir": "lower",
|
|
"floor": 5488,
|
|
"tolerance_pct": 100,
|
|
"value": 1372
|
|
},
|
|
"durable.sN.write.ops_sec": {
|
|
"dir": "higher",
|
|
"floor": 1117,
|
|
"tolerance_pct": 50,
|
|
"value": 4470
|
|
},
|
|
"durable.sN.write.p50us": {
|
|
"dir": "lower",
|
|
"floor": 852,
|
|
"tolerance_pct": 50,
|
|
"value": 213
|
|
},
|
|
"durable.sN.write.p99us": {
|
|
"dir": "lower",
|
|
"floor": 2020,
|
|
"tolerance_pct": 50,
|
|
"value": 505
|
|
},
|
|
"ram.s1.mixread.ops_sec": {
|
|
"dir": "higher",
|
|
"floor": 2235,
|
|
"tolerance_pct": 50,
|
|
"value": 8940
|
|
},
|
|
"ram.s1.mixread.p50us": {
|
|
"dir": "lower",
|
|
"floor": 100,
|
|
"tolerance_pct": 50,
|
|
"value": 1
|
|
},
|
|
"ram.s1.mixread.p99us": {
|
|
"dir": "lower",
|
|
"floor": 100,
|
|
"tolerance_pct": 50,
|
|
"value": 3
|
|
},
|
|
"ram.s1.mixwrite.ops_sec": {
|
|
"dir": "higher",
|
|
"floor": 248,
|
|
"tolerance_pct": 50,
|
|
"value": 993
|
|
},
|
|
"ram.s1.mixwrite.p50us": {
|
|
"dir": "lower",
|
|
"floor": 100,
|
|
"tolerance_pct": 50,
|
|
"value": 1
|
|
},
|
|
"ram.s1.mixwrite.p99us": {
|
|
"dir": "lower",
|
|
"floor": 100,
|
|
"tolerance_pct": 50,
|
|
"value": 1
|
|
},
|
|
"ram.s1.msgrate.msgs_sec": {
|
|
"dir": "higher",
|
|
"floor": 384911,
|
|
"tolerance_pct": 15,
|
|
"value": 3079291
|
|
},
|
|
"ram.s1.query.ops_sec": {
|
|
"dir": "higher",
|
|
"floor": 274725,
|
|
"tolerance_pct": 50,
|
|
"value": 1098901
|
|
},
|
|
"ram.s1.query.p50us": {
|
|
"dir": "lower",
|
|
"floor": 100,
|
|
"tolerance_pct": 50,
|
|
"value": 1
|
|
},
|
|
"ram.s1.query.p99us": {
|
|
"dir": "lower",
|
|
"floor": 100,
|
|
"tolerance_pct": 50,
|
|
"value": 1
|
|
},
|
|
"ram.s1.read.ops_sec": {
|
|
"dir": "higher",
|
|
"floor": 312500,
|
|
"tolerance_pct": 50,
|
|
"value": 1250000
|
|
},
|
|
"ram.s1.read.p50us": {
|
|
"dir": "lower",
|
|
"floor": 100,
|
|
"tolerance_pct": 50,
|
|
"value": 1
|
|
},
|
|
"ram.s1.read.p99us": {
|
|
"dir": "lower",
|
|
"floor": 100,
|
|
"tolerance_pct": 50,
|
|
"value": 1
|
|
},
|
|
"ram.s1.seed.ops_sec": {
|
|
"dir": "higher",
|
|
"floor": 335570,
|
|
"tolerance_pct": 15,
|
|
"value": 1342281
|
|
},
|
|
"ram.s1.seed.p50us": {
|
|
"dir": "lower",
|
|
"floor": 100,
|
|
"tolerance_pct": 15,
|
|
"value": 1
|
|
},
|
|
"ram.s1.seed.p99us": {
|
|
"dir": "lower",
|
|
"floor": 100,
|
|
"tolerance_pct": 15,
|
|
"value": 2
|
|
},
|
|
"ram.s1.write.ops_sec": {
|
|
"dir": "higher",
|
|
"floor": 237416,
|
|
"tolerance_pct": 15,
|
|
"value": 949667
|
|
},
|
|
"ram.s1.write.p50us": {
|
|
"dir": "lower",
|
|
"floor": 100,
|
|
"tolerance_pct": 15,
|
|
"value": 1
|
|
},
|
|
"ram.s1.write.p99us": {
|
|
"dir": "lower",
|
|
"floor": 100,
|
|
"tolerance_pct": 15,
|
|
"value": 2
|
|
},
|
|
"ram.sN.mixread.ops_sec": {
|
|
"dir": "higher",
|
|
"floor": 2243,
|
|
"tolerance_pct": 50,
|
|
"value": 8975
|
|
},
|
|
"ram.sN.mixread.p50us": {
|
|
"dir": "lower",
|
|
"floor": 264,
|
|
"tolerance_pct": 50,
|
|
"value": 66
|
|
},
|
|
"ram.sN.mixread.p99us": {
|
|
"dir": "lower",
|
|
"floor": 2080,
|
|
"tolerance_pct": 50,
|
|
"value": 520
|
|
},
|
|
"ram.sN.mixwrite.ops_sec": {
|
|
"dir": "higher",
|
|
"floor": 249,
|
|
"tolerance_pct": 50,
|
|
"value": 997
|
|
},
|
|
"ram.sN.mixwrite.p50us": {
|
|
"dir": "lower",
|
|
"floor": 288,
|
|
"tolerance_pct": 50,
|
|
"value": 72
|
|
},
|
|
"ram.sN.mixwrite.p99us": {
|
|
"dir": "lower",
|
|
"floor": 344,
|
|
"tolerance_pct": 50,
|
|
"value": 86
|
|
},
|
|
"ram.sN.msgrate.msgs_sec": {
|
|
"dir": "higher",
|
|
"floor": 176056,
|
|
"tolerance_pct": 50,
|
|
"value": 1408450
|
|
},
|
|
"ram.sN.query.ops_sec": {
|
|
"dir": "higher",
|
|
"floor": 308641,
|
|
"tolerance_pct": 50,
|
|
"value": 1234567
|
|
},
|
|
"ram.sN.query.p50us": {
|
|
"dir": "lower",
|
|
"floor": 100,
|
|
"tolerance_pct": 50,
|
|
"value": 1
|
|
},
|
|
"ram.sN.query.p99us": {
|
|
"dir": "lower",
|
|
"floor": 100,
|
|
"tolerance_pct": 50,
|
|
"value": 1
|
|
},
|
|
"ram.sN.read.ops_sec": {
|
|
"dir": "higher",
|
|
"floor": 310945,
|
|
"tolerance_pct": 50,
|
|
"value": 1243781
|
|
},
|
|
"ram.sN.read.p50us": {
|
|
"dir": "lower",
|
|
"floor": 100,
|
|
"tolerance_pct": 50,
|
|
"value": 1
|
|
},
|
|
"ram.sN.read.p99us": {
|
|
"dir": "lower",
|
|
"floor": 100,
|
|
"tolerance_pct": 50,
|
|
"value": 1
|
|
},
|
|
"ram.sN.seed.ops_sec": {
|
|
"dir": "higher",
|
|
"floor": 363372,
|
|
"tolerance_pct": 50,
|
|
"value": 1453488
|
|
},
|
|
"ram.sN.seed.p50us": {
|
|
"dir": "lower",
|
|
"floor": 100,
|
|
"tolerance_pct": 50,
|
|
"value": 1
|
|
},
|
|
"ram.sN.seed.p99us": {
|
|
"dir": "lower",
|
|
"floor": 100,
|
|
"tolerance_pct": 50,
|
|
"value": 2
|
|
},
|
|
"ram.sN.write.ops_sec": {
|
|
"dir": "higher",
|
|
"floor": 202922,
|
|
"tolerance_pct": 50,
|
|
"value": 811688
|
|
},
|
|
"ram.sN.write.p50us": {
|
|
"dir": "lower",
|
|
"floor": 100,
|
|
"tolerance_pct": 50,
|
|
"value": 1
|
|
},
|
|
"ram.sN.write.p99us": {
|
|
"dir": "lower",
|
|
"floor": 100,
|
|
"tolerance_pct": 50,
|
|
"value": 4
|
|
}
|
|
} |