From 69cf53e36769e89ffbba36a14a8e6a7e13f50541 Mon Sep 17 00:00:00 2001 From: Pavlo Ratushnyi Date: Thu, 29 Oct 2026 10:31:56 +0100 Subject: [PATCH] docs: engine-commit A/B with the PLE fix on both sides (spans resolve about 0.16 ms per round, end to end not resolvable) Co-Authored-By: Claude Sonnet 5.5 --- docs/experiments/decode-tail-5090.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/docs/experiments/decode-tail-5090.md b/docs/experiments/decode-tail-5090.md index e56016e6..10c08083 100644 --- a/docs/experiments/decode-tail-5090.md +++ b/docs/experiments/decode-tail-5090.md @@ -96,7 +96,20 @@ The snapshot memo and the chunked page list remove about 0.18 ms of host time pe context. The deferral does not pay: the 0.09 ms it moves into the draft's shadow comes back as 0.10 ms more `apply_pending`, because the swap copies start later and are the critical path; it is now opt-in (`LELEKA_SERVE_ADAPT_DEFER=on`, 9b03de2b). `choose_swaps` is 0.035 ms per round (0.14 ms per adaptation): the selection rewrite is not worth more than that. -**With the PLE fix on both sides (`dt-eng4`)**, base + a73d0906 (`P`) against decode-tail + a73d0906 (`Q`): pending, see below. +**With the PLE fix on both sides (`dt-eng4`, seed off, all five turns valid, deferral off)**, base 406b40a8 + a73d0906 (`P`) against decode-tail + a73d0906 (`Q`), arms P Q Q P (two each, 10 turns per side): + +| | P: base + PLE fix | Q: all engine commits + PLE fix | +| --- | ---: | ---: | +| tok/s over the 10 turns (tokens over seconds) | 131.8 | 131.6 (-0.2 %) | +| turns 1-4 only | 129.5 | 130.5 (+0.8 %) | +| per-turn standard deviation, tok/s | 8.2 | 6.5 | +| `round.draft_committed`, ms per round (two runs) | 1.763 / 1.837 | 1.655 / 1.674 | +| `draft.launch` / `mtp.finish_ring` | 0.133 / 0.093 and 0.127 / 0.092 | 0.034 / 0.003 and 0.033 / 0.002 | +| `round.adapt` (choose + queue) | 0.105 / 0.100 | 0.079 / 0.084 | +| `round.apply_pending` | 0.157 / 0.140 | 0.128 / 0.159 | + +What the engine commits are worth: about 0.16 ms of host time per round (draft_committed -0.14, adapt -0.02), about 1 % of a 15 ms round, visible in the spans of the same runs; end to end the difference +(-0.2 % over 10 turns, standard error about 2 %) is not resolvable. No lossy change among them; identity: `dt-id2` below. **Greedy identity of the engine commits (`dt-id2`)**: pending, see below. ## 6. Commits on claude/decode-tail