Discord post (ready to paste)
Recommendation: Test
Medium-high confidence. The change surface is confirmed at head (b7bd3fa) and the PR is "Ready To Merge" with no code defects across two review rounds; what's left is exactly what a hardware run can answer — whether the gain holds at our core count, and whether the file-deletion paths are safe on real seeded data.
Hardware Required
- cn5 (48-core x86_64) and cn7 (10-core arm64 GB10) for the correctness suites and component scan benchmarks — no GPU needed for these.
- cn7 + 1 GPU for the end-to-end
flare runstartup A/B (export the model core once and reuse it for both builds). - ~16 GiB NVMe scratch, a non-root user, and root
drop_cachesfor cold-cache runs (16 GiB is plenty — the seeded cache files are sparse).
Justification
- The PR's only served-workload evidence is author-reported from a 20-core GB10, and the whole claim is "scale with cores." cn7 gives 10 CPUs, so it is a real capacity check — a smaller gain (or null) there is itself the finding.
- Cheap insurance on the risky part: the seeded 10,000-record cache is the only place a bad header silently deletes files, and the fail-closed / no-deletion-before-error guarantees are pinned only by unit tests that self-skip when run as root.
Estimated Time to Complete
~2.5 h wall clock total, under 1.5 h on a GPU, never more than one GPU at once (correctness + benchmarks ~1.75 h CPU-only; core export 20–40 min plus ~25 min of A/B boots).
What I confirmed while reviewing the pre-test report
- PR #734 ("selene: parallelize startup disk scan", @FujitsuPolycom, open, head
b7bd3fa, +498/−112) touches only three files:selene/src/shared/record.rs,selene/src/input.rs,docs/prefix-cache-offload.md.selene/examples/scan_bench.rs(not opened) is not committed — the report is right that the benchmark harness must be recreated, and it is deliberately excluded from the commit. - No read-coalescing left to test — correct. The diff does not touch
Header::read_metadata, and the second review states it was reverted tomain's tworead_exact(record.rs:358-373). So the plan's scope (parallelism, fail-closed deletion ordering, lexicographic.inputadmission) matches the actual change. - Tuning constants match the plan:
PARALLEL_SCAN_THRESHOLD = 64,PARALLEL_SCAN_CHUNK = 8,MAX_SCAN_WORKERS = 16, workers =available_parallelism().map_or(4,..).min(16).min(chunk_count), serial fallback whenitems.len() < 64 || workers <= 1. That validates the plan'staskset -c 0-0serial-path test and the sub-64-file control. - Fail-closed ordering is real in both call sites:
record::scancollectsremovalsand only unlinks them after the reduce loop returns noUnreadable;Worker::scanreturns on the first non-InvalidDataerror before unlinking.input.pendingand before mutatingself.disk/self.budget. Tests for both are the0o000cases that self-skip as root — the plan's non-root requirement is load-bearing. - Author-reported numbers the plan compares against:
Prepare host prefix cache2,542 → 295 ms cold (8.60x) and 95.6 → 53.2 ms warm (1.80x) on 20-core GB10, n=5/arm, 22 boots, 0 deletions; unit tests 645 / 620 / 205 passing on both aarch64 and x86_64, non-root, 0 ignored. - The disclosed gap the plan targets is genuine: the review's "residual limits" section says the x86_64 warm
.inputablation ran on WSL2 ext4, not bare metal — so cn5's native number is new information, not a duplicate.
Caveats the post does not carry (worth watching on the day)
- Precondition, not a finding: all model rows list
0 GiBweights. If the weights can't be fetched andignition exportcan't fit the job's RAM (60 GiB cn7 / 125 GiB cn5), only T1/T2/T2b run — CPU-only, and that still covers every changed line. Say so explicitly in the writeup rather than reporting a served number. flare_input_cache_disk_recordsrequires an image-capable model —InputStoreonly starts wheninput_staging != 0.- Cold cache needs root
drop_caches; without it, report warm + freshly-recreated-directory numbers and never call page-cache-warm data "cold." - Never measure with
ignition debug-serve(diagnostic only perdocs/performance-work.md(not opened)). - Warm dedup resolution: use the phase wall time as primary, not the printed
scan— it renders at 0.1 s, and warm scans are ~0.05 s.
Honest limitations of this pass
I verified the diff, the PR discussion/reviews, and the constants and control flow behind every behaviour claim above. I did not independently re-check the report's peripheral line references — helios/src/runtime_core/model.rs:1121 (not opened)/1167, selene/src/offload.rs:750-765 (not opened)/469-483/488-490, helios/src/server/metrics.rs:40 (not opened),663-670,1405-1415, helios/src/startup.rs:414-465 (not opened), the flare-cli/src/cli.rs (not opened) flag lines, docs/performance-work.md:9-13 (not opened), the cn5/cn7 machine specs, or the "0 GiB" model rows — and I ran out of turns before writing scratchpad notes. Those items are second-hand from the pre-test report and should be spot-checked before the engineer books time; the deliverables above do not depend on them, since the recommendation (Test) rests on the verified change surface plus the author-reported evidence being 20-core-only and WSL2-partial.