GPU utilization

On this page 7

GPU utilization is the share of a graphics processing unit’s available time or compute capacity that a workload actually uses, usually expressed as a percentage over a sampling window. In AI infrastructure, it is one of the most watched operational metrics, because GPUs are the most expensive component of training clusters and inference fleets, and idle accelerator time translates directly into wasted money and energy.

The term is easy to misread. The figure most tools report, often called GPU busy or kernel activity, only says whether at least one kernel was running, not how much arithmetic the chip performed. A GPU can show 100 percent utilization while using a small fraction of its tensor cores, so serious teams combine several metrics to judge real efficiency.

How GPU utilization is measured

The standard figure from nvidia-smi and the NVIDIA Management Library is the fraction of time during the sample period in which one or more kernels executed. Sample periods range from about 1/6 of a second to 1 second, depending on the product. This metric detects idle gaps well but cannot see how many streaming multiprocessors were active or how intensively they computed.

Deeper profiling tools, such as the Data Center GPU Manager (DCGM) and Nsight Systems, expose hardware counters that describe the work inside each kernel. The table below compares the metrics most often used in practice.

MetricWhat it measuresMain blind spot
GPU busy (kernel activity)Time with at least one kernel runningIgnores how much of the chip works
SM activityShare of streaming multiprocessors with active warpsIgnores arithmetic intensity
SM occupancyResident warps relative to the hardware maximumHigh occupancy can still be slow
Tensor core activityCycles in which tensor pipelines are activeSpecific to matrix workloads
Memory bandwidth utilizationShare of peak DRAM throughput in useSays nothing about compute units
Model FLOPs utilizationUseful model FLOPs relative to theoretical peakRequires a model-specific FLOP count
Common GPU utilization metrics

For training large models, Model FLOPs utilization (MFU) has become the preferred headline number, because it reflects useful work rather than activity. Well-tuned large-scale training runs typically report MFU between roughly 35 and 60 percent, which is considered good despite sounding low.

Why GPUs sit idle in AI workloads

Low utilization almost always means the GPU is waiting for something else in the system. The bottleneck may be the data pipeline, the network between nodes, the host CPU or the structure of the workload itself. Identifying which one dominates is the first step of any optimization.

SymptomLikely causeTypical fix
Periodic gaps between stepsData loading or preprocessing on the CPUMore loader workers, prefetching, faster storage
Long gaps during gradient syncSlow all-reduce across nodesOverlap communication, faster interconnect
Many tiny kernelsKernel launch overhead, small operationsOperator fusion, CUDA graphs, compilation
Low utilization in decodingMemory-bound token generationLarger batches, continuous batching
Idle stages in pipeline trainingPipeline bubbleMore micro-batches, interleaved schedules
Typical causes of low GPU utilization

In inference, the decode phase of large language models is usually memory-bandwidth-bound: each generated token requires reading the model weights and KV cache, while the arithmetic per byte is small. A GPU can therefore look busy while its compute units are mostly waiting on memory.

GPU utilization in training compared with inference

Training and inference stress GPUs differently, so target values and levers differ. Training runs large, predictable batches and can sustain high activity for weeks, while inference faces variable traffic and strict latency targets that limit batching.

AspectTrainingOnline inference
Typical GPU busy90 to 100 percent when tunedHighly variable with traffic
Dominant constraintCommunication and data inputMemory bandwidth and latency targets
Main leversParallelism strategy, overlap, mixed precisionBatching, quantization, KV cache management
Preferred efficiency metricModel FLOPs utilizationTokens per second and goodput
Cost of idle timeLonger time to finish the runHigher cost per token
Utilization characteristics by workload type

Because inference must meet service levels, maximizing utilization is not always the goal. Pushing batch sizes too high raises throughput but also lengthens time to first token, so operators balance utilization against latency through goodput, the throughput that still meets latency objectives.

Raising utilization without misleading yourself

Effective improvement starts with profiling a representative workload rather than tuning against the busy percentage alone. Teams typically trace a few hundred steps, locate gaps on the timeline and fix the largest stall first.

  • Use mixed precision such as BF16 or FP8 to engage tensor cores.
  • Apply operator fusion and graph compilation to cut launch overhead.
  • Overlap communication with computation in distributed training.
  • Adopt continuous batching and PagedAttention for language model serving.
  • Use GPU partitioning such as Multi-Instance GPU for small models that cannot fill a full device.

A common mistake is to treat the dashboard figure as proof of efficiency. A busy GPU running inefficient kernels wastes as much money as an idle one, so reports should pair activity metrics with throughput, MFU or cost per token.

Utilization at the cluster level

Beyond a single device, operators track fleet utilization: the share of purchased or reserved GPU-hours that run productive jobs. Fleet figures fall because of scheduling fragmentation, jobs that reserve eight GPUs but use two, failed runs that restart from old checkpoints and capacity held for traffic peaks. A cluster can report busy devices while a large share of reserved hours delivers no useful output.

Improving fleet utilization relies on GPU scheduling policies, preemptible queues for low-priority work, inference autoscaling and fast distributed checkpointing. These measures matter as much as kernel-level tuning, because idle reservations are often the largest single source of waste in shared AI clusters.

The idea in brief

Think of a GPU as a very fast kitchen. GPU utilization tells you how often the stove is on. A stove can be on while only one small pan cooks, so busy does not always mean productive.

AI teams want their costly GPUs working, not waiting for ingredients. They check both how often and how hard the chips work. Then they fix the slowest supplier, whether it is data, network or memory.

A practical scenario

A research team fine-tunes a 7-billion-parameter language model on eight GPUs in one server. The monitoring dashboard shows GPU busy at about 60 percent, and each training step takes longer than expected. A profiler trace reveals gaps of roughly 200 milliseconds between steps, during which the GPUs wait while CPU workers decode and tokenize text files.

The team pre-tokenizes the dataset into binary shards, raises the number of data loader workers from 2 to 8 per GPU and enables prefetching. They also switch to BF16 mixed precision and compile the model graph. After the changes, GPU busy rises to about 97 percent, Model FLOPs utilization climbs from roughly 22 to 41 percent, and the fine-tuning run finishes in a little over half the original time, which cuts the GPU-hour bill by a similar proportion.