Home / Learn / AI Infrastructure / GPU Utilization
On this page
What the standard metric measuresSeveral kinds of utilizationTwo levels of wasteWhy utilization is low within a jobWhy utilization is low across a clusterWhy it mattersImproving utilization within a jobImproving utilization across a clusterInference has its own dynamicsDo not chase the numberCommon questionsRelated guidesRelated guidesGPU Utilization: Why It Is Often Low
GPU utilization measures how much of the time a GPU is doing work. In AI clusters it is often well below what the hardware could deliver, because GPUs spend time waiting for data, for other GPUs or for jobs to be scheduled. Since GPUs are the costliest part of an AI system, low utilization means paying for capacity that is not used. Understanding what the metric does and does not show is the starting point for improving it.
What the standard metric measures
The figure most tools report is the percentage of time, over a sampling period, during which the GPU was executing at least one operation.
That definition has an important consequence. A reading of 100 percent means the GPU was never completely idle. It does not mean every part of the GPU was working at full capacity. A GPU running a small workload continuously will show 100 percent while using a fraction of its capability.
The metric is useful for spotting a GPU that is idle. It is a poor guide to how efficiently a busy GPU is being used.
Several kinds of utilization
| Measure | What it shows |
|---|---|
| Compute utilization | Share of time the GPU was doing any work |
| Memory utilization | Share of time memory was being read or written |
| Memory usage | How much of the GPU’s memory is allocated |
| Power draw | An indirect sign of how hard the hardware is working |
| Throughput | Useful output: samples, tokens or requests per second |
| Allocation rate | Share of GPUs in a cluster assigned to jobs |
| Effective utilization | Useful output compared with what the hardware could produce |
Throughput is the one that corresponds to value delivered. The others are indicators that help explain it.
Two levels of waste
Low utilization arises at two levels.
Within a running job. The GPU is assigned to a job, and that job does not keep it busy.
Across a cluster. GPUs are not assigned to any job, or are assigned to one that is not running.
Both matter, and they have different causes.
Why utilization is low within a job
- Data loading and preprocessing. The GPU waits for CPUs and storage to supply the next batch.
- Network waits. In distributed training, each GPU waits for data from the others before continuing.
- Checkpointing. Training pauses while state is saved.
- Small batches. The workload does not fill the GPU’s capacity.
- Memory limits. Arithmetic units are starved by memory bandwidth, or batch size is restricted by memory capacity.
- Inefficient software. Operations falling back to the CPU, unnecessary copies or poorly tuned code.
- Evaluation and logging steps that run on the CPU while the GPU waits.
Why utilization is low across a cluster
- Scheduling gaps. GPUs sit unassigned between jobs.
- Fragmentation. Free GPUs are scattered across servers in a way that cannot satisfy a job needing several together.
- Over-reservation. Teams hold GPUs they are not actively using to be sure of having them later.
- Interactive use. A GPU assigned to a developer’s session is idle whenever the developer is not running something.
- Whole-GPU allocation. A small job is given an entire GPU and uses a fraction of it.
- Uneven demand. Inference capacity sized for peak traffic is underused at other times.
- Failures and maintenance.
Why it matters
Accelerators dominate the cost of AI infrastructure, both to buy and to power. An idle GPU still occupies space and still draws a share of power and cooling.
Improving utilization is equivalent to adding capacity. A cluster that raises its effective utilization substantially produces correspondingly more output from the same hardware, power and floor space. For operators constrained by power or by the supply of accelerators, it may be the only way to grow.
Improving utilization within a job
- Profile first. Find out where each step spends its time.
- Speed up the data pipeline. Faster storage, better data formats, more parallel loading, GPU-based preprocessing.
- Remove copies. Use direct data paths into GPU memory.
- Increase batch size where memory allows.
- Use lower precision. Smaller number formats raise throughput and reduce memory traffic.
- Improve the network for distributed jobs.
- Free up the CPUs. Moving networking and storage processing to dedicated hardware leaves more CPU capacity for feeding the GPUs.
- Optimize the model’s execution with compilers and tuned libraries.
Improving utilization across a cluster
- Better scheduling. Queuing, priorities and placement that pack jobs efficiently.
- GPU sharing. Running several small workloads on one GPU, by dividing it into isolated slices or by time-sharing.
- Reclaiming idle GPUs. Detecting and releasing those held but unused.
- Preemption. Letting low-priority jobs use spare capacity and yielding when higher-priority work arrives.
- Elastic inference. Adjusting capacity to follow demand.
- Mixing workloads. Using capacity that is idle at off-peak times for batch jobs.
Inference has its own dynamics
In inference, the trade-off is between utilization and responsiveness. Grouping requests into batches uses the GPU more fully and makes each request wait a little longer. Leaving headroom keeps response times low and leaves capacity idle.
For language models, memory holding conversation state often limits how many users one GPU can serve, well before its arithmetic capacity is reached. Techniques that manage this memory more efficiently raise the number of users per GPU.
Do not chase the number
Utilization is a means, not an end. A system can show high utilization while doing wasteful work, and an inference service may deliberately run below full utilization to guarantee fast responses.
The goals that matter are useful output per unit of cost and per watt, and meeting the service’s response-time targets. Utilization figures are diagnostic tools for getting there.
Common questions
Does 100 percent GPU utilization mean the GPU is fully used?
No. The standard metric shows only that the GPU was doing something throughout the sampling period. It may still have been running well below its full capacity.
What is a good GPU utilization level?
There is no universal figure. For training, higher is generally better. For inference, some headroom is normal to keep response times low. Throughput and cost per unit of output are better guides.
What is the most common cause of low utilization?
Within a job, waiting for data from storage and CPU preprocessing. Across a cluster, GPUs that are allocated but idle or cannot be scheduled efficiently.