Commit Graph
1167 Commits
Author SHA1 Message Date
Pavlo RatushnyiandClaude Sonnet 5.5 5aa27eeb73 Merge claude/baseline-pair (part e): reboot-per-run series scripts, prefetch, owner-readahead; series stopped after cycle 1 (cold-read cost)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 01:27:35 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 535087e04a baseline-pair part e: reboot-per-run series stopped after cycle 1 (cold-read cost), fresh-boot vanilla finding, owner readahead script
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 01:27:05 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 ca3eb4f8fa scripts: reboot series, prefetch of the KAR file and model shard (cold buffered reads run at ~30 MB/s on this NVMe), START_CYCLE
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 00:11:14 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 41710bd350 Merge claude/laptop-pair: guarded paired ours-vs-vanilla series for the 3080 laptop (script, client, analyzer, thresholds, plan). No GPU run yet: owner preconditions pending
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 23:38:32 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 75f6cf9684 docs: laptop-pair frozen inputs (manifest a0da2980, prompts, corpus d29e3dba2)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 23:37:52 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 5c408d8374 laptop-pair: guarded paired ours-vs-vanilla series for the RTX 3080 laptop (prepared, not run)
scripts/e2e/laptop/laptop-pair.ps1: Install (frozen inputs + MANIFEST), Vanilla (launcher
identity), Prepare (ours up --mode none + verify), Check (read-only preconditions: Turbo,
AC, enforced limit >= 100 W, not P5, timeouts, no WSL/Docker/build/engine, ports, STOP,
lock), SelfTest, Smoke (one 5-minute guarded ours arm), Series (ours/v1/v2 in balanced
block permutations). Each arm: guard.ps1 -> watchdog.ps1 (1 Hz, 85 C) -> arm driver
(30 s progress lines, AC check, log-stall rule -> STALL). Client sends two frozen,
byte-identical requests per arm (cold N tokens, reuse + 2k delta); analyzer pairs
arms inside blocks with validity per run. Thresholds: S3.1 BOOTSTRAP with 85 C.
docs/experiments/laptop-pair-3080.md: plan, preconditions, owner actions, commands,
durations, inventory and build hashes of main d29e3dba2.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 23:37:02 +01:00
Pavlo Ratushnyi bcdb5f92f9 scripts: reboot series, pgrep must not match its own ssh command 2026-11-01 23:27:11 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 953984d719 scripts: baseline-pair part e, one arm per fresh boot (laptop-driven reboot series, cycle hook, ENTRIES)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 23:16:35 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 d29e3dba24 Merge claude/baseline-pair (parts c, d): final pairing on main ffd9322c7: ours 155.6 tok/s vs vanilla v2 132.9 (+17.2%, 6/6 blocks; vanilla mostly in poor THP state), hugepages +0.5% (unresolved)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 07:50:44 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 e738d1c3eb docs: baseline-pair parts c and d (main 11e021161 and ffd9322c7, hugepages arm, PCIe 0.45), final paired table
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 07:50:17 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 d47942f2e2 scripts: baseline-pair ourshp arm (LELEKA_HUGEPAGES=on), PCIE_FRAC pin, bin-main-* in the manifest
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 06:17:51 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 ffd9322c7c run-e2e: default PCIe share 0.45 (the product default); 0.45/0.55/0.65 measured equal end to end (cpu-service2)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 05:57:21 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 3126b9e6cf Merge claude/cpu-service2: CPU expert admission moved to pool open (LELEKA_CPU_ADMIT_EAGER=off restores first use), vectorised q8_k. Bit-identical (353/353 rows both), paired A/B +4.24% tok/s (6/6 pairs, base SD 0.34%), -0.36 ms/round; PCIe share 0.45/0.55/0.65 equal end to end, product default stays 0.45
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 05:57:17 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 2e03d2bd12 docs: cpu-service2 page (PCIe share equal in 0.45-0.65, host breakdown, eager admission +4.24% tok/s 6/6 bitwise, q8_k, draft analysis, CRLF build pitfall)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 05:56:43 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 3aa19a9467 Merge claude/hugepages: opt-in LELEKA_HUGEPAGES=on (2 MiB aligned expert-bank buffers, MADV_HUGEPAGE + collapse, userspace only). Bitwise identical (353/353, 0 flips), paired A/B +1.29% tok/s (8 ABBA pairs, 7/8 positive, p~0.05), -0.11 ms/round; leaves 52.1 GiB of free 2 MiB blocks at exit vs 46.8. Default off
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 04:36:35 +01:00
Pavlo RatushnyiandClaude Opus 5.5 610cf5d95d docs: hugepages exit-fragmentation count corrected
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 04:35:31 +01:00
Pavlo RatushnyiandClaude Opus 5.5 0f68cbb990 docs: hugepages page (mapping facts, bitwise identity 353/353, paired A/B 8 pairs: +1.29 % tok/s 7/8, -0.11 ms/round 6/8, CPU pool per expert -1.8 % 8/8; exit leaves +5.3 GiB free 2 MiB blocks)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 04:35:23 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 a7400288fa scripts: cpu-service2 eager-admission A/B (6 pairs) and identity job
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 03:09:46 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 82f71834bc cpu-service2: admit every routed expert at CPU pool open (same open_group admission and checks; LELEKA_CPU_ADMIT_EAGER=off keeps first-use admission, 50 us per expert on the decode path); bench: first-use admission scan
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 03:06:27 +01:00
Pavlo RatushnyiandClaude Opus 5.5 2725385741 scripts: hugepages-id private MTP staging dir (0700), installer --tools-only; docs: hugepages page draft (mapping facts)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 02:56:56 +01:00
Pavlo RatushnyiandClaude Opus 5.5 a8171b2cc0 scripts: hugepages A/B, identity gate, analyser, installer; owner script for shmem THP (not run)
hugepages-ab.sh: one binary, hpoff vs hpon (LELEKA_HUGEPAGES=on), 8 ABBA-balanced pairs of the 5-turn
~245k session at the product PCIe share 0.45, baseline-sampler state record (buddyinfo, AnonHugePages,
process smaps_rollup) per run. hugepages-id.sh: bitwise replay identity at 8,000 static slots.
hugepages-analyze.py: pairs, predecessor split, exit fragmentation. owner-shmem-thp.sh: root-only
shmem_enabled toggle, not needed by the decode path. huge_pages.rs: mapped_len test-only (dead-code warning).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 00:16:35 +01:00
Pavlo RatushnyiandClaude Opus 5.5 e0141e510a model-format: opt-in huge-page placement of the resident expert banks (LELEKA_HUGEPAGES)
LELEKA_HUGEPAGES=on|thp (off by default; LELEKA_BANK_THP=on now selects thp) places each of the 144
resident bank copies in its own 2 MiB-aligned anonymous mapping instead of a heap Vec: MAP_HUGETLB when
HugePages_Free covers the bank (mode on only; nothing reserved), else MADV_HUGEPAGE + MADV_POPULATE_WRITE.
After the bank load and the shard page-cache drop, before cuMemHostRegister, huge_pages::settle() reports
the coverage from /proc/self/smaps and MADV_COLLAPSEs any 2 MiB range that fell back (best effort).
Pure placement: the bytes are the file's (read_tensor_into, same bounds and size fences). No system
setting is read-write.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 00:11:36 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 fe5910135d Merge claude/decode-tail-merge: decode-tail measurement records (PLE fix, seed gate, engine-commit identity PASS, speedtrain3 tables); code unchanged (ADAPT_DEFER default flip not applied)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 00:01:50 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 bc75204387 Merge claude/decode-tail: measurement records (PLE fix, seed quality gate, engine-commit identity, speedtrain3 tables)
Docs: docs/experiments/decode-tail-5090.md takes the branch's records (sections 1-9) and keeps main's seed-off profile text as section 7a, with a merge note on where main differs.
Code: no change to main. kar_ple_cache.rs (branch b5d4a0db7 equals main a73d09060; main also has the persistent scatter staging buffers) and original_serve_host.rs are main's. The branch's LELEKA_SERVE_ADAPT_DEFER default flip (9b03de2be, deferral off by default) is NOT taken: main's default is the deferral on, and flipping it would change main's behaviour; the opt-out LELEKA_SERVE_ADAPT_DEFER=off already exists.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 23:59:35 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 b49c9eb56b Merge claude/baseline-pair: paired interleaved ours-vs-vanilla tooling (sampler, analysers) and results: ours level with vanilla average (143.4 vs 145.4/142.1 tok/s, n=11/6/16), far steadier; vanilla drift partly explained by THP after ours runs. Part c (main 11e021161) queued
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 23:00:16 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 b16a40656f docs: baseline-pair page (balanced ours-vs-vanilla, machine-state record, THP predecessor effect)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 22:59:48 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 b693ef491e scripts: cpu-service2 PCIe A/B on bin-cs2 with stage timing and the legacy q8_k arm; cpu-service2 identity job
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 22:01:20 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 4c04459b95 cpu-service2: register-built multi-token IQ3 opt-in only (slower on Zen 5 in the bench); vectorized output check of computed rows (LELEKA_Q8K=legacy keeps the scan)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 21:57:03 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 a2cd2b3acc cpu-service2: pool stage timing (LELEKA_POOL_TIMING=1, cpu.t.* spans), cpu.admit span, tasks-per-thread knob; bit-exact AVX2 q8_k and vectorized token check (LELEKA_Q8K=legacy), register-built multi-token AVX-512 IQ3 decode (LELEKA_IQ_MULTI=legacy); CPU dispatch bench
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 21:49:04 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 fa186ecd83 scripts: baseline-pair ours45 arm (product PCIe share 0.45), SUBST_V1, bin-cpuservice in the manifest
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 21:48:22 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 bb2366944f scripts: cpu-service2 PCIe share A/B (0.45/0.55/0.65, 5 rotated blocks, one binary)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 21:41:04 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 11e0211616 Merge claude/cpu-service: vectorised single-token IQ3 CPU expert kernel + vectorised finite check. Bit-identical (353/353 rows, A/A 0), paired A/B +6.34% tok/s (5/5 blocks, one binary, base SD 0.86%), -0.27 ms/round; LELEKA_IQ_SINGLE=legacy / LELEKA_SINK_SCAN=legacy restore main. Harness PCIe share was 0.55
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 21:39:16 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 a6fa596f62 docs: cpu-service page (window attribution, register-built IQ3 single-token dot + vectorized scan: bitwise 353/353, +6.34% tok/s / -0.27 ms/round over 5 blocks; open cache neutral; pcie 0.35 negative; harness runs pcie 0.55)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 21:38:37 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 63fb009f42 scripts: baseline-pair LF line endings (CRLF broke the job on Linux), SEQ and PRE_ARM_HOOK options
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 21:36:25 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 c3e7067afe scripts: baseline-pair balanced ours-vs-vanilla A/B with machine-state sampler, analysers, owner-run compaction hook
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 19:36:24 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 829036be71 scripts: cpu-service paired A/B (base/new/open-cache/pcie0.35, 5 rotated blocks) and identity jobs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 18:08:12 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 bba658f204 cpu-service: register-built single-token IQ3_S/IQ3_XXS dot (bitwise the generic tree, LELEKA_IQ_SINGLE=legacy keeps it); vectorized finiteness scan of the verify group's CPU output (LELEKA_SINK_SCAN=legacy keeps the element-wise one)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 18:03:19 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 8c8c6725d7 Merge claude/codex-lossy-delta: four-variant Codex lossy-delta harness (tasks, logging proxy, index) and results record; 72-cell matrix done, ours lossy vs lossless +0.6% rounds (n=3, resolution ~35%), vanilla early-stop confound documented
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 17:52:17 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 e381c30825 Merge claude/slots-footprint3: share byte-equal RT/MTP pack dense roles (verified at every start; -109 MiB, 12,144 -> 12,192 slots), bit-identical vs LELEKA_FOOTPRINT_LEGACY=1 at equal slots (353/353); placement-class gate PASS; A/B of alias/reserve130 neutral, defaults unchanged. No speed claim
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 10:34:20 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 61fb6ac215 docs: footprint3 page (alias and reserve-130 A/B, MTP dense sharing, placement gate PASS)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 10:33:58 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 a002eef9ae docs: codex lossy-delta execution record
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 09:15:33 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 c61975defe e2e codex-delta: the writable acceptance copy includes seed/ (feature-query reads SPEC.md from it)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 04:52:24 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 119c7766f1 e2e codex-delta: run accept.py from a writable copy of the task dir (read-only install broke refactor-shop acceptance); reaccept tool
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 04:49:53 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 e7e40be846 e2e codex-delta: index uses the matrix set only for deltas and determinism
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 02:55:36 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 22e56f69ed scripts: footprint3 paired A/B (alias, reserve 130, both), identity and placement-class relative gate jobs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 02:43:32 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 9e13fc809e footprint: share the MTP dense roles with the RT bank when proven byte-equal (about 126 MiB driver), drop the pack's copy
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 02:39:12 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 360e6caf28 e2e codex-delta: fixed CODEX_HOME path and prompt date (prompts identical across cells), matrix job scripts
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 01:15:24 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 4228e5c552 e2e codex-delta: our skip counters are cumulative; report the per-cell difference
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 01:14:22 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 4a1b9bfec7 Merge claude/slots-footprint2: free 1,084 MiB VRAM (unused MTP pack bank, lazy legacy QSA key mirrors); 11,568 -> 12,144 expert slots, +1.75% paired tok/s (n=3), bit-identical at equal slots; LELEKA_FOOTPRINT_LEGACY=1 restores. Placement-class gate on the larger cache still to run
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-30 23:49:06 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 745c0ad0db docs: footprint2 measurements (paired A/B, identity at an equal slot count)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-30 23:48:45 +01:00