Priority: P2 — operational quick win, not a kernel optimization
Agent ownership: benchmark/operations shell helper(s), focused shell tests, short operator note only
Estimated effort: a few hours to one day
Goal
Improve comparability of OWN-30B inference benchmark runs and provide an explicit, bounded way to reserve an uncontended GPU serving window. Reuse existing quietlock and /tmp/aien-gb10.lock. Do not invent another resource manager.
Observed on main (rechecked 2026-10-17)
aien-serve-http/src/omega_engine.rstakes/tmp/aien-gb10.lockduring generation and releases it when done.- Chip benchmark scripts already use
quietlock holdandflock. - Checked-in Oct. 15 comparison: OWN-30B decode about 36–39 tok/s idle, approximately 2.4–2.6 tok/s while a heavyweight MAX model shares the GPU. This is a hardware-contention comparison, not a kernel gain.
flock/quiet reservations only coordinate cooperating workloads; they do not exclude arbitrary GPU processes.
Evidence: https://github.com/aien-dev/aien-sovereign-core-mv/blob/main/docs/inference/evidence/own30b-omega4799-20261015/NOTES.md
Idle baseline: https://github.com/aien-dev/aien-sovereign-core-mv/blob/main/docs/inference/evidence/own30b-idle-speed-20261015/NOTES.md
Implementation — Agent 3, independent
- Add a small opt-in runner for OWN-30B HTTP/benchmark sessions taking a bounded
quietlock hold, with clear owner, reason and cleanup on normal exit, signals and child failure. - Add an observable preflight capturing GPU compute-process PIDs/names, utilization, available memory, active AIEN listeners, and source/binary/model/Omega pin identity. Fail the uncontended-performance gate or mark a run not comparable when foreign GPU activity is present; explicit override must be recorded.
- Avoid deadlock: do not externally take
/tmp/aien-gb10.lockaround the HTTP server. The server acquires it internally for generation. Quiet reservation and inner flock serve distinct purposes. - Document an operator procedure for requesting an uncontended window; do not automatically kill, pause, renice or otherwise disrupt workloads.
- Do not alter the inference engine, model scheduler, platform kernel, driver, or serving defaults.
Acceptance criteria
- Shell tests with fake
quietlock,nvidia-smi, and fake server demonstrate bounded acquire/release on normal completion, SIGINT, SIGTERM, child failure and repeat invocations. - Non-idle preflight records interference and refuses/marks any uncontended speedup claim.
- If an idle GB10 is available, capture code/model/native binary SHAs, request settings, utilization, compute apps, tokens/sec, TTFT and exact runner command in a reproducible manifest.
- Cooperative experiments honor the quiet hold; explicitly state that noncooperative GPU processes are not controlled by file locks.
- No self-deadlock due to nested
flock, no leaked reservation after interruption. - PR changes limited to scripts/tests/operator note. No edits to sampler, OmegaDoor, controller or GPU kernels.
Coordination
Independent of sampling issue #623 and HTTP graph issue #624. Reuse the existing quietlock mechanism; do not rebuild it. This task is about operational isolation and valid measurements, not increasing the model's maximum uncontended tokens/sec.
Related: https://github.com/aien-dev/aien-sovereign-core-mv/blob/main/scripts/bench/headstart-m6-ab.sh
GPU lock implementation: https://github.com/aien-dev/aien-sovereign-core-mv/blob/main/crates/aien-serve-http/src/omega_engine.rs