Home / Learn / AI Infrastructure / The Data Movement Bottleneck in AI

On this pageWhy it happensWhere the bottlenecks areStorageCPU preprocessingThe networkMemoryCopyingWhat it costsHow it is addressedA system-level viewWhy it matters for chip designCommon questionsRelated guides

The Data Movement Bottleneck in AI

In many AI systems, moving data limits performance more than computing on it. Accelerators can perform arithmetic extremely fast, but they depend on data arriving from storage, from memory and from other accelerators. When that supply cannot keep up, the accelerators wait. This is the data movement bottleneck. It shows up in storage, in the network, in CPU preprocessing and in memory, and relieving it is often the most cost-effective way to get more out of an AI system.

Why it happens

Accelerators have improved faster than the systems around them. Each generation delivers a large increase in arithmetic throughput. Storage, networking and memory have also improved, but not always at the same rate.

At the same time, models and datasets have grown enormously. More data has to be moved for every unit of computation. The result is a system in which the fastest component is regularly held back by slower ones.

A chain is only as strong as its weakest link, and in AI infrastructure the weak link is increasingly a data path.

Where the bottlenecks are

LocationWhat is being movedTypical symptom
Storage to computeTraining data, model checkpointsAccelerators idle while waiting for the next batch
CPU preprocessingRaw data being decoded and transformedCPUs at full load, accelerators underused
Host to acceleratorPrepared data crossing into accelerator memoryThroughput capped by the link or by copying
Between acceleratorsGradients, activations, model stateTraining steps slowed by the slowest message
MemoryModel weights and working dataArithmetic units starved by memory bandwidth
Between memory tiersCached state moving in and outDelays when resuming or switching contexts

Storage

Training reads enormous datasets, often many times over. If storage cannot deliver data at the rate the accelerators consume it, they stall. The problem is worst with datasets made of very many small files, such as images, where the overhead of finding and opening each one dominates.

Training runs also save their state regularly so they can recover from failures. Writing those checkpoints for a large model moves a great deal of data, and the accelerators may pause while it happens.

CPU preprocessing

Raw data is rarely ready for a model. Images are decoded and resized. Text is split into tokens. Records are filtered and combined. This work has traditionally been done on CPUs.

A server with several powerful accelerators can need more preprocessing than its CPUs can deliver. The accelerators then wait on the CPUs. Remedies include moving preprocessing onto accelerators, doing it ahead of time, or assigning it to other hardware.

The network

Large models are trained across many accelerators that exchange data after every step. A step is not finished until every accelerator has what it needs, so a single delayed message holds up the entire cluster.

AI traffic is also bursty and synchronized, which is hard for networks designed for many small independent flows. Consistency matters as much as speed.

Memory

Inside the accelerator, the arithmetic units need a continuous supply of numbers from memory. For large models, the speed at which memory can be read is frequently the real limit on throughput. This is why AI accelerators use high-bandwidth memory placed right next to the processor.

Memory capacity is a second constraint. A model and its working data must fit, and in language model inference the state kept for each conversation consumes a growing share.

Copying

A less visible cost is the number of times data is copied on its way through a system. Data may be read from storage into a system buffer, copied to an application buffer, copied again to a network stack and again into accelerator memory.

Each copy uses CPU time, memory bandwidth and energy. Techniques that let devices exchange data directly, without passing through the CPU and main memory, remove much of this overhead.

What it costs

The practical measure is accelerator utilization: the share of time the accelerators spend doing useful work. In real deployments it is often well below what the hardware could achieve.

Because accelerators are the most expensive part of an AI system, idle time is expensive. Raising utilization from one level to a substantially higher one delivers the same extra output as buying more accelerators, without the cost, power or space.

How it is addressed

  • Faster storage and parallel file systems that deliver data at the rate accelerators need.
  • Direct data paths between storage, network and accelerator memory that bypass the CPU.
  • Remote direct memory access, which lets machines exchange data without involving their operating systems.
  • Networks designed for AI, with high bandwidth, low and consistent latency and intelligent load balancing.
  • Infrastructure offload. Moving networking, storage and security processing from the CPU to dedicated hardware such as a DPU.
  • Accelerated preprocessing.
  • Memory expansion and pooling, adding capacity and letting it be shared.
  • Tiered memory and storage for model state, so that data not needed immediately can be held on cheaper media and brought back quickly.
  • Better scheduling, so that data is staged before the accelerators need it.

A system-level view

No single component fixes the problem. Removing one bottleneck exposes the next. A faster network reveals slow storage. Faster storage reveals slow preprocessing.

The effective approach is to treat the system as a pipeline and balance it from end to end. That means measuring where time is actually spent before investing, and designing accelerators, networking, storage and software together.

Why it matters for chip design

For designers of AI chips, the lesson is that a compute engine cannot be designed in isolation. How data gets into and out of the chip is as important as how fast it computes. Interfaces, on-chip networking and support for direct data paths are part of the architecture from the start.

Common questions

What is the data movement bottleneck?

It is the situation in which an AI system’s performance is limited by how fast data can be delivered to the accelerators, not by how fast they can compute.

How can you tell if a system has this problem?

Low accelerator utilization is the main sign. If the accelerators are frequently idle while storage, CPUs or the network are saturated, data movement is the constraint.

Will faster accelerators fix it?

No. Faster accelerators consume data more quickly and make the bottleneck worse. The surrounding data paths have to be improved.

Related guides