Merge claude/tier-swap-bursts-default: tier swap bursts ON in the 5090 profiles (owner 2026-11-13)
Linux / keyless-cuda-gate (push) Skipped
Linux / verify (push) Failing after 26s
Linux / release-cli (push) Skipped
Rust port / port-linux-tests (push) Failing after 25s
Rust port / port-oracles (push) Failing after 25s
Product / product (push) Failing after 12m35s
Rust port / port-fast (push) Failing after 23s
Linux / keyless-cuda (push) Skipped
Linux / static-cuda-package (push) Skipped
Linux / hosted-cuda-package (push) Skipped
Linux / linux-static-cli (push) Skipped
Linux / linux-cli-container (push) Skipped
Rust port / port-typecheck (push) Successful in 47s
Linux / keyless-cuda-gate (push) Skipped
Linux / verify (push) Failing after 26s
Linux / release-cli (push) Skipped
Rust port / port-linux-tests (push) Failing after 25s
Rust port / port-oracles (push) Failing after 25s
Product / product (push) Failing after 12m35s
Rust port / port-fast (push) Failing after 23s
Linux / keyless-cuda (push) Skipped
Linux / static-cuda-package (push) Skipped
Linux / hosted-cuda-package (push) Skipped
Linux / linux-static-cli (push) Skipped
Linux / linux-cli-container (push) Skipped
Rust port / port-typecheck (push) Successful in 47s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -203,6 +203,20 @@ fn only_the_5090_profiles_default_to_global_rank_fill_and_pcie_share_065() {
|
||||
assert_ne!(laptop.engine_env.get("LELEKA_ORIGINAL_SERVE_EXPERT_PER_LAYER").map(String::as_str), Some("no"));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn only_the_5090_profiles_default_to_tier_swap_bursts_every_2_rounds_of_48_swaps() {
|
||||
// placement-class default of the owner (2026-11-13, docs/experiments/host-round.md section 5): the engine's own
|
||||
// defaults are 4 rounds and 96 swaps (`tail_skip_rank.rs` `off()`), the same swap throughput per round; the laptop
|
||||
// profile keeps them
|
||||
let laptop = Profile::builtin("rtx3080-16g").unwrap();
|
||||
for name in ["rtx5090-32g", "rtx5090-32g-file", "rtx5090-32g-gguf-ple"] {
|
||||
let env = &Profile::builtin(name).unwrap().engine_env;
|
||||
assert_eq!(env.get("LELEKA_ORIGINAL_SERVE_ADAPT_EVERY").map(String::as_str), Some("2"), "{name}");
|
||||
assert_eq!(env.get("LELEKA_ORIGINAL_SERVE_ADAPT_SWAPS").map(String::as_str), Some("48"), "{name}");
|
||||
}
|
||||
assert!(!laptop.engine_env.keys().any(|key| key.starts_with("LELEKA_ORIGINAL_SERVE_ADAPT_")));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn only_the_5090_profiles_turn_the_lossy_route_tail_skip_on() {
|
||||
// LOSSY, on by the owner's decision of 2026-11-13 (docs/deploy.md, step-ledger H9): rank 7, off once the VRAM tier
|
||||
|
||||
@@ -13,6 +13,6 @@
|
||||
"min_vram_total_mib": 30000,
|
||||
"min_ram_total_bytes": 68719476736,
|
||||
"min_ram_available_bytes": 62000000000,
|
||||
"engine_env": {"LELEKA_PREFILL_LOAN_TIERS": "1", "LELEKA_DRAFT_CHECK_MERGE": "1", "LELEKA_PREFIX_PARK_FAST": "1", "LELEKA_DECODE_GRAPH_REUSE": "1", "STRATA_PREFILL_STREAM_MIN": "1536", "LELEKA_ORIGINAL_SERVE_EXPERT_PER_LAYER": "no", "LELEKA_ORIGINAL_SERVE_PCIE_FRAC": "0.65", "LELEKA_CHAIN": "all", "LELEKA_ORIGINAL_SERVE_SEED": "off", "LELEKA_SM120_ATTN_DAILY_MTP": "1", "LELEKA_SM120_ATTN_DAILY": "1", "LELEKA_SM120_GU_SWIGLU": "1", "LELEKA_SM120_SIDE_MIXER": "1", "LELEKA_SM120_SIDE_QSA": "1", "LELEKA_SM120_SIDE_SHARED": "1", "LELEKA_SM120_FUSED_QSA_PRELUDE": "1", "LELEKA_DRAFT_FUSED_COMMIT": "1", "LELEKA_SM120_COMBINE_VEC4": "1", "LELEKA_SM120_DOWN_SUB16": "1", "LELEKA_SM120_HITS_IN_COMBINE": "1", "LELEKA_SM120_HEAD_CHAIN_BATCH": "1", "LELEKA_ROUTE_TAIL_SKIP": "7", "LELEKA_ROUTE_TAIL_SKIP_MAX_CACHED": "100", "LELEKA_PLE_ON_CHAIN": "on"},
|
||||
"engine_env": {"LELEKA_PREFILL_LOAN_TIERS": "1", "LELEKA_DRAFT_CHECK_MERGE": "1", "LELEKA_PREFIX_PARK_FAST": "1", "LELEKA_DECODE_GRAPH_REUSE": "1", "STRATA_PREFILL_STREAM_MIN": "1536", "LELEKA_ORIGINAL_SERVE_EXPERT_PER_LAYER": "no", "LELEKA_ORIGINAL_SERVE_PCIE_FRAC": "0.65", "LELEKA_CHAIN": "all", "LELEKA_ORIGINAL_SERVE_SEED": "off", "LELEKA_SM120_ATTN_DAILY_MTP": "1", "LELEKA_SM120_ATTN_DAILY": "1", "LELEKA_SM120_GU_SWIGLU": "1", "LELEKA_SM120_SIDE_MIXER": "1", "LELEKA_SM120_SIDE_QSA": "1", "LELEKA_SM120_SIDE_SHARED": "1", "LELEKA_SM120_FUSED_QSA_PRELUDE": "1", "LELEKA_DRAFT_FUSED_COMMIT": "1", "LELEKA_SM120_COMBINE_VEC4": "1", "LELEKA_SM120_DOWN_SUB16": "1", "LELEKA_SM120_HITS_IN_COMBINE": "1", "LELEKA_SM120_HEAD_CHAIN_BATCH": "1", "LELEKA_ROUTE_TAIL_SKIP": "7", "LELEKA_ROUTE_TAIL_SKIP_MAX_CACHED": "100", "LELEKA_PLE_ON_CHAIN": "on", "LELEKA_ORIGINAL_SERVE_ADAPT_EVERY": "2", "LELEKA_ORIGINAL_SERVE_ADAPT_SWAPS": "48"},
|
||||
"memory": {"prefix_cache_mib": "6144", "prefix_cache_tail": "reply", "prefix_cache_block": 8192, "soft_floor_mib": 4096, "hard_floor_mib": 2048, "reserve_mib": 2048, "lock": "off", "heal": false}
|
||||
}
|
||||
|
||||
@@ -13,6 +13,6 @@
|
||||
"min_vram_total_mib": 30000,
|
||||
"min_ram_total_bytes": 68719476736,
|
||||
"min_ram_available_bytes": 62000000000,
|
||||
"engine_env": {"LELEKA_PREFILL_LOAN_TIERS": "1", "LELEKA_DRAFT_CHECK_MERGE": "1", "LELEKA_PREFIX_PARK_FAST": "1", "LELEKA_DECODE_GRAPH_REUSE": "1", "STRATA_PREFILL_STREAM_MIN": "1536", "LELEKA_ORIGINAL_SERVE_EXPERT_PER_LAYER": "no", "LELEKA_ORIGINAL_SERVE_PCIE_FRAC": "0.65", "LELEKA_CHAIN": "all", "LELEKA_ORIGINAL_SERVE_SEED": "off", "LELEKA_SM120_ATTN_DAILY_MTP": "1", "LELEKA_SM120_ATTN_DAILY": "1", "LELEKA_SM120_GU_SWIGLU": "1", "LELEKA_SM120_SIDE_MIXER": "1", "LELEKA_SM120_SIDE_QSA": "1", "LELEKA_SM120_SIDE_SHARED": "1", "LELEKA_PLE_DIRECT": "0", "LELEKA_ORIGINAL_SERVE_GGUF_PLE": "1", "LELEKA_SM120_FUSED_QSA_PRELUDE": "1", "LELEKA_DRAFT_FUSED_COMMIT": "1", "LELEKA_SM120_COMBINE_VEC4": "1", "LELEKA_SM120_DOWN_SUB16": "1", "LELEKA_SM120_HITS_IN_COMBINE": "1", "LELEKA_SM120_HEAD_CHAIN_BATCH": "1", "LELEKA_ROUTE_TAIL_SKIP": "7", "LELEKA_ROUTE_TAIL_SKIP_MAX_CACHED": "100", "LELEKA_PLE_ON_CHAIN": "on"},
|
||||
"engine_env": {"LELEKA_PREFILL_LOAN_TIERS": "1", "LELEKA_DRAFT_CHECK_MERGE": "1", "LELEKA_PREFIX_PARK_FAST": "1", "LELEKA_DECODE_GRAPH_REUSE": "1", "STRATA_PREFILL_STREAM_MIN": "1536", "LELEKA_ORIGINAL_SERVE_EXPERT_PER_LAYER": "no", "LELEKA_ORIGINAL_SERVE_PCIE_FRAC": "0.65", "LELEKA_CHAIN": "all", "LELEKA_ORIGINAL_SERVE_SEED": "off", "LELEKA_SM120_ATTN_DAILY_MTP": "1", "LELEKA_SM120_ATTN_DAILY": "1", "LELEKA_SM120_GU_SWIGLU": "1", "LELEKA_SM120_SIDE_MIXER": "1", "LELEKA_SM120_SIDE_QSA": "1", "LELEKA_SM120_SIDE_SHARED": "1", "LELEKA_PLE_DIRECT": "0", "LELEKA_ORIGINAL_SERVE_GGUF_PLE": "1", "LELEKA_SM120_FUSED_QSA_PRELUDE": "1", "LELEKA_DRAFT_FUSED_COMMIT": "1", "LELEKA_SM120_COMBINE_VEC4": "1", "LELEKA_SM120_DOWN_SUB16": "1", "LELEKA_SM120_HITS_IN_COMBINE": "1", "LELEKA_SM120_HEAD_CHAIN_BATCH": "1", "LELEKA_ROUTE_TAIL_SKIP": "7", "LELEKA_ROUTE_TAIL_SKIP_MAX_CACHED": "100", "LELEKA_PLE_ON_CHAIN": "on", "LELEKA_ORIGINAL_SERVE_ADAPT_EVERY": "2", "LELEKA_ORIGINAL_SERVE_ADAPT_SWAPS": "48"},
|
||||
"memory": {"prefix_cache_mib": "6144", "prefix_cache_tail": "reply", "prefix_cache_block": 8192, "soft_floor_mib": 4096, "hard_floor_mib": 2048, "reserve_mib": 2048, "lock": "off", "heal": false}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "rtx5090-32g",
|
||||
"description": "RTX 5090 class server (sm_120, 32 GB VRAM, >= 100 GiB RAM). Single copy of every model byte in host RAM: the 50 GB routed-expert bank is the one page-locked RAM copy (from GGUF shard 0), and of the 55 GB level-2 KAR archive only the 16.0 GB the serve path reads (the PLE rows, 2 extents) is copied once into a sealed sparse memfd (memfd_extents ple_only: holes elsewhere, verified against the pinned digest of the extents), read O_DIRECT so no page-cache copy remains. Reference-equivalent agent configuration (docs/e2e-run.md 7d; GPU budget 32,819,404,800 B (31,299 MiB) since the dense-slab commits, was 30 GiB: the slab saves physical bytes the Context never counted, so the budget must rise by about that much for the slot gain to appear, docs/experiments/vram-footprint-5090.md; expert tier auto-sized per layer from data/expert-profile.bin, adaptive speculative window with spec-min-p 0, MTP draft vocabulary, prefix cache 6144 MiB (explicit cap: what `auto` resolves to on this host, 5.7-6.1 GiB; unlike `auto` it cannot grow when RAM is freed) with request-end checkpoints (reply), chain kernels): no speed claim is made in this text (the paired 245k series against vanilla Strata is docs/experiments/baseline-pair-5090.md). Prompt chunk and prefix-cache grid 8192 (paired 256k session on the 5090: TTFT sum 131 s at 2048 against 55-60 s at 8192, docs/upstream-port-plan.md). Prompt-routing seed OFF (engine_env LELEKA_ORIGINAL_SERVE_SEED=off, placement class, owner to confirm; docs/experiments/decode-tail-5090.md: +27 % decode at 45k-247k prompts). MTP draft attention = upstream pre75 chunk + merge v2 (engine_env LELEKA_SM120_ATTN_DAILY_MTP=1, bitwise identical on the replay gate, draft round 0.29 ms and whole round 0.37 ms shorter at 245k, docs/experiments/draft-round-5090.md). Main attention and gate/up SwiGLU sm_120 kernels on (engine_env LELEKA_SM120_ATTN_DAILY=1, LELEKA_SM120_GU_SWIGLU=1: bitwise identical on the teacher-forced gate, decode +1.85 % paired, docs/experiments/codex-compare-speed-gap.md). GDN gates and gate projection on two side streams of the verify graph (engine_env LELEKA_SM120_SIDE_MIXER=1: identical top-16 logprob rows and draft trace on the teacher-forced gate, decode +1.39 % paired, CI +0.46..+2.32 %, docs/experiments/step-ledger.md V3a). QSA indexer/query chains (LELEKA_SM120_SIDE_QSA=1, mixer phase of a QSA layer -14.8 us) and the shared expert (LELEKA_SM120_SIDE_SHARED=1, doorbell to first expert 27.6 -> 10.9 us) on side streams too: identical rows and draft trace, section deltas in step-ledger.md V3b/V4a. Expert tier layout: global rank fill (engine_env LELEKA_ORIGINAL_SERVE_EXPERT_PER_LAYER=no) and a PCIe share of 0.65 (LELEKA_ORIGINAL_SERVE_PCIE_FRAC), default on by the owner 2026-11-12; placement class, paired 5-pair group A/B on release 02c784249a7e: decode +8.2 % (CI +6.5..+9.9), ms/round -7.2 %, A/A floor +0.2 %, minimum free VRAM 478 MiB at the 256k configuration (docs/experiments/step-ledger.md H4). LOSSY route tail skip ON by the owner 2026-11-13 (engine_env LELEKA_ROUTE_TAIL_SKIP=7, LELEKA_ROUTE_TAIL_SKIP_MAX_CACHED=100): a missed expert that every token of the window routes at rank 7 or lower is neither copied nor computed and its weight is not renormalised, so the OUTPUT CHANGES; the engine logs 'EXPERIMENTAL route tail skip is ON'; gate on release 83bdd85bb482 n=3: CRM decode +14.5 %, ttt +11.5 %, logit flips 3.6 % against the Original's 2.8 % envelope (open points accepted by the owner, docs/deploy.md section 4, docs/experiments/step-ledger.md H9); turn it off with LELEKA_ROUTE_TAIL_SKIP=0 in a copy of the profile. Not a formally quality-gated profile.",
|
||||
"description": "RTX 5090 class server (sm_120, 32 GB VRAM, >= 100 GiB RAM). Single copy of every model byte in host RAM: the 50 GB routed-expert bank is the one page-locked RAM copy (from GGUF shard 0), and of the 55 GB level-2 KAR archive only the 16.0 GB the serve path reads (the PLE rows, 2 extents) is copied once into a sealed sparse memfd (memfd_extents ple_only: holes elsewhere, verified against the pinned digest of the extents), read O_DIRECT so no page-cache copy remains. Reference-equivalent agent configuration (docs/e2e-run.md 7d; GPU budget 32,819,404,800 B (31,299 MiB) since the dense-slab commits, was 30 GiB: the slab saves physical bytes the Context never counted, so the budget must rise by about that much for the slot gain to appear, docs/experiments/vram-footprint-5090.md; expert tier auto-sized per layer from data/expert-profile.bin, adaptive speculative window with spec-min-p 0, MTP draft vocabulary, prefix cache 6144 MiB (explicit cap: what `auto` resolves to on this host, 5.7-6.1 GiB; unlike `auto` it cannot grow when RAM is freed) with request-end checkpoints (reply), chain kernels): no speed claim is made in this text (the paired 245k series against vanilla Strata is docs/experiments/baseline-pair-5090.md). Prompt chunk and prefix-cache grid 8192 (paired 256k session on the 5090: TTFT sum 131 s at 2048 against 55-60 s at 8192, docs/upstream-port-plan.md). Prompt-routing seed OFF (engine_env LELEKA_ORIGINAL_SERVE_SEED=off, placement class, owner to confirm; docs/experiments/decode-tail-5090.md: +27 % decode at 45k-247k prompts). MTP draft attention = upstream pre75 chunk + merge v2 (engine_env LELEKA_SM120_ATTN_DAILY_MTP=1, bitwise identical on the replay gate, draft round 0.29 ms and whole round 0.37 ms shorter at 245k, docs/experiments/draft-round-5090.md). Main attention and gate/up SwiGLU sm_120 kernels on (engine_env LELEKA_SM120_ATTN_DAILY=1, LELEKA_SM120_GU_SWIGLU=1: bitwise identical on the teacher-forced gate, decode +1.85 % paired, docs/experiments/codex-compare-speed-gap.md). GDN gates and gate projection on two side streams of the verify graph (engine_env LELEKA_SM120_SIDE_MIXER=1: identical top-16 logprob rows and draft trace on the teacher-forced gate, decode +1.39 % paired, CI +0.46..+2.32 %, docs/experiments/step-ledger.md V3a). QSA indexer/query chains (LELEKA_SM120_SIDE_QSA=1, mixer phase of a QSA layer -14.8 us) and the shared expert (LELEKA_SM120_SIDE_SHARED=1, doorbell to first expert 27.6 -> 10.9 us) on side streams too: identical rows and draft trace, section deltas in step-ledger.md V3b/V4a. Expert tier layout: global rank fill (engine_env LELEKA_ORIGINAL_SERVE_EXPERT_PER_LAYER=no) and a PCIe share of 0.65 (LELEKA_ORIGINAL_SERVE_PCIE_FRAC), default on by the owner 2026-11-12; placement class, paired 5-pair group A/B on release 02c784249a7e: decode +8.2 % (CI +6.5..+9.9), ms/round -7.2 %, A/A floor +0.2 %, minimum free VRAM 478 MiB at the 256k configuration (docs/experiments/step-ledger.md H4). LOSSY route tail skip ON by the owner 2026-11-13 (engine_env LELEKA_ROUTE_TAIL_SKIP=7, LELEKA_ROUTE_TAIL_SKIP_MAX_CACHED=100): a missed expert that every token of the window routes at rank 7 or lower is neither copied nor computed and its weight is not renormalised, so the OUTPUT CHANGES; the engine logs 'EXPERIMENTAL route tail skip is ON'; gate on release 83bdd85bb482 n=3: CRM decode +14.5 %, ttt +11.5 %, logit flips 3.6 % against the Original's 2.8 % envelope (open points accepted by the owner, docs/deploy.md section 4, docs/experiments/step-ledger.md H9); turn it off with LELEKA_ROUTE_TAIL_SKIP=0 in a copy of the profile. Tier swap bursts ON by the owner 2026-11-13 (engine_env LELEKA_ORIGINAL_SERVE_ADAPT_EVERY=2, LELEKA_ORIGINAL_SERVE_ADAPT_SWAPS=48; engine defaults 4 and 96): the adaptive tier keeps the same swap throughput per round (96 per 4 rounds) in bursts of 48 every 2 rounds that fit under the draft, placement class; swap wait 0.351 -> 0.098 ms, paired decode +1.53 % (CI +0.26..+2.79, 3 blocks), release 83bdd85bb482 at 67k; it passes the control-relative placement gate against the worst of three PCIe-share controls and not against the single 0.55 control, accepted by the owner (docs/experiments/host-round.md, docs/deploy.md section 4); to revert set ADAPT_EVERY=4 and ADAPT_SWAPS=96 or remove both keys. Not a formally quality-gated profile.",
|
||||
"select": {"sm_min": 120, "sm_max": 130, "vram_mib_min": 30000, "vram_mib_max": 1000000},
|
||||
"gpu_budget_bytes": 32819404800,
|
||||
"spec_min_p": 0.0,
|
||||
@@ -14,6 +14,6 @@
|
||||
"min_vram_total_mib": 30000,
|
||||
"min_ram_total_bytes": 107374182400,
|
||||
"min_ram_available_bytes": 113000000000,
|
||||
"engine_env": {"LELEKA_PREFILL_LOAN_TIERS": "1", "LELEKA_DRAFT_CHECK_MERGE": "1", "LELEKA_PREFIX_PARK_FAST": "1", "LELEKA_DECODE_GRAPH_REUSE": "1", "STRATA_PREFILL_STREAM_MIN": "1536", "LELEKA_ORIGINAL_SERVE_EXPERT_PER_LAYER": "no", "LELEKA_ORIGINAL_SERVE_PCIE_FRAC": "0.65", "LELEKA_CHAIN": "all", "LELEKA_ORIGINAL_SERVE_SEED": "off", "LELEKA_SM120_ATTN_DAILY_MTP": "1", "LELEKA_SM120_ATTN_DAILY": "1", "LELEKA_SM120_GU_SWIGLU": "1", "LELEKA_SM120_SIDE_MIXER": "1", "LELEKA_SM120_SIDE_QSA": "1", "LELEKA_SM120_SIDE_SHARED": "1", "LELEKA_SM120_FUSED_QSA_PRELUDE": "1", "LELEKA_DRAFT_FUSED_COMMIT": "1", "LELEKA_SM120_COMBINE_VEC4": "1", "LELEKA_SM120_DOWN_SUB16": "1", "LELEKA_SM120_HITS_IN_COMBINE": "1", "LELEKA_SM120_HEAD_CHAIN_BATCH": "1", "LELEKA_ROUTE_TAIL_SKIP": "7", "LELEKA_ROUTE_TAIL_SKIP_MAX_CACHED": "100", "LELEKA_PLE_ON_CHAIN": "on"},
|
||||
"engine_env": {"LELEKA_PREFILL_LOAN_TIERS": "1", "LELEKA_DRAFT_CHECK_MERGE": "1", "LELEKA_PREFIX_PARK_FAST": "1", "LELEKA_DECODE_GRAPH_REUSE": "1", "STRATA_PREFILL_STREAM_MIN": "1536", "LELEKA_ORIGINAL_SERVE_EXPERT_PER_LAYER": "no", "LELEKA_ORIGINAL_SERVE_PCIE_FRAC": "0.65", "LELEKA_CHAIN": "all", "LELEKA_ORIGINAL_SERVE_SEED": "off", "LELEKA_SM120_ATTN_DAILY_MTP": "1", "LELEKA_SM120_ATTN_DAILY": "1", "LELEKA_SM120_GU_SWIGLU": "1", "LELEKA_SM120_SIDE_MIXER": "1", "LELEKA_SM120_SIDE_QSA": "1", "LELEKA_SM120_SIDE_SHARED": "1", "LELEKA_SM120_FUSED_QSA_PRELUDE": "1", "LELEKA_DRAFT_FUSED_COMMIT": "1", "LELEKA_SM120_COMBINE_VEC4": "1", "LELEKA_SM120_DOWN_SUB16": "1", "LELEKA_SM120_HITS_IN_COMBINE": "1", "LELEKA_SM120_HEAD_CHAIN_BATCH": "1", "LELEKA_ROUTE_TAIL_SKIP": "7", "LELEKA_ROUTE_TAIL_SKIP_MAX_CACHED": "100", "LELEKA_PLE_ON_CHAIN": "on", "LELEKA_ORIGINAL_SERVE_ADAPT_EVERY": "2", "LELEKA_ORIGINAL_SERVE_ADAPT_SWAPS": "48"},
|
||||
"memory": {"prefix_cache_mib": "6144", "prefix_cache_tail": "reply", "prefix_cache_block": 8192, "soft_floor_mib": 4096, "hard_floor_mib": 2048, "reserve_mib": 2048, "lock": "try", "heal": true}
|
||||
}
|
||||
|
||||
@@ -113,6 +113,8 @@ The files live in [`deploy/rust-runtime/profiles/`](../deploy/rust-runtime/profi
|
||||
|
||||
**Route tail skip, LOSSY, on by default in the 5090 profiles (owner decision 2026-11-13).** The three 5090 profiles (`rtx5090-32g`, `-file`, `-gguf-ple`) set `LELEKA_ROUTE_TAIL_SKIP=7` and `LELEKA_ROUTE_TAIL_SKIP_MAX_CACHED=100` as `engine_env` keys (the only two `LELEKA_ROUTE_` keys the profile allow-list lets through, `crates/deploy/src/profile/profile_limits.rs`). Semantics: a missed expert (not in the VRAM tier) that every token of the verify window routes at rank 7 or lower is neither copied over PCIe nor computed on the CPU, and its weight is not renormalised, so THE OUTPUT CHANGES (the same shipped default as vanilla Strata 0.2.x, rank 7). The skip applies while less than `MAX_CACHED` percent of all experts are in VRAM (100: always, on this card the tier holds about 50 %). The engine says so in `engine.log`: `leleka-serve: EXPERIMENTAL route tail skip is ON (LELEKA_ROUTE_TAIL_SKIP=7, ...% of the experts in VRAM)`, and both keys are in the `engine environment` line of `leleka up`. Gate evidence (release 83bdd85bb482, real Codex CLI, 3 repetitions per arm, `docs/experiments/codex-compare-speed-gap.md` "Lever 7 gate"): CRM decode 211.0 tok/s against 184.2 (+14.5 %), CRM wall -15 %, CRM rounds -11 %, ttt decode 202.6 against 181.7 (+11.5 %), ttt rounds +39 % (one 49-round session, the median equals the baseline), relaxed CRM acceptance 56/56, 56/56, 55/56, ttt 14/14 x 3; logit gate 3.6 % argmax flips against the Original's own envelope of 2.8 %. The gate was assessed and its open points (the logit envelope 3.6 % against 2.8 %, the ttt round growth, n = 3) were overridden explicitly by the owner on 2026-11-13; this is the one recorded exception to the rule "no lossy default before its quality gate passes" (`AGENTS.md`), logged as row H9 of `docs/experiments/step-ledger.md` and in plan stage 6f. The laptop profile `rtx3080-16g` is unchanged (tail skip off). To turn it off set `LELEKA_ROUTE_TAIL_SKIP=0` (in a copy of the profile, `--profile FILE.json`, or as an operator `engine_env` value) or remove the key.
|
||||
|
||||
**Tier swap bursts, on by default in the 5090 profiles (owner decision 2026-11-13, placement class).** The three 5090 profiles (`rtx5090-32g`, `-file`, `-gguf-ple`) set `LELEKA_ORIGINAL_SERVE_ADAPT_EVERY=2` and `LELEKA_ORIGINAL_SERVE_ADAPT_SWAPS=48` as `engine_env` keys (both under the allowed `LELEKA_ORIGINAL_SERVE_` prefix); both appear in the `engine environment` line of `leleka up`. What it does: the adaptive expert tier swaps up to 48 experts every 2 rounds instead of up to 96 every 4 rounds (the engine's own defaults, `ADAPT_EVERY` 4 and `ADAPT_SWAPS` 96 when the keys are absent): the same swap throughput per round in bursts of about 1.65 ms that fit under the draft chain, so the host waits less for the copies. Evidence (stage 6c, release 83bdd85bb482, 67k replay, `docs/experiments/host-round.md` sections 5 and 6): swap wait (`round.apply_pending`) 0.351 -> 0.098 ms per round, paired decode +1.53 % (95% CI +0.26..+2.79, 3 blocks). Quality gate: it is a placement-class change (which experts sit in VRAM), judged by the control-relative rule of H4 on the teacher-forced 256k session. Against the worst of three ordinary controls (PCIe share 0.35 / 0.55 / 0.75) it passes: limits p99 0.2745, max 1.027, flips 2.31 %; variant 0.1915 / 0.796 / 1.73 %. It did NOT pass against the single 0.55 control alone (max 0.796 against 0.497); the owner accepted this explicitly (judged against the worst ordinary control, as for the PCIe 0.65 default). The tier cadence allocates no VRAM, so the 256k free-VRAM floor of H4 does not apply. The laptop profile `rtx3080-16g` is unchanged. To turn it off set `LELEKA_ORIGINAL_SERVE_ADAPT_EVERY=4` and `LELEKA_ORIGINAL_SERVE_ADAPT_SWAPS=96` (the previous defaults, in a copy of the profile with `--profile FILE.json`, or as operator `engine_env` values) or remove both keys. Row H4 and the 6c paragraph of `docs/experiments/step-ledger.md` record the decision.
|
||||
|
||||
Both profiles also carry a `memory` section (prefix cache `auto`, soft/hard floors 4096/2048 MiB, reserve, lock and heal of the sealed memfd): the engine sizes its caches from the memory left after the fixed footprint, sheds and refuses under pressure, and refuses to start with numbers when the footprint does not fit ([`memory-safety.md`](memory-safety.md)). The unit sets `LimitMEMLOCK=infinity`, which is what lets the lock keep the 55 GB memfd out of swap.
|
||||
|
||||
Both profiles run `--backend-mode original` and the level-2 archive; the routed-expert bank must be admitted before the Original stack opens, which `leleka-inference` now does from `--expert-source resident|mapped` (see section 10, finding 1). They select documented switches only (budget, context, archive form, the
|
||||
|
||||
@@ -152,7 +152,7 @@ single-row max is 0.796 (one row), TW passes p99 and max but its flip rate is 2.
|
||||
| TW (every 2, 96) | 1770 | 40 (2.26 %) | 0.2010 | 0.371 |
|
||||
|
||||
**Verdict: both T and TW pass the control-relative rule against the worst of three ordinary placement changes** (T with margin on all three numbers, TW with 2.26 % against 2.31 % on the flip rate). The tier cadence
|
||||
allocates no VRAM, so the 256k floor of H4 does not apply. Not made a default: the quota/share default (H4) went in only after the e2e acceptance of the candidate, and a placement-class default is the owner's word. The profile
|
||||
allocates no VRAM, so the 256k floor of H4 does not apply. Made a default by the owner's explicit decision of 2026-11-13 (he accepted that T did not pass against the single 0.55 control alone, max 0.796 against 0.497; a placement-class change is judged against the worst ordinary control, as for the PCIe 0.65 default). The profile
|
||||
change is two keys (`LELEKA_ORIGINAL_SERVE_ADAPT_EVERY` = 2, `LELEKA_ORIGINAL_SERVE_ADAPT_SWAPS` = 48, both under the allowed `LELEKA_ORIGINAL_SERVE_` prefix) in the three 5090 profiles. Job
|
||||
`decode-tier-swap-bursts-every1-swaps48-vs-every2-swaps48-vs-default-throughput-blocks` (arm T1: a burst of 48 swaps after every round, twice the throughput of T in bursts of the same size) is queued behind the e2e series.
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
| 5 | Decode: verify-граф (бічні гілки: mixer, QSA, shared) | speed | **зроблено**, дефолт увімкнено (+1,39 % і дільничні дельти) |
|
||||
| 6 | Decode: ядра mixer-половини (S10 батчований append K/V, GDN K7/K7a), accept на пристрої (0,32→0,08 мс), commit (fused) | speed | у роботі |
|
||||
| 6b | Decode: вимір критичного шляху раунду (хост/тир: flag-waits, doorbell, прихід CPU-ноги у ранніх шарах), бо секційні дельти ядер до раунду не доходять (pb-vs-pg-rerun, 2026-11-12). Запис 2026-11-12 за словом оркестратора, щоб закрити залишок −11 % decode | speed | відкрито |
|
||||
| 6c | Decode: хост між графами (4,3 мс, GPU стоїть 1,95 мс): PLE-staging, ланцюг драфту на пристрої, scan у граф, swap-чекання тиру (політика), commit | агент host-round | **зроблено частково 2026-11-13** (`docs/experiments/host-round.md`): PLE-рядки під ланцюгом драфту (`LELEKA_PLE_ON_CHAIN`, bit-exact: 2057/2057 рядків, 1036/1036 draft-рядків, A/A 0; `window.ple` 0,194→0,060 мс/раунд; увімкнено в профілях 5090); tier-burst «кожні 2 раунди, 48 свопів» (`ADAPT_EVERY=2 ADAPT_SWAPS=48`) знімає 0,25 мс очікування свопу, placement-клас, гейт проти найгіршого з трьох контролів (share 0,35/0,55/0,75) ПРОЙДЕНО (T: p99 0,19, max 0,80, flips 1,73 % проти лімітів 0,27 / 1,03 / 2,31 %), дефолт лише зі словом власника та e2e; разом A/B 5 блоків: decode +2,7 % (CI +2,3…+3,1), A/A +0,5 %. Решта хоста ≈ 0,3 мс/раунд; verify launch 1,3 мс був артефактом трасера, ланцюг на пристрої ≈ 0,085 мс, scan у граф ≈ 0,04 |
|
||||
| 6c | Decode: хост між графами (4,3 мс, GPU стоїть 1,95 мс): PLE-staging, ланцюг драфту на пристрої, scan у граф, swap-чекання тиру (політика), commit | агент host-round | **зроблено частково 2026-11-13** (`docs/experiments/host-round.md`): PLE-рядки під ланцюгом драфту (`LELEKA_PLE_ON_CHAIN`, bit-exact: 2057/2057 рядків, 1036/1036 draft-рядків, A/A 0; `window.ple` 0,194→0,060 мс/раунд; увімкнено в профілях 5090); tier-burst «кожні 2 раунди, 48 свопів» (`ADAPT_EVERY=2 ADAPT_SWAPS=48`) знімає 0,25 мс очікування свопу, placement-клас, гейт проти найгіршого з трьох контролів (share 0,35/0,55/0,75) ПРОЙДЕНО (T: p99 0,19, max 0,80, flips 1,73 % проти лімітів 0,27 / 1,03 / 2,31 %), **дефолт у трьох профілях 5090 за явним рішенням власника 2026-11-13** (ключі `ADAPT_EVERY=2`, `ADAPT_SWAPS=48`; гейт проти єдиного контролю 0,55 не пройдено — max 0,796 проти 0,497 — власник це прийняв: placement-клас судять за найгіршим звичайним контролем, як PCIe 0,65; відкат — повернути 4 і 96 або прибрати ключі; підтвердження e2e CRM×3 + ttt×3 у черзі); разом A/B 5 блоків: decode +2,7 % (CI +2,3…+3,1), A/A +0,5 %. Решта хоста ≈ 0,3 мс/раунд; verify launch 1,3 мс був артефактом трасера, ланцюг на пристрої ≈ 0,085 мс, scan у граф ≈ 0,04 |
|
||||
| 6d | Decode: токенів на раунд (accept) і драфтер: порівняти з ванільою та з upstream DFlash2 per-device (Blackwell cc 12.0: conf 0,35→0,55, window 6→8), що дає tok/round | агент acceptance | аналіз зроблено (`acceptance-knobs-5090.md`: accept у нас 3,19 проти 2,96 у vanilla, DFlash2-пер-девайс не стосується 5090 32 ГБ, 12-рядкове вікно ≤ +2 %); виміри ручок у черзі GPU |
|
||||
| 6e | Decode: CPU-ядро експерта IQ3_S/IQ4_NL (було ≈3× повільніше за Original; фікс 0c48c823e у main, A/B на 243k іде), далі prefetch 2048 Б і multi512 | агент cpu-kernel | у роботі |
|
||||
| 6f | Lossy tail skip (+10..12 %): гейт якості (CRM за строгим і м'яким acceptance, ttt, ріст раундів ≤ приросту швидкості) | агент tail-gate | n=3 виконано 2026-11-13 на 83bdd85bb482: CRM decode 211 (+14,5 %), раунди −11 %, relaxed 56/56 у 2 з 3 (як у дефолту); ttt decode +11,5 %, раунди +39 % (один сеанс 49 раундів), логіт-гейт 3,6 % flips > 2,8 %; не доведено за гейтом; **РІШЕННЯ ВЛАСНИКА 2026-11-13: lossy tail skip (`LELEKA_ROUTE_TAIL_SKIP=7`, `..._MAX_CACHED=100`) увімкнено за замовчуванням у профілях 5090** (`rtx5090-32g`, `-file`, `-gguf-ple`; ноутбучний профіль без змін), відкриті пункти гейту (логіти 3,6 % проти 2,8 %, ріст раундів ttt, n=3) власник прийняв явно; вимкнути: `LELEKA_ROUTE_TAIL_SKIP=0`; `docs/deploy.md` розд. 4, рядок H9 у `step-ledger.md`; підтвердження на пакеті з дефолтним профілем без shell-експортів: див. `codex-compare-speed-gap.md`, кінець |
|
||||
|
||||
@@ -87,7 +87,7 @@ Round-level totals first (they are the sum of the steps below).
|
||||
|
||||
**Critical path step A, first launch failed (2026-11-12).** `decode-critical-path-cupti-windows-67k-default-vs-quota-no-pcie065-and-twin`: all six sessions NOT READY in 3 s, no engine started: release 02c784249a7e validates profile `engine_env` keys against `ENGINE_ENV_PREFIXES` (`profile_limits.rs`) and `spd_arm_guard.py make` wrote `LELEKA_SPEC_STATS` into the arm profile. Fixed in `spd_arm_guard.py` (only the allowed prefixes go into the profile, the rest stays in the shell env); rerun stub `…-twin-rerun`, output `/data/leleka-e2e/spd-gap/runs/decode-critical-path-cupti-windows-67k-default-vs-quota-no-pcie065-and-twin-rerun`. The pool-layer job `decode-pool-layer-trace-67k-default-placement-release-0ac612d2df74` (`LELEKA_POOL_TIMING`) had the same bug in its tool copy and now uses the fixed guard.
|
||||
|
||||
**Host round, stage 6c (2026-11-13, `docs/experiments/host-round.md`, branch `claude/host-round`).** (1) TIMELINE of the owner default (release 83bdd85bb482, PROVENANCE git_commit 83bdd85bb48226a41bcec6034d87e1ea6528b570, tarball sha256 3837a32b..., job `decode-host-round-cupti-windows-67k-owner-default-release-83bdd85bb482-and-twin-and-step-profile`, arm guard ok; the step A jobs had never started an engine, so no such window existed): 6 CUPTI windows (4,075 rounds) between graphs 4.38 ms (twins 4.19 / 4.60, the windows range 3.4-5.7 by request): wake+scan+accept 0.044, launches 0.170, round graph 0.595, chain steps 1.338, chain turns 0.327, window build 0.075, swap wait 0.395, PLE staging+prep 0.205, verify launch 1.230 (tracer). Untraced spans of the same release (DP.1, 13,778 rounds): `round.apply_pending` 0.395, `window.ple` 0.206, `draft.launch` 0.009, `round.plan` + `round.checkpoints` + `round.adopt` 0.001 each, one chain step 0.486 ms host against 0.459 GPU (27 us of host); `round.verify_commit` 15.6 + `round.finish` 2.4 = 18.06 ms per round. The host-attributable serial part that survives the tracer is the swap wait and the PLE gather (0.60 ms, 3.3 %). (2) `LELEKA_PLE_ON_CHAIN` (bit-identical): the window's PLE rows are gathered behind the draft chain steps (hook in `OriginalMtpDrafter::finish_chain`, `KarPleCache::gather_ahead`, stream-0-only drains `compute_drain::LocalDrain`, skipped while swap copies run). Section delta (3 blocks, profiled, `host_round_spans.py`): `window.ple` 0.194 -> 0.060 ms per round (-0.134, CI +-0.002; the DP blocks spread 0.001), chain step time unchanged (0.485 host / 0.459 GPU). Identity (job `…identity-teacher-forced-draftround-reference-vs-on-vs-verify-rerun`, test binary sha256 1af19f5b...): 2057 of 2057 top-16 logprob rows identical, 0 argmax flips, 1036 of 1036 draft lines identical, A/A floor 0 in all three processes, and the verify process compared 1000+ taken rows bit for bit with a direct gather (no MISMATCH). ON in the three 5090 profiles. (3) TIER BURSTS (placement class, not a default): adapt every 2 rounds with up to 48 swaps removes 0.25 ms of the swap wait (`round.apply_pending` 0.351 -> 0.098); paired decode +1.53 % (CI +0.26..+2.79, 3 blocks). Control-relative gate against the share-0.55 control: T p99 0.1915 / max 0.796 / flips 1.73 % against limits 0.258 / 0.497 / 2.09 % (max fails), TW (every 2, 96 swaps) 0.201 / 0.371 / 2.26 % (flips fail), A/A floor 0: against the single share-0.55 control it is not clean, against the worst of three controls (shares 0.35 / 0.55 / 0.75: limits p99 0.2745, max 1.027, flips 2.31 %) both T (0.1915 / 0.796 / 1.73 %) and TW (0.2010 / 0.371 / 2.26 %) PASS; no VRAM floor involved; not a default without the owner's word and an e2e (profile keys `LELEKA_ORIGINAL_SERVE_ADAPT_EVERY=2`, `LELEKA_ORIGINAL_SERVE_ADAPT_SWAPS=48`). (4) CUMULATIVE paired A/B (PLE on chain + T against the default, 5 blocks, A/A twin, no profile): decode 206.23 -> 211.80 tok/s, +5.57 +- 0.78 (+2.70 %, CI +2.32..+3.08), against the twin +2.17 % (CI +1.78..+2.56); the twin against D +0.52 % (CI -0.10..+1.14). The identified items that were NOT worth doing: verify launch (tracer), on-device chain (untraced 0.085 ms), scan into the graph (0.04). Remaining host-serial after this: about 0.3 ms per round, mostly the last row of the PLE gather, the residual swap wait and the chain turns.
|
||||
**Host round, stage 6c (2026-11-13, `docs/experiments/host-round.md`, branch `claude/host-round`).** (1) TIMELINE of the owner default (release 83bdd85bb482, PROVENANCE git_commit 83bdd85bb48226a41bcec6034d87e1ea6528b570, tarball sha256 3837a32b..., job `decode-host-round-cupti-windows-67k-owner-default-release-83bdd85bb482-and-twin-and-step-profile`, arm guard ok; the step A jobs had never started an engine, so no such window existed): 6 CUPTI windows (4,075 rounds) between graphs 4.38 ms (twins 4.19 / 4.60, the windows range 3.4-5.7 by request): wake+scan+accept 0.044, launches 0.170, round graph 0.595, chain steps 1.338, chain turns 0.327, window build 0.075, swap wait 0.395, PLE staging+prep 0.205, verify launch 1.230 (tracer). Untraced spans of the same release (DP.1, 13,778 rounds): `round.apply_pending` 0.395, `window.ple` 0.206, `draft.launch` 0.009, `round.plan` + `round.checkpoints` + `round.adopt` 0.001 each, one chain step 0.486 ms host against 0.459 GPU (27 us of host); `round.verify_commit` 15.6 + `round.finish` 2.4 = 18.06 ms per round. The host-attributable serial part that survives the tracer is the swap wait and the PLE gather (0.60 ms, 3.3 %). (2) `LELEKA_PLE_ON_CHAIN` (bit-identical): the window's PLE rows are gathered behind the draft chain steps (hook in `OriginalMtpDrafter::finish_chain`, `KarPleCache::gather_ahead`, stream-0-only drains `compute_drain::LocalDrain`, skipped while swap copies run). Section delta (3 blocks, profiled, `host_round_spans.py`): `window.ple` 0.194 -> 0.060 ms per round (-0.134, CI +-0.002; the DP blocks spread 0.001), chain step time unchanged (0.485 host / 0.459 GPU). Identity (job `…identity-teacher-forced-draftround-reference-vs-on-vs-verify-rerun`, test binary sha256 1af19f5b...): 2057 of 2057 top-16 logprob rows identical, 0 argmax flips, 1036 of 1036 draft lines identical, A/A floor 0 in all three processes, and the verify process compared 1000+ taken rows bit for bit with a direct gather (no MISMATCH). ON in the three 5090 profiles. (3) TIER BURSTS (placement class; ON in the three 5090 profiles by the owner 2026-11-13, see below): adapt every 2 rounds with up to 48 swaps removes 0.25 ms of the swap wait (`round.apply_pending` 0.351 -> 0.098); paired decode +1.53 % (CI +0.26..+2.79, 3 blocks). Control-relative gate against the share-0.55 control: T p99 0.1915 / max 0.796 / flips 1.73 % against limits 0.258 / 0.497 / 2.09 % (max fails), TW (every 2, 96 swaps) 0.201 / 0.371 / 2.26 % (flips fail), A/A floor 0: against the single share-0.55 control it is not clean, against the worst of three controls (shares 0.35 / 0.55 / 0.75: limits p99 0.2745, max 1.027, flips 2.31 %) both T (0.1915 / 0.796 / 1.73 %) and TW (0.2010 / 0.371 / 2.26 %) PASS; no VRAM floor involved. OWNER DECISION 2026-11-13 (explicit): `LELEKA_ORIGINAL_SERVE_ADAPT_EVERY=2` and `LELEKA_ORIGINAL_SERVE_ADAPT_SWAPS=48` are `engine_env` keys of `rtx5090-32g`, `-file` and `-gguf-ple` (the laptop profile is unchanged; the engine defaults without the keys are 4 and 96, the same swap throughput per round, `tail_skip_rank.rs` `off()`). The owner accepted that it did NOT pass against the single 0.55 control alone (max 0.796 against 0.497): a placement-class change is judged against the worst ordinary control, as for the PCIe 0.65 default (H4). Revert: set the two keys to 4 and 96 in a copy of the profile or remove them (docs/deploy.md section 4). The confirmation e2e (CRM x3 + ttt x3 on the default profile) is recorded below when it has run. (4) CUMULATIVE paired A/B (PLE on chain + T against the default, 5 blocks, A/A twin, no profile): decode 206.23 -> 211.80 tok/s, +5.57 +- 0.78 (+2.70 %, CI +2.32..+3.08), against the twin +2.17 % (CI +1.78..+2.56); the twin against D +0.52 % (CI -0.10..+1.14). The identified items that were NOT worth doing: verify launch (tracer), on-device chain (untraced 0.085 ms), scan into the graph (0.04). Remaining host-serial after this: about 0.3 ms per round, mostly the last row of the PLE gather, the residual swap wait and the chain turns.
|
||||
|
||||
**CPU expert kernels IQ3_S / IQ4_NL (commit `0c48c823e`, 2026-11-12/13, stage 6b step 3): identity bitwise, decode neutral at 243k, pool window median faster, tail not.** Base = main with the kernel commit reverted (release `c1f15db2fa99`, branch `claude/kernel-iq3s-register-indices-base`), new = main (release `bcbfa2c99422`); both from one tree (the group A/B driver and the identity script are the only other changes, commit `bcbfa2c99`), owner default profile (quota=no + PCIe 0.65, 15 CPU workers). Inputs frozen in `/data/leleka-e2e/prefill-latency/kernel-iq3s-register-indices/` (`MANIFEST.sha256`: engine test binaries `dt/rt-base` f87edd9c, `dt/rt-new` da4f0b1e, both tarballs, tools); stubs `cpu-expert-kernel-register-indices-*` in `scripts/e2e/codex/prefill/kernel/`. (1) Identity `runs/cpu-expert-kernel-register-indices-identity-draftround` (teacher forced, night5-long-256k, 240 tokens, base and new at 1 and at 15 CPU workers, A/A pair inside every process): 2057 of 2057 top-16 logprob rows identical, 0 argmax flips, 1036 of 1036 draft trace lines identical, A/A floor 0, `q_tail_gate` PASS in all four processes. (2) Group A/B `runs/cpu-expert-kernel-register-indices-vs-base-243k-group-ab-5-pairs` (the 243k Codex session, 39 requests, 5 pairs + 3 A/A twins, arm guard and binary digest ok in 13 of 13 blocks): decode K-B -0.64 tok/s (190.42 -> 189.77, -0.34 %, 95 % CI -3.33..+2.65), ms/round -0.03 (-0.20 %, CI -4.31..+3.91), tokens/round -0.02 (-0.58 %); A/A twin BT-B -0.83 tok/s (-0.43 %, CI -4.30..+3.43). Verdict by the owner rule (identity bitwise AND decode not worse than -0.5 %, or the A/A floor if larger; the floor 0.43 % is below 0.5 %): PASS, kept as the default; there is NO measurable decode gain at this noise (CI +-3 %). (3) Pool thread trace `runs/cpu-expert-kernel-register-indices-pool-thread-trace-base-vs-new` (replay nestng-crm-r2, PTB base against PTK new; by expert count and T = 2..4, `pool_layer_report.py --by-experts`): gate/up task p50 15.2 -> 10.7 us (-30 %), down task 5.2 -> 5.2 us (unchanged: the IQ4_NL change is the single-row path, the pool decodes 2..5 rows); window of 1 expert p50/p75/p90 82/89/97 -> 70/86/95 us, of 2 experts 160/170/186 -> 138-143/160-168/178-185 us, of 3 experts p50 241 -> 218-227 us. The median of a window fell by 12-20 us, the p75/p90 tail by only 2-9 us: the tail (the part a layer waits for) is not compute. Open (separate steps): prefetch 2048 B ahead like the Original (COLD-HOT +25-80 us), the multi-row down path (`multi512`: 662 us against the Original's 454 us in the kernel bench). (4) Group A/B 67k `runs/cpu-expert-kernel-register-indices-vs-base-67k-group-ab-5-pairs` (replay VANL/nestng-crm-r2, 30 requests, 5 pairs + 3 A/A twins, arm guard and binary digest ok in 13 of 13 blocks): decode K-B +2.34 tok/s (204.11 -> 206.45, +1.14 %, 95 % CI -0.22..+2.51), ms/round -0.12 (-0.69 %, CI -6.38..+5.01), tokens/round +0.02 (+0.44 %, CI -6.27..+7.15), end-to-end +0.17 %; A/A twin BT-B -1.63 tok/s (-0.80 %, CI -4.41..+2.81), so the A/A floor (0.8 %) is as large as the gain: PASS by the owner rule (not worse than -0.5 %), a gain of about +1 % that the twin does not exclude as noise. Both group A/Bs: no loss, 243k neutral, 67k +1.1 %.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user