DEV Community

Cover image for Why Does a GPU Spend Most of Its Time Waiting?
Konrad Wright
Konrad Wright

Posted on Originally published at wrightfunctions.com AI-assisted

Why Does a GPU Spend Most of Its Time Waiting?

Originally published on wrightfunctions.com, where the demos are live.

An NVIDIA H100 SXM, a common data-center AI chip, can do about a thousand trillion 16-bit operations every second (NVIDIA's spec sheet, without the sparsity trick). Now ask it to write a reply, one word at a time, for a single user. Run the numbers for an 8-billion-weight model and its math units are busy less than 1% of the time.

The rest of the time, it's waiting. If you've ever tuned a database that was really bottlenecked on disk, you already know the shape of this problem. This post is a tour of AI hardware for server people: what a GPU is good at, what it waits on, and why "add more requests" is the answer to so many questions.

A few fast workers, or thousands of simple ones

A server CPU is a handful of very capable workers. AMD's EPYC 9965 has 192 cores, each one smart enough to juggle branches, caches and a thousand different programs. An H100 SXM has 16,896 CUDA cores plus 528 Tensor Cores built only for grid multiplication, each one simple, all doing the same arithmetic on different numbers at once.

That's a bad design for running a web server and a perfect one for AI, because a neural network is mostly one operation: multiply a huge grid of numbers by another one. GPUs were built to do that for pixels. Since NVIDIA released CUDA in 2007, anyone can point that power at other math.

The real limit is memory

Doing arithmetic has become cheap. Moving numbers to where the arithmetic happens hasn't. A 2024 paper charted the gap: over 20 years, peak compute on server hardware grew about 60,000 times, while memory bandwidth grew about 100 times.

Engineers call this the memory wall, a phrase coined in the mid-1990s about CPUs, and it has only gotten taller.

So AI chips spend enormous effort on memory. An H100 SXM carries 80 GB of HBM, stacked right beside the processor, with a memory bandwidth of 3.35 TB per second. That's more than five times the 614 GB per second of that 192-core EPYC.

As of September 2026, NVIDIA's newer B200 reaches 8 TB per second. The headline number on a chip is its FLOPS. For large language models, the bandwidth is often the number that matters.

Waiting on memory vs. waiting on math

Every job is limited by one of two things. If data can't arrive fast enough, the job is memory-bound. If the math can't keep up, it's compute-bound. What decides it is the job's arithmetic intensity, the math it does per byte it reads.

The classic picture of this is the roofline model from 2009, and generating text scores terribly on it. To produce each token, a standard (dense) model reads every one of its weights from memory, uses each for one multiply and one add, and throws it away until the next token. The vLLM paper puts it plainly: this sequential generation "makes the workload memory-bound, underutilizing the computation power of GPUs."

The fix is batching. Read the weights once and use them for many users' requests at the same time. The memory trip costs the same, and the math, which was nearly free, finally gets used.

▶ Interactive demo: try it on the original post

At one request, the chip is idle almost the whole step. Around a few hundred, math catches up with memory and the step is as full as it gets. This is why serving systems fight so hard to batch, why quantization speeds things up (fewer bytes to read), and why the KV cache matters: it's more memory to read on every step.

The zoo

NVIDIA isn't the only option. As of September 2026, the other main accelerators you'll meet are:

Notice that every spec starts with memory. For an ops team, "supporting a new accelerator" is mostly software work: drivers, a compiler, the inference software's support for the chip, and finding out which of your models actually run well on it.

Many GPUs as one

The biggest models don't fit on one chip, so GPUs have to share work, and the connection between them often becomes the bottleneck. Inside a server, NVLink gives each Blackwell GPU 1.8 TB per second to its neighbours (900 GB per second each way), about nine times a fast 800 Gb/s network card. NVIDIA's GB200 NVL72 stretches that to 72 GPUs in one rack, wired so they can act like one enormous GPU.

Past the rack, it's ordinary (very fast) networking, which is where training on thousands of GPUs gets hard. That's its own post.

So why is the GPU waiting?

Because arithmetic got cheap and moving data didn't. A GPU can do the math for a language model almost instantly. Getting the numbers to it is the slow part.

That's why so much AI performance work is really data-movement work: batch more requests per read, shrink the bytes with quantization, keep the KV cache tidy, and keep the chips close together. If you've spent a career chasing disk and network bottlenecks, you already know the job. The disk just got a lot faster, and so did everything waiting on it.

References & further reading

  1. NVIDIA H100 Tensor Core GPU (NVIDIA · spec sheet). 80 GB, 3.35 TB/s, and 1,979 teraFLOPS of 16-bit math with sparsity (about 989 without it).
  2. NVIDIA Hopper Architecture In-Depth (NVIDIA Technical Blog · 2022). 132 streaming multiprocessors, 16,896 CUDA cores and 528 Tensor Cores per H100 SXM5.
  3. AMD EPYC 9965 (AMD · spec sheet). 192 cores and 614 GB/s of memory bandwidth per socket. The CPU in the comparison.
  4. CUDA Toolkit Archive (NVIDIA). CUDA Toolkit 1.0, June 2007.
  5. AI and Memory Wall (Gholami et al. · 2024). Peak compute up about 60,000× in 20 years, memory bandwidth about 100×, interconnect about 30×.
  6. Hitting the Memory Wall: Implications of the Obvious (Wulf & McKee · Computer Architecture News · 1995). The paper that named the memory wall, back when the worry was CPUs.
  7. Inside NVIDIA Blackwell Ultra: The Chip Powering the AI Factory Era (NVIDIA Technical Blog · August 2025). B200 and B300 side by side, both at 8 TB/s.
  8. NVIDIA HGX Platform (NVIDIA · spec sheet). HGX B200: 36 PFLOPS of 16-bit math with sparsity across 8 GPUs, about 2.25 PFLOPS per GPU without it. The B200 figure in the demo.
  9. Roofline: An Insightful Visual Performance Model for Multicore Architectures (Williams, Waterman & Patterson · preprint of the CACM 2009 paper). One chart for "memory-bound or compute-bound?": speed is the lower of peak math and bandwidth × intensity.
  10. Efficient Memory Management for Large Language Model Serving with PagedAttention (Kwon et al. · SOSP 2023). Why token-by-token generation is memory-bound, and why batching many requests pays off.
  11. AMD Instinct MI355X (AMD · spec sheet). 288 GB of HBM3E at 8 TB/s.
  12. Cloud TPU release notes (Google Cloud · docs). TPU7x generally available on March 31, 2026 (preview from November 24, 2025).
  13. TPU7x (Ironwood) (Google Cloud · docs). 192 GiB and 7.38 TB/s per chip, 9,216 chips per pod.
  14. Anthropic's $21 billion chip deal with Broadcom (RCR Tech · January 15, 2026). Broadcom delivers fully assembled Ironwood racks that Anthropic drops into its own data centers.
  15. Amazon EC2 Trn3 UltraServers (AWS · December 2, 2025). Trainium3 with 144 GB of HBM3e at 4.9 TB/s per chip.
  16. NVIDIA NVLink (NVIDIA). 900 GB/s per GPU on Hopper, 1.8 TB/s on Blackwell.
  17. NVIDIA Blackwell Platform Arrives to Power a New Era of Computing (NVIDIA Newsroom · March 2024). Fifth-generation NVLink at 1.8 TB/s bidirectional per GPU, so 900 GB/s each way against an 800 Gb/s (100 GB/s) network card.
  18. NVIDIA GB200 NVL72 (NVIDIA). 72 GPUs in one NVLink domain with 130 TB/s between them.

AI-assisted: I write these with help from AI tools.

Top comments (0)