★ This one misunderstanding has probably wasted more GPU-hours than any other in the field.
Before you start: words you need#
| Word | Plain meaning |
|---|---|
| GPU-Util | The “utilization” percentage nvidia-smi prints. Defined in section 1; it is not what it sounds like. |
| SM | Streaming multiprocessor: one of the GPU’s ~132–160 compute units (4.a). |
| DCGM | NVIDIA Data Center GPU Manager: a service that reads detailed hardware counters from every GPU in a node. |
| dcgm-exporter | A small program that publishes DCGM’s counters in Prometheus format so they can be graphed and alerted on. |
| Profiling counters | DCGM’s hardware activity fields (names start DCGM_FI_PROF_): how much of each cycle the SMs, tensor cores and memory interface were actually busy. |
| Running batch | How many requests the engine is generating for in the same step. |
| Effective utilization | A composite this lesson defines: how much of the machine is doing work that someone wanted. |
1. What is it?#
nvidia-smi prints a number called GPU-Util. NVIDIA’s documentation defines it as:
“Percent of time over the past sample period during which one or more kernels was executing on the GPU. The sample period may be between 1 second and 1/6 second depending on the product.”
That is all. It does not measure:
- how many of the SMs were busy,
- how much of the arithmetic capacity was used,
- how much of the memory bandwidth was used,
- whether the work was useful.
One kernel using 1 of 132 SMs, stalled on memory 99% of the time,
computing something nobody needs:
GPU-Util: 100%The “Memory” utilization column is the same kind of number: the share of time that any read or write to device memory happened, not the share of bandwidth used.
2. Why does it matter?#
Because it is the number everyone looks at first, and it errs in the comfortable direction.
"The GPUs are at 100%, we're maxed out, we need more GPUs."
Reality: GPU-Util 100%, SMs busy 97% of cycles, memory interface busy 24%,
running batch 6 when memory allows 60.
Real headroom: 3–10x.Teams buy hardware because of this number. An inference server with an engine loop running is at or near 100% GPU-Util whenever it has any traffic at all, so the number cannot tell “barely used” from “saturated”.
3. Simple analogy#
A factory’s “lights on” sensor.
The lights are on 100% of the time. The sensor cannot tell apart:
- every machine running flat out,
- one machine running, 131 idle,
- every machine running, producing scrap.
It says the building is occupied. It says nothing about output.
4. Tiny example: three readings of the same GPU#
One H100 serving an 8B model, measured three ways during the same minute:
nvidia-smi GPU-Util 100%
DCGM memory interface active 0.24 (24% of cycles moving data)
engine running batch 7 of a possible 96The first says “full”. The second says the binding resource for decode (22.c) is a quarter used. The third says why: too few requests per step. Only the last two are worth putting on a dashboard.
5. Technical explanation#
Three levels of measurement#
LEVEL 1 Is any work happening? nvidia-smi / NVML GPU-Util
LEVEL 2 How much of the chip is used? DCGM profiling counters
LEVEL 3 Is the work useful? engine and application metricsLevel 3 is what matters, and no GPU tool can give it: running batch, KV cache usage, tokens per second, share of tokens delivered to a client who was still listening. The engine must emit them (19.c, 22.j).
The DCGM fields worth collecting#
DCGM 4.7 renamed many fields, and dcgm-exporter 4.9.0 (6 November 2026) switched to the new names and units by default: utilizations became 0–1 ratios, clocks hertz, memory bytes. Dashboards and alerts written for older exporters use the old names, so both are shown.
| Field (DCGM 4.7 name) | Older name | Meaning | Healthy for LLM decode |
|---|---|---|---|
DCGM_FI_PROF_DRAM_UTIL_RATIO | DCGM_FI_PROF_DRAM_ACTIVE | Share of cycles the memory interface was sending or receiving data | 0.6–0.9: the key one |
DCGM_FI_PROF_SM_UTIL_RATIO | DCGM_FI_PROF_SM_ACTIVE | Share of cycles an SM had at least one warp assigned | 0.8–1.0 |
DCGM_FI_PROF_SM_OCCUPANCY_RATIO | DCGM_FI_PROF_SM_OCCUPANCY | Resident warps ÷ maximum | 0.2–0.6 |
DCGM_FI_PROF_TENSOR_UTIL_RATIO | DCGM_FI_PROF_PIPE_TENSOR_ACTIVE | Share of cycles the tensor pipe was busy | low (0.02–0.2) is normal for decode |
DCGM_FI_PROF_GR_ENGINE_UTIL_RATIO | DCGM_FI_PROF_GR_ENGINE_ACTIVE | Share of time the graphics/compute engine was active | close to GPU-Util; same weakness |
DCGM_FI_DEV_GPU_UTIL_RATIO | DCGM_FI_DEV_GPU_UTIL | The nvidia-smi number, as a ratio | always high; ignore for capacity |
DCGM_FI_PROF_PCIE_TX_BYTES, _RX_BYTES | same | PCIe traffic | near zero in steady-state decode |
DCGM_FI_DEV_NVLINK_THROUGHPUT_BYTES_PER_SECOND | NVLink bandwidth fields | NVLink traffic | scales with tensor parallelism |
DCGM_FI_DEV_BOARD_POWER_WATTS | DCGM_FI_DEV_POWER_USAGE | Board power draw | compare with the power limit |
DCGM_FI_DEV_SM_CLOCK_HERTZ | DCGM_FI_DEV_SM_CLOCK (MHz) | Actual SM clock | drops mean throttling |
The ranges in the last column are typical, not targets. Check your exporter’s own counter file: in 4.9.0 the SM-utilization and occupancy fields are commented out by default, while DRAM and tensor utilization are on.
The memory-interface ratio is the best single GPU-side health number for decode, because it measures the resource that binds (22.c). Low tensor-core activity during decode is correct, not a problem: decode is memory-bound and the tensor cores are waiting for bytes. Alerting on it produces false alarms.
Effective utilization#
A composite that connects the GPU to the money:
effective = (fraction of time the GPU is busy)
× (running batch ÷ largest batch memory allows)
× (1 − fraction of generated tokens nobody received)
Example:
busy 92% of the time
running batch 14 of a possible 72
11% of tokens generated for clients who had disconnected
effective = 0.92 × 0.194 × 0.89 = 16%
nvidia-smi says 100%.The batch term is a rough proxy: decode throughput is close to linear in batch while memory-bound (22.c), so “14 of 72” means roughly a fifth of the throughput the GPU could deliver at this context length. The “largest batch memory allows” comes from KV capacity (12.f, 17.h).
6. Under the hood: how the counters are made#
- GPU-Util comes from NVML (the library behind
nvidia-smi). The driver samples whether any kernel was resident during each short interval. One tiny kernel on one SM counts the same as a full-chip GEMM. - DCGM profiling fields come from the same hardware performance counters Nsight Compute uses, sampled continuously at low overhead (typically once a second or so) across the whole GPU. Because they share hardware with the profilers, an Nsight Compute session on a GPU can conflict with DCGM profiling collection on it; pause one to run the other.
- Ratios are averages over the sample window. A ratio of 0.5 can mean half the SMs busy all the time, or all SMs busy half the time. The timeline (22.h) tells which.
- On MIG or shared GPUs (21.d), dcgm-exporter 4.9.0 reports GPU-wide fields once per physical GPU, and a pod’s summed utilization ratio can exceed 1.0. Read the labels carefully.
7. Performance implications#
- The real ceiling is in the Level 2 and Level 3 numbers. A fleet at 100% GPU-Util and 0.25 memory-interface activity has several times its current throughput available.
- Spreading traffic over too many replicas is the classic way to waste it: each replica reads all the weights every step to serve a handful of requests. Fewer, fuller replicas give more tokens per GPU (14.m, splitting the batch).
- Rising tensor activity during decode is a signal. It means you have moved toward the compute-bound side (large batches, speculative decoding verifying many tokens), which changes which optimisations help.
8. Production implications#
- Never autoscale on GPU-Util. It sits near 100% whenever anything runs. Scale on queue time, waiting requests or KV usage (20.g, 23.d).
- Put the memory-interface ratio and the running batch on the main dashboard (22.j).
- Deploy dcgm-exporter (usually as a Kubernetes DaemonSet) to get Level 2 at all. Pin the exporter version and update dashboards when names change, as they did in 4.9.0.
- Compute and trend effective utilization. It is the number that links engineering to cost (23.c).
- Do not alert on low tensor-core activity for decode-heavy services.
- Have the two-sentence explanation ready. “100% GPU utilization means a kernel was running, not that the GPU was full. Our memory bandwidth is 24% used and our batch is 7 of 96.”
9. Common mistakes#
- Treating GPU-Util as a capacity signal. The central error.
- Autoscaling on it. It never moves, so the autoscaler never acts, or always does.
- Alerting on low tensor-core activity during decode.
- Not collecting the running batch. It is the most informative single number for LLM serving efficiency and is often missing.
- Saying “we’re maxed out” without checking the memory-interface ratio.
- Ignoring aborted tokens. 10–30% of the work can be for clients who already left.
- Upgrading dcgm-exporter without checking metric names. Dashboards silently go blank.
10. Hands-on exercise#
- Demonstrate the lie. Launch a kernel with a single thread block that spins for ten
seconds. Watch
nvidia-smishow 100% while DCGM’s SM-utilization ratio shows about 1 ÷ (number of SMs). - Deploy DCGM. Run dcgm-exporter and Prometheus. Graph the fields in section 5 during a load test. Which ones move with load and which stay flat?
- Compute effective utilization for a real service. How far is it from GPU-Util?
- The consolidation test. Split a fixed request rate across 1, 2, 4 and 8 replicas. Record GPU-Util, the memory-interface ratio, running batch and total throughput. Show that GPU-Util stays flat while the others change a lot.
- Write the explainer you would send a manager who says “the GPUs are at 100%, we need more”.
11. Interview questions#
- What does
nvidia-smi’s GPU-Util actually measure? - Give an example where it reads 100% and the GPU is doing almost nothing useful.
- Which metrics would you use instead, and what does each tell you?
- Why is low tensor-core activity normal during LLM decode?
- Define effective utilization for an LLM service.
- Why can you not autoscale on GPU utilization?
- A team says all their GPUs are at 100% and asks for more. What do you check?
12. Further reading#
Checked on 12 November 2026.
- nvidia-smi documentation: the definition of GPU and memory utilization quoted in section 1.
- DCGM feature overview: profiling metrics and how they are sampled.
- dcgm-exporter on GitHub: releases (4.9.0 renames and
unit changes) and
etc/default-counters.csv. - DCGM Exporter release notes
- Go deeper: GPU Telemetry in the Observability learning materials covers every GPU field, Xid errors and throttling.