Repository navigation
Description
Split from #4404.
Problem The issue asks whether the local triage model is slow because other agents use the same GPU, or the call is slow by itself. The five measured runs put the triage call at 23.4 s median on a host with a load average of 67 to 85. The answer is open. ## Why it is deferred Only a person with access to the CLI host and an idle GPU can run the measurement. No file in the repository and no web page holds the answer. The rest of the issue needs none of it. ## Acceptance criteria - A person runs five intakes on the CLI host with no other agent on the GPU, and records the triage model call of each. - The issue holds the median of the five calls beside the 23.4 s baseline of the shared host. - The issue states whether another agent on the GPU makes the call slower, and by how much.
Proposed design
Problem statement
The five measured runs put the local triage model call at 23.4 s median on a shared host with a load average of 67 to 85. The cause is open: another agent on the GPU or the call itself. A person must run five intakes on the CLI host with an idle GPU and record the durations, median and comparison on issue #4499.
Acceptance criteria
Requirement: Pending a person after the merge
The owner SHALL run five intakes on the CLI host while no other agent uses the GPU, and record the five triage model call durations and the GPU reading on issue #4499.
Scenario: Five intakes with an idle GPU
- WHEN The owner runs five intakes on the CLI host and
nvidia-smi --query-compute-apps=pid,process_name,used_memorylists no process of another agent before each intake. - THEN The comment on issue perf(roadmap): measure the intake model call on an idle GPU #4499 lists five triage model call durations in seconds from
devops_cli_ai_chat_duration_seconds, one for each intake, and thenvidia-smireading that showed no other agent process.
Requirement: Median beside the shared-host baseline
The measurement comment SHALL state the median of the five idle-GPU durations beside the 23.4 s median of the shared host.
Scenario: Two medians in one table
- WHEN The five idle-GPU durations are in the comment.
- THEN One table shows the idle-GPU median and the 23.4 s shared-host median.
Requirement: Cause and difference stated
The measurement comment MUST state whether another agent on the GPU makes the call slower and give the difference in seconds.
Scenario: Answer with a difference
- WHEN Both medians are in the comment.
- THEN The comment gives a yes or no answer and the difference between the two medians in seconds.
Requirement: Host load before each intake
The measurement comment SHALL state the load average of the CLI host before each of the five intakes.
Scenario: Load average per intake
- WHEN The owner records each of the five intakes.
- THEN The comment gives the load average of the CLI host before that intake, and no run was discarded for its load.
Existing Tool Considered
No alternatives check has run. This perf item is a skip class for the alternatives check (CONTEXT.md). No open tool covers the full need. The maintained NVIDIA nvidia-smi tool covers the GPU reading. The existing devops_cli_ai_chat_duration_seconds histogram covers the call time. They lack a combined runner that ties each duration to its GPU reading. A person does that step. The item builds no code, so no build cost applies.
Key questions
- Which existing tool shows whether another agent uses the GPU during the five intakes?: Use
nvidia-smion the CLI host. The commandnvidia-smi --query-compute-apps=pid,process_name,used_memorylists the compute processes. The commandnvidia-smi --query-gpu=utilization.gpu,memory.used --format=csvgives the utilization and the memory. The project already callsnvidia-smito read GPUs. The DCGM exporter gives the same signals for cluster GPU nodes only, and the CLI host is not a cluster node. (best practice) [sources: src/devops_cli/ai/gateway_tune.py, k8s/monitoring/dcgm-exporter-values.yaml:75, k8s/monitoring/dcgm-exporter-values.yaml:85, src/devops_cli/ai/pool_load.py]- Chosen: nvidia-smi on the CLI host. It reports the utilization, the memory and the compute processes of the host GPU. It needs no code to build.
- Rejected: DCGM exporter. It publishes the same signals for the cluster GPU nodes only. The CLI host is not a cluster node.
- Rejected: A new benchmark command in the CLI. It adds code to build, keep and fix for one measurement.
- Which metric gives the triage model call duration?:
devops_cli_ai_chat_duration_secondsrecords the wall time of each chat call in seconds, by provider and model. The person reads the five values for the five intakes. [sources: src/devops_cli/telemetry/instruments.py, docs/TELEMETRY.md:117] - Which model does the intake use?: The intake task names
local/qwen3.8:27bin the example ConfigMap. The gateway routesdevops-triagetoollama_chat/qwen3.8:27bon the 64 GiB standard tier. The CLI example setsai.provider: ollama. [sources: k8s/devops/configmap.example.yaml, k8s/llm/gateway/config.yaml, config.example.yaml] - Does another agent share the GPU with the triage call?: On the CLI host, any other agent that calls the configured local Ollama model shares the GPU. The repository cannot show which agents run on that host. The five intakes and their GPU readings settle that host. In the cluster,
devops-triageruns on the 64 GiB standard tier. [sources: config.example.yaml, src/devops_cli/config/settings.py, k8s/llm/gateway/config.yaml, k8s/devops/configmap.example.yaml]
Fit
Fits in one pull request.
Suspected block
A person with access to the CLI host and an idle GPU must run five intakes while no other agent uses the GPU.
Dependencies
None.
Activity
devops-cli-service commentedon Nov 11, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
perfprefix of the title gives the type.(roadmap)scope of the title gives the scope.The result guides triage performance work, but the item blocks no other work and needs a rare idle GPU.The result shows if GPU contention slows triage, but it changes no behaviour for users.One person runs five intakes on an idle GPU and records the times.Both items measure a slow step on an idle host, but 4427 measures the local CI check and ranks fixes, and this item measures the intake model call.devops-cli-service commentedon Nov 11, 2026
Refine cannot set this item to Ready at c3f62a9 until a person answers the questions below. Reply in a comment or edit the body, and the next refine round looks at the item again.
dan-petty commentedon Nov 15, 2026
Returned: the item needs an idle GPU on the CLI host and five intake runs on it, then the median and the comparison on the issue. This workstation is not the CLI host, holds no GPU, and runs other work, so it cannot produce the measurement. A person must run it.
devops-cli-service commentedon Nov 15, 2026
Owner question: Who runs the five intakes on the idle CLI host? (a person decides)
Options
Recommendation: Decide the question: only a person can answer it.
Evidence
devops-cli-service commentedon Nov 20, 2026
Owner question: See the first point of Open questions in the section Proposed design of the body.
Options
Recommendation: Decide the question: only a person can answer it.
Evidence
devops-cli-service commentedon Nov 26, 2026
Owner question: See Suspected block in the section Proposed design of the body.
Options
Recommendation: Decide the question: only a person can answer it.
Evidence