#1 [high] PR #714 change and cost-model context
PR #714 = 1 file, +1/-0: external_extents: vec![], at helios/src/runtime_core/cache_memory.rs:1670, inside cuda_sentinel_row_with_exact_granule_stride_maps_without_tail (#[test] #[ignore = "requires an assigned CUDA_VISIBLE_DEVICES GPU"], :1636-1638, literal :1659-1671). Fixes E0063 for --features runtime-core / runtime-core,server.
CRITICAL for the test plan: the headline memory-saving feature is NOT in this PR. It came from merged #659 (+ #674/#473): sentinel_saved_bytes (cache_memory.rs:69), sentinel_granules (Layout field :63), fixed_segments() (:133-141), allocation-time aliasing of null row zero's leading granules onto ONE zeroed VMM granule.
The claim/anchor (documented, not from this PR's description):
- docs/runtime-core-design.md:811-817: when
row_bytes >= 2*alignment, aliasesfloor(row_bytes/alignment)leading granules of null row zero onto one shared zeroed physical granule, saving(floor(row_bytes/alignment) - 1) * alignmentphysical bytes per rank; row zero's partial tail + all live rows stay uniquely backed. - Cost model feeding planner: helios/src/runtime_core/memory.rs:459-470 subtracts
sentinel_saved_bytes()perCapacity==0allocation from the fixed span, i.e. it enlarges the KV page budget. - Unit anchor: cache_memory.rs:1986-1998
sentinel_row_aliases_full_granules_onto_one_page: row_bytes=82_143_488, align=2<<20 -> sentinel_granules=39, fixed_bytes=158<<20, fixed_segments()=(39, align, 80<<20), sentinel_saved_bytes = 38*align = 76 MiB (non-GPU unit test). - docs/runtime-core-design.md:884 says "wide-group compaction is verified by CPU unit tests only and has not been mapped through a GPU driver" -> the driver path is exactly the hardware gap.
PROCESS FINDING: PR has no performance claim, so per charter ("Performance PRs need benchmarks showing an actual speedup over main on a served workload (#210)") any speedup belongs to #659's accounting. Missing from the description: the corrected developer run command (must be --features runtime-core, not runtime-core,server; the latter additionally needs env FLARE_TEST_TEMPLATE_DIR = .github/workflows/native-serving.yml:59) and that the test needs -- --ignored --test-threads=1 plus a real GPU.
#2 [high] Hardware facts driving cn5-vs-cn7 choice
Why cn5 (4x RTX PRO 6000 Blackwell Max-Q, SM120, amd64) and not cn7 (1x GB10):
- code comment cache_memory.rs:376: "NVIDIA Linux driver 615.71.10 rejects partial-handle cuMemMap aliases on Blackwell VMM allocations when a trailing unaliased tail shares the handle. Keep the unaliased plane tail as an independent physical handle." The
tail == 0path in test :1638-1777 exists to map EXACTLY-2-granule rows so that path does not run. Its failure mode is twice observed on P6000 Blackwell + driver 615.71.10. - docs/runtime-core-design.md:879-888: "qualified ... on one Linux configuration (sixteen RTX PRO 6000 Blackwell GPUs with NVIDIA driver 615.71.10)"; :884 wide-group compaction GPU-unverified.
- rt pro 6000 = SM120; GB10 = SM121 (docs/model-preparation.md:478; docs/TODO.txt:373 wants SM121 qualification separately). Keeping the two GPUs on separate boxes prevents mixing vendor/driver data.
- cn7 GB10 facts from docs: integrated/unified memory (:201 of docs/prefix-cache-offload.md: "integrated-memory device ... GPU memory and host memory [share]"), so KV budget is MemAvailable-capped (docs/runtime-core-design.md:807-810) and KV-page improvements are diluted; it is arm64 and needs protobuf-compiler + cmake + liburing-dev to build (native-serving.yml:36).
Hardware requirement per test (:1643-1690): Driver::load() = libcuda via helios/src/os.rs:11-12 -> needs CUDA_VISIBLE_DEVICES assigned so libcuda's own filtering makes ordinal 0 valid (NativeResources::initialize(core, 0), mod.rs:342-359 also re-checks SM via attributes 75/76). No model checkpoint, no exported core, no dataset, no ignition export: the test fabricates its own Core/geometry with cuMemAddressReserve. Peak footprint ~ a few tens of MiB of device memory (row_bytes=2*alignment, page_capacity=64, 4 planes of alignment/8) -> negligible on 96 GiB.
Build prereq: helios/build.rs:7-79 compiles protos under runtime-core, so protobuf-compiler (protoc) is required (native-serving.yml:36).
CI cannot cover this: native-serving.yml:63,68 run cargo test --features runtime-core,server WITHOUT --ignored; verification/helios-lifecycle/check.py:319-338 builds --features server only. So the only way to execute the test is a manual release build on a GPU box.