Memory wall
The memory wall is the widening gap between how fast processors can calculate and how fast memory can supply them with data, which leaves chips waiting and limits their real performance.
A processor can only calculate on data it has. If memory cannot deliver numbers as fast as the processor can use them, the processor waits, and its headline speed is wasted. The memory wall is the name for this growing mismatch. The term is usually traced to a short 1995 paper by William Wulf and Sally McKee, Hitting the Memory Wall: Implications of the Obvious, which argued that because processor speeds were improving much faster than memory speeds, memory would eventually dominate performance.
The numbers bore them out. Between 1986 and 2000, processor speed improved by roughly 55% a year while the response time of off-chip memory improved by about 10% a year. Chip designers fought back with layers of small, fast caches close to the processor and, later, with memory stacked in three dimensions, but the underlying gap kept widening.
AI has made the problem acute. In a 2024 paper, AI and Memory Wall, Amir Gholami and colleagues found that over 20 years peak server computing power grew about 3.0 times every two years, while memory bandwidth grew about 1.6 times and interconnect bandwidth about 1.4 times. Meanwhile the parameter counts of large transformer models grew about 410 times every two years, against roughly 2 times for the memory on a single GPU.
Text generation shows the effect clearly. A language model produces one token at a time, and each step reads a large share of the model's weights while doing relatively little arithmetic on them. The paper notes that GPT-2 runs slower than BERT models with similar amounts of computation, because its token-by-token decoding is limited by memory traffic. For this kind of work, a chip's memory bandwidth often matters more than its peak FLOPS.
In practice the memory wall explains several trends in AI news: the scramble for high-bandwidth memory, chips such as Groq's LPU built around on-chip SRAM, techniques such as quantisation that shrink the numbers to be moved, and batching many requests together so each read from memory does more work.
It is the gap between processor speed and memory speed. Processors have become much faster than the memory that feeds them, so they often sit idle waiting for data. The result is that real performance falls well below a chip's theoretical peak. It is usually credited to William Wulf and Sally McKee, whose short paper Hitting the Memory Wall: Implications of the Obvious appeared in ACM SIGARCH Computer Architecture News in March 1995. They predicted that memory speed would become the dominant limit on computer performance. Generating text one token at a time requires reading the model's weights from memory again and again while doing relatively little arithmetic on each value. That makes memory bandwidth, not computing power, the main limit on speed in many serving situations, especially with small batches. They place stacked high-bandwidth memory right beside the processor, add large amounts of fast on-chip SRAM, and design faster links between chips. On the software side, quantisation reduces the amount of data to move, and batching lets each memory read serve several requests.Common questions
What is the memory wall in computing?
Where does the term memory wall come from?
Why does the memory wall matter for large language models?
How are chipmakers getting around the memory wall?
Search for "memory wall AI", "memory-bound inference" or "arithmetic intensity roofline" to understand why memory limits AI performance. Research papers on arXiv and computer architecture textbooks are the most reliable sources, along with technical documentation from memory and chip makers. Be wary of chip comparisons that quote only peak FLOPS, since they ignore the memory limits that often decide real speed.Finding more
Working out what this means for your business?
Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.