* The batch-copy fault: bisect in the engine, the model-free matrix, the fix, how to repeat the check on a new driver.
* Why it is not STRA-235 (different fault, different path) and the 5-minute negative result of the registered-file-mapping DMA stress
(205,235 copies, 27,248 working-set trims, 0 wrong bytes).
* Plain PCIe shares are slower than the CPU pool over the pageable bank (profile: pool.publish_plan 10-11 s of 27-31 s); locked-only shares
are about +8 % in a 3-rep paired A/B (unset 6.73/6.79, 0.45 5.02/4.79, 0.6 locked-only 7.51/7.14 decode tok/s, prefill unchanged);
recommendation: keep the default, do not change the preset.
* pcie_copy_gpu_bandwidth (ignored GPU test, prints a measurement): pageable 8.1-8.9 GB/s with the call being the copy, page-locked
11.6-12.4 GB/s at 4 us per call.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- arch_ptx::stream_k_off(): one decision for the grouped MoE, the MTP prefill record, the resident MMQ, the Original profiles and the
stream-all issuer; an sm_86-class device launches one block per tile unless LELEKA_MMQ_STREAMK=1. Native sm_120: untouched.
The first real long session failed in the MTP FC hidden check of the draft record, which still planned the 48-block grid.
- diagnostics (off by default): LELEKA_FORCE_SMS, LELEKA_MMQ_STREAMK_FILE, LELEKA_RING_SERIALIZE_COPY_FILE / _CMD_FILE,
LELEKA_CHUNK_DRAIN / _FILE.
- docs/windows.md: the third STRA-235 note (the 224k session on the laptop, the A/B, the 5090 forced-48-SM runs, what was read and found).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- mmq_original_group.rs: on a device that is not a native sm_120 the group MMQ launches one block per tile (no stream-K split, no
fixup kernel); LELEKA_MMQ_STREAMK=1 restores the stream-K grid; the 5090 path is untouched. LELEKA_MMQ_NO_STREAMK / _FILE force
it elsewhere. In-engine A/B on the laptop: 4 failures in 23 cold 14k requests with the stream-K grid, 0 in 23 without.
- mmq_original_ring.rs: LELEKA_RING_SERIALIZE / _FILE drain the copy and compute streams after every DMA / command (diagnostic).
- mmq_original_group_stress_gpu.rs: model-free random-count stress of the grouped MMQ with the stream-K grid planned for a forced SM
count, both grids compared; clean on the 5090 (48 and 170 SMs) and on the 3080 laptop (48 SMs).
- docs/windows.md: the second STRA-235 note (what the stress and the A/B show, what is not verified).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- libc-shim/cuda_trace.rs: under LELEKA_BRINGUP_TRACE the Windows dlsym returns wrappers for the launch, copy, event and
synchronization entries of nvcuda. Every non-zero return prints the operation, the code, cuGetErrorName/String and the
operations queued since the last successful synchronization of the stream (kernel names, grid, block, shared bytes).
Nothing blocks; LELEKA_CUDA_TRACE_SYNC / LELEKA_CUDA_TRACE_CALLBACKS add a per-launch synchronization or completion
callbacks, only while the prompt forward runs (PromptSyncTrace).
- the nine driver_error helpers print under LELEKA_BRINGUP_TRACE as well (operation and code instead of the class only).
- LELEKA_STAGE_VERIFY: compare every staged expert buffer with its file bytes before the buffer is released.
- docs/windows.md: what failed (nvlddmkm Xid 13, Out Of Range Address, same PC), what is ruled out, next experiment.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The laptop is a work machine (agent, IDE, browser): in the file-backed form the workstation preset leaves 18 GiB to the desktop (12 for dedicated),
keeps its raised memory floors instead of the lowered Windows ones, and sets LELEKA_MAPPED_WORKING_SET_GIB=8 so that the engine's start check can pass
on a 48 GB host. Estimates, to be measured on the first workstation run.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>