Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aien-sovereign-core-mv/issues/a72359b027a5cd40 # aien-sovereign-core-mv AienOS host runtime: inference scheduling, paged KV state, the aien CLI and Spark verification tooling. Its inference engine is in alpha testing (DGX Spark GB10); Omega is the implementation destination. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers # ops(gb10): isolate OWN-30B performance runs from competing GPU workloads Closed · #625 · open 2026-10-17 11:38 UTC · closed 2026-10-30 03:35 UTC (reason completed) Imported from GitHub aien-dev/aien-sovereign-core-mv#625, by drakestapleton drakestapleton wrote on 2026-10-17 11:38 UTC 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.rs` takes `/tmp/aien-gb10.lock` during generation and releases it when done. - Chip benchmark scripts already use `quietlock hold` and `flock`. - 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.lock` around 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 No comments. Sign in to comment