From 402c19311b247889b36ff3be834d9fab19555af7 Mon Sep 17 00:00:00 2001 From: eunhhu Date: Wed, 30 Sep 2026 17:59:47 +0100 Subject: Count instructions where timing cannot tell 3% apart (110) 016's second stage passed its criterion: six interleaved pairs against ee21aec gave TPC-C (RAM, W=1) -0.6% at the median and the bank's queries 0.0% to +2.2%, no run interfered. The ranks query was slower all six times, and chasing it showed that on this Pi timing cannot separate 1-3%: two servers asked in turns disagree with themselves (ee21aec to e02bfc9 +1.6%, e02bfc9 to 481642f -1.2%, ee21aec to 481642f +2.8%), and a query whose instructions grew 0.6% ran 3.5% faster. Instructions do not move so: pcount.c counts the server's user-mode instructions with perf_event_open (no perf here), and psample.c samples where they go. ranks had grown 0.4% in instructions (the rest was where code and data landed), per_branch 3.6% and tables 20 instructions a row, which 07047c3 halved. The six pairs of 07047c3 were interfered (another session's build, load 4-12) and are kept apart, unused. --- .../fc65d66/2026-09-30-queries-after-3-linux-aarch64.jsonl | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 research/experiments/025-i64-cost/fc65d66/2026-09-30-queries-after-3-linux-aarch64.jsonl (limited to 'research/experiments/025-i64-cost/fc65d66/2026-09-30-queries-after-3-linux-aarch64.jsonl') diff --git a/research/experiments/025-i64-cost/fc65d66/2026-09-30-queries-after-3-linux-aarch64.jsonl b/research/experiments/025-i64-cost/fc65d66/2026-09-30-queries-after-3-linux-aarch64.jsonl new file mode 100644 index 0000000..2e2f3bb --- /dev/null +++ b/research/experiments/025-i64-cost/fc65d66/2026-09-30-queries-after-3-linux-aarch64.jsonl @@ -0,0 +1,4 @@ +{"query": "per_branch", "rows": 10, "accounts": 100000, "pure_median_ms": 5.22, "pure_fastest_ms": 5.14, "sqlite_median_ms": 45.04, "sqlite_fastest_ms": 44.92, "sqlite_indexed_median_ms": 13.94, "sqlite_indexed_fastest_ms": 13.93} +{"query": "in_credit", "rows": 1, "accounts": 100000, "pure_median_ms": 0.8, "pure_fastest_ms": 0.78, "sqlite_median_ms": 5.89, "sqlite_fastest_ms": 5.86, "sqlite_indexed_median_ms": 0.16, "sqlite_indexed_fastest_ms": 0.16} +{"query": "large", "rows": 212, "accounts": 100000, "pure_median_ms": 0.38, "pure_fastest_ms": 0.37, "sqlite_median_ms": 1.47, "sqlite_fastest_ms": 1.47, "sqlite_indexed_median_ms": 1.47, "sqlite_indexed_fastest_ms": 1.47} +{"query": "ranks", "rows": 404, "accounts": 100000, "pure_median_ms": 6.82, "pure_fastest_ms": 6.76, "sqlite_median_ms": 2831.03, "sqlite_fastest_ms": 2829.06, "sqlite_indexed_median_ms": 7.56, "sqlite_indexed_fastest_ms": 7.5} -- cgit v1.2.3