From a93891ee72bb1793eb1845d6d49369cb9f1e8806 Mon Sep 17 00:00:00 2001 From: eunhhu Date: Mon, 19 Oct 2026 14:44:13 +0100 Subject: 047: "the leaf is the commit" (feedback 009) set up before it runs: today's store measured as the base (baseline.py, 046's shim and journal: list bytes a message, the log and images, at 1 / 16 / 256 messages a commit: entries' appends 65.5 / 15.7 / 12.4, the bank's transfers 122 / 35.6 / 30.1, the tree apart), and a byte-accounting model (model.py) of commits writing the leaves they changed in memory's own bytes (leaf 296 to 1,320 B, inner node 680 B, cow; tail appends in place past every kept snapshot's count; inplace, which may not be, to show why), its bars written before the run (appends at most today's, sparse updates at most twice, no write a kept snapshot sees) and what a pass for appends with a miss for updates would mean (two units, not one); 046's Run takes pure-run's arguments; 045's keyed file says 24 refused, not the 26 its commit said --- research/experiments/047-leaf-commit/2026-10-19-baseline.jsonl | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 research/experiments/047-leaf-commit/2026-10-19-baseline.jsonl (limited to 'research/experiments/047-leaf-commit/2026-10-19-baseline.jsonl') diff --git a/research/experiments/047-leaf-commit/2026-10-19-baseline.jsonl b/research/experiments/047-leaf-commit/2026-10-19-baseline.jsonl new file mode 100644 index 0000000..60ca0c8 --- /dev/null +++ b/research/experiments/047-leaf-commit/2026-10-19-baseline.jsonl @@ -0,0 +1,6 @@ +{"workload": "entries", "messages": 20000, "batch": 1, "done": 20000, "bytes_per_message": {"compaction": 347.8, "image": 0.0, "log": 65.4, "tree": 404.2}, "zero_bytes_per_message": {"compaction": 347.6, "tree": 49.2}, "list_bytes_per_message": 65.5, "syncs_per_message": 2.001} +{"workload": "entries", "messages": 20000, "batch": 16, "done": 20000, "bytes_per_message": {"compaction": 13.1, "image": 0.0, "log": 15.7, "tree": 41.9}, "zero_bytes_per_message": {"compaction": 13.1, "tree": 19.7}, "list_bytes_per_message": 15.7, "syncs_per_message": 0.126} +{"workload": "entries", "messages": 20000, "batch": 256, "done": 20000, "bytes_per_message": {"compaction": 13.1, "image": 0.0, "log": 12.4, "tree": 1.4}, "zero_bytes_per_message": {"compaction": 13.1}, "list_bytes_per_message": 12.4, "syncs_per_message": 0.009} +{"workload": "bank", "messages": 20000, "batch": 1, "done": 30110, "bytes_per_message": {"log": 122.0}, "zero_bytes_per_message": {}, "list_bytes_per_message": 122.0, "syncs_per_message": 1.0} +{"workload": "bank", "messages": 20000, "batch": 16, "done": 30110, "bytes_per_message": {"log": 35.6}, "zero_bytes_per_message": {}, "list_bytes_per_message": 35.6, "syncs_per_message": 0.062} +{"workload": "bank", "messages": 20000, "batch": 256, "done": 30110, "bytes_per_message": {"log": 30.1}, "zero_bytes_per_message": {}, "list_bytes_per_message": 30.1, "syncs_per_message": 0.004} -- cgit v1.2.3