From 14be21db152583cae3da89aa0ff3963451750c92 Mon Sep 17 00:00:00 2001 From: claude Date: Mon, 20 Jul 2026 20:43:32 +0000 Subject: [PATCH] =?UTF-8?q?feat(bench):=20PLAIN=5FONLY=20knob=20=E2=80=94?= =?UTF-8?q?=20skip=20causal=20cells=20for=20concurrency=20sweeps?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The c=64 matrix run (job 7dbc1ede) showed plain-mode parity but a 2.2x ka latency penalty; the decisive test is a CONNS sweep, which only needs the plain cells. PLAIN_ONLY=1 skips the two causal cells; the summary already tolerates their absence. --- scripts/ka-close-matrix.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/ka-close-matrix.sh b/scripts/ka-close-matrix.sh index 3132e95..30d7691 100755 --- a/scripts/ka-close-matrix.sh +++ b/scripts/ka-close-matrix.sh @@ -144,8 +144,10 @@ run_causal() { # $1=mode $2=port # ---- matrix -------------------------------------------------------------- run_plain ka "$BASE_PORT" run_plain close "$((BASE_PORT + 1))" -run_causal ka "$((BASE_PORT + 2))" -run_causal close "$((BASE_PORT + 3))" +if [ "${PLAIN_ONLY:-0}" != 1 ]; then + run_causal ka "$((BASE_PORT + 2))" + run_causal close "$((BASE_PORT + 3))" +fi # ---- summary ------------------------------------------------------------- say "=== SUMMARY ==="