Cost planning

Low GPU utilization: find and fix the cause

Low GPU utilization usually means the GPU is waiting: for data, for CPU preprocessing, for host-to-device copies or for the next job. The nvidia-smi figure only reports the share of time a kernel was running, so confirm with DCGM SM activity and a PyTorch profiler trace. Fix the slowest stage first, then measure cost per completed job.

A GPU waiting at the end of an almost empty conveyor fed by a narrow funnel
Low GPU utilization usually means the GPU is waiting for data or work, not that it is too slow. AI-generated illustration.

What the nvidia-smi GPU utilization number means

The utilization figure in nvidia-smi is a time share, not a measure of how much of the chip is working. NVIDIA defines it as the percent of time over the past sample period during which one or more kernels was executing. The sample period is between one second and one sixth of a second, depending on the product.

That definition has two consequences. A single small kernel that keeps one corner of the GPU busy can report close to 100%, even though most multiprocessors sit idle. And a reading of 40% tells you the device ran no kernel at all for most of the sample, which is usually a pipeline problem rather than a model problem.

The memory field works the same way: it is the share of time device memory was being read or written, not how full memory is. Treat both numbers as a smoke alarm. They tell you something is wrong, not where.

References: NVIDIA System Management Interface

Better signals: DCGM profiling metrics

NVIDIA DCGM exposes profiling fields that look inside the device. SM activity (DCGM_FI_PROF_SM_ACTIVE) is the fraction of time at least one warp was active on a multiprocessor, averaged across all multiprocessors. DCGM’s documentation says a value of 0.8 or higher is necessary, but not sufficient, for effective use of the GPU.

SM occupancy (DCGM_FI_PROF_SM_OCCUPANCY) is the ratio of resident warps to the maximum a multiprocessor supports; DCGM notes that higher is not always better. Tensor activity (DCGM_FI_PROF_PIPE_TENSOR_ACTIVE) shows whether the tensor core pipe is doing your matrix math. DRAM activity and the PCIe transmit and receive byte counters show memory and host-transfer pressure.

You can stream these with dcgmi dmon and the field IDs, for example fields 1001, 1002, 1004 and 1005, at the default one-second rate or a custom interval. Log them alongside your training step time. A GPU with high nvidia-smi utilization but low SM activity is running small or serialized kernels; one with low readings on both is starved.

Better signals: DCGM profiling metrics
SignalFieldWhat a low value suggests
GPU utilizationnvidia-smi Utilization: GPUNo kernel running for much of each sample
SM activityDCGM_FI_PROF_SM_ACTIVE (1002)Kernels too small, or gaps between them
Tensor activityDCGM_FI_PROF_PIPE_TENSOR_ACTIVE (1004)Math not on tensor cores, or not running
DRAM activityDCGM_FI_PROF_DRAM_ACTIVE (1005)Not memory-bound; look elsewhere
PCIe bytesDCGM_FI_PROF_PCIE_TX/RX_BYTES (1009/1010)High values point at host-device copies

References: NVIDIA DCGM feature overview: profiling metrics

The common causes of low GPU utilization, in order

Check causes in the order they most often occur, because the cheap fixes sit at the top. The input pipeline comes first: a data loader bottleneck starves the GPU between steps. CPU preprocessing such as decoding, tokenizing or augmentation is a close second, and it often hides inside the data loader.

Next come small batches that launch many short kernels, host-to-device copies that block computation, and synchronization points where Python waits for a GPU result. Further out are network and storage reads that stall the first epoch or every epoch, and the idle GPU between jobs while a queue, a human or a setup script catches up.

The last cause is invisible to profilers inside the job. If the instance runs for ten hours and the training script runs for six, no kernel tuning will recover the other four. Billing counts allocated time, as GPU-hour cost explained covers in detail.

Locate the bottleneck with the PyTorch profiler

Profile a few representative steps instead of guessing. torch.profiler.profile records CPU and CUDA activity; a schedule with wait, warmup and active steps skips start-up noise, and you call step() each iteration. Export with tensorboard_trace_handler or export_chrome_trace and read the timeline.

Look for gaps on the GPU stream. A gap that lines up with a DataLoader call points at input. A gap after an operator that copies to the CPU points at synchronization. Use key_averages() to rank operators by time, and turn on record_shapes when you suspect small batch shapes, accepting the extra overhead.

A quick check needs no profiler. Time a loop that only iterates the DataLoader, then a loop that only runs the model on one cached batch. If the loader alone cannot keep pace with the model alone, you have found the first problem.

References: PyTorch torch.profiler documentation

Fix each cause

For input, raise DataLoader num_workers: its default of 0 loads data in the main process, so loading and training take turns. PyTorch’s tuning guide says num_workers above 0 enables asynchronous loading that overlaps with training. Set persistent_workers so workers survive between epochs, and tune prefetch_factor, which defaults to 2 batches per worker.

For copies, set pin_memory=True; the tuning guide says pinned memory enables faster and asynchronous copies from host to GPU. Create tensors directly on the device, for example with device='cuda', rather than building them on the CPU and moving them. For synchronization, remove .item(), printing of CUDA tensors and .cpu() calls from the hot loop, and log metrics every N steps instead.

For small batches, increase batch size if memory allows, or use activation checkpointing to make room; the guide notes that a larger batch can improve utilization. Mixed precision lets matrix math use tensor cores. For storage, stage data on local disk before the run, which storage and egress costs helps you price. For gaps between jobs, queue the next job before the current one ends.

References: PyTorch torch.utils.data documentation · PyTorch performance tuning guide

A widened conveyor with several parallel feeders keeping a glowing GPU busy
Parallel data loading and larger batches keep the GPU fed with work. AI-generated illustration.

Diagnosis table: symptom, cause, check and fix

Use this table as a first pass. Each row assumes you have logged nvidia-smi or DCGM readings and timed a few steps. Change one thing at a time so you can attribute the gain.

Diagnosis table: symptom, cause, check and fix
SymptomLikely causeCheckFix
Utilization saws between high and near zero each stepData loader bottleneckTime the DataLoader loop aloneRaise num_workers, persistent_workers, prefetch
CPU cores pinned at 100%, GPU waitingCPU preprocessingProfiler shows long CPU ops before each stepPreprocess offline, cache, or add CPU cores
High nvidia-smi reading, low SM activityBatch too small, short kernelsDCGM SM activity and record_shapesLarger batch, checkpointing, mixed precision
High PCIe bytes, gaps around copiesHost-device copiesDCGM PCIe counters, profiler memcpy rowspin_memory, create tensors on device
Gaps after logging or metric codeSynchronizationProfiler gaps after .item() or .cpu()Log every N steps, keep values on GPU
First epoch slow, later epochs fastNetwork or storage readsCompare epoch times; watch disk readsStage data to local disk first
Billed hours exceed script runtimeIdle GPU between jobsCompare job logs with instance uptimeQueue work, automate start and stop

References: NVIDIA System Management Interface · NVIDIA DCGM feature overview: profiling metrics · PyTorch torch.utils.data documentation · PyTorch performance tuning guide

Illustrative example: 40% to 80% GPU utilization

Here is an illustrative calculation, not a measured result. A fine-tuning job runs on 8 GPUs at an assumed $2 per GPU-hour. At 40% utilization it needs 10 hours of training plus 1 hour of setup: 88 GPU-hours, or $176 per completed job.

Suppose fixing the data loader raises utilization to 80% and your measured samples per second doubles with it. Training drops to 5 hours, setup stays at 1 hour, and the job uses 48 GPU-hours, or $96. At 20 jobs a month, that is $3,520 against $1,920.

Two cautions apply. Utilization and throughput do not always move together, so base the estimate on measured samples or tokens per second. And the fixed setup hour now forms a larger share of each job, so the next saving may come from setup rather than kernels. Current NeuraMesh rates are on GPU prices.

Illustrative example: 40% to 80% GPU utilization
Item40% utilization80% utilization
Training time10 hours5 hours
Setup time1 hour1 hour
GPU-hours (8 GPUs)8848
Cost per job at $2$176$96
20 jobs per month$3,520$1,920

Test to run before you commit to more GPUs

Before you add GPUs to a slow job, prove the current ones are busy. Run 200 steps with DCGM logging and a profiler window, then record step time, SM activity and the DataLoader-only rate. If SM activity sits well below 0.8, more GPUs will mostly buy more waiting.

Adding devices can make low GPU utilization worse, because each GPU gets a smaller share of the same input pipeline and spends more time communicating. Read single GPU vs multi-GPU before scaling out. If the job is a model server rather than training, use the method in benchmark LLM inference instead.

References: NVIDIA DCGM feature overview: profiling metrics · PyTorch torch.profiler documentation

Checklist and next step

Log nvidia-smi and DCGM SM activity together. Time the data loader alone and the model alone. Set num_workers above 0, pin_memory and persistent_workers. Remove per-step .item() and .cpu() calls. Raise batch size within memory. Stage data locally. Compare billed hours with script runtime.

Once the job is efficient, size the rental to it. NeuraMesh rents cloud GPUs by the hour: choose a GPU, a plan, GPU count, hours and region on rent GPUs, and you receive a confirmed quotation, typically within one business day, with nothing charged until you approve. If you are unsure which GPU fits, ask the compute advisor.

NeuraMesh prices for these GPUs

NeuraMesh prices per GPU-hour in USD, excluding taxes, as of 2026-11-27. Live prices are on the rental pages.
GPUMemoryData centerValue
RTX 409024 GB$0.46$0.40
L40S48 GB$1.26$0.54
A10080 GB$1.56$0.98
H10080 GB$2.88$2.00

Every order is confirmed in a quotation before you pay. See all GPU prices.

Questions readers ask

Why is my GPU utilization low during training?

Most often the GPU is waiting for input. The DataLoader defaults to loading data in the main process, so loading and training alternate. Raise num_workers, enable pin_memory, and time the loader alone. If CPU cores are saturated, move preprocessing offline or cache its output.

Does 100% in nvidia-smi mean the GPU is fully used?

No. NVIDIA defines the figure as the share of time at least one kernel was running. A small kernel can keep that number high while most multiprocessors are idle. Check DCGM SM activity and tensor activity for a view of how much of the chip is working.

What is a good SM activity value?

NVIDIA’s DCGM documentation says SM activity of 0.8 or higher is necessary but not sufficient for effective use. Treat a value well below that as a sign of small kernels or gaps. Pair it with step time, since the goal is faster completed work.

Will a larger batch size fix low GPU utilization?

It helps when the cause is short kernels from small batches, and PyTorch’s tuning guide notes larger batches can improve utilization. It will not help a data loader bottleneck, and it can change training dynamics. Profile first, then adjust learning rate if you change batch size.

How much does an idle GPU cost?

Billing usually counts allocated time, so an idle GPU costs the same per hour as a busy one. Multiply idle hours by GPU count and the hourly rate. Compare instance uptime with job runtime to find the gap.

Sources and editorial notes

Primary documentation reviewed November 18, 2026. Provider descriptions reflect published documentation. Recommendations are our analysis; worked figures are illustrative unless explicitly stated otherwise. No independent provider benchmark or uptime ranking is claimed.

Read the editorial policy.

Need this GPU? Rent it from NeuraMesh: choose a GPU and plan, get a confirmed quotation, and pay only when you approve. See pricing.