# Moving data can cost more than doing the computation

Markdown copy of https://realalpha.app/s/moving-data-can-cost-more-than-doing-the-computation/ on Real Alpha, the best minutes from long interviews with the people building AI. Cite and link the page, not this copy.

- Speaker: [Reiner Pope](https://realalpha.app/builders/reiner-pope/) · Reiner Pope is CEO of MatX. · Co-founded MatX to design chips for LLMs, betting on HBM and SRAM; former Google TPU architect.
- Host: [Dwarkesh Patel](https://realalpha.app/people/dwarkesh-patel/) · Host, Dwarkesh Podcast · Co-wrote The Scaling Era, an oral history of AI; named to TIME100 AI.
- Show: Dwarkesh Podcast
- Episode: [Chip design from the bottom up – Reiner Pope](https://realalpha.app/v/oIk3R-sMX5o/), May 22, 2026
- Moment: 16:00 to 21:35 of the episode (6 min), playing on https://realalpha.app/s/moving-data-can-cost-more-than-doing-the-computation/; the episode from there: https://realalpha.app/v/oIk3R-sMX5o/?t=960

## Quote

> “all of this work just moving the data from the register file to the logic unit is **many, many times more expensive** than the logic unit.”
> — [Reiner Pope](https://realalpha.app/builders/reiner-pope/) at [21:10](https://realalpha.app/v/oIk3R-sMX5o/?t=1270) · Dwarkesh Podcast

## Takeaways

1. An n-way mux needs selection logic for every bit it can read.
2. Each multiply-accumulate needs three register-file read paths.
3. In Reiner's example, data movement costs many times more than the logic.

## About this segment

Register-file muxes require substantial circuitry just to select inputs for a multiply-accumulate. That hidden data-movement cost can dwarf the arithmetic itself.

From “Chip design from the bottom up – Reiner Pope”, May 22, 2026. [Watch the full episode](https://realalpha.app/v/oIk3R-sMX5o/)

## Transcript

Transcribed by machine (Whisper) from the episode’s audio, so a word may be off here and there.

[16:08](https://realalpha.app/v/oIk3R-sMX5o/?t=968) But the other thing we're going to do now is we're going to compare the area spent on the multiplication itself with all of the circuitry that is around it. So we'll walk back in time a little bit and see how did GPUs prior to Tensor Cores work, which is the same way as the way that CPUs worked in fact. So which is like, where do we stick this multiply accumulate unit? So generically I'll describe like a CUDA core or a CPU.

[16:40](https://realalpha.app/v/oIk3R-sMX5o/?t=1000) You'll have some register file. which stores some number of entries, maybe it's like eight entries of like, in this case, I guess, 4-bit numbers, but typically like 32-bit numbers or something like that, which are numbers. So this is the, like, inside the CUDA core, I'll have some register file of some depth, and then I will have my multiply and accumulate circuit, multiply and accumulate circuit.

[17:14](https://realalpha.app/v/oIk3R-sMX5o/?t=1034) And what it's going to do, it's going to like, it's going to take three arbitrary registers from this register file, perform the multiply, accumulate, and then write back to the register file. So it's going to maybe write to this one, but it was able to read from this one, this one, and another random one. So it'll take three inputs like this. So this is the core data path of many processes. Most processes look like this.

[17:40](https://realalpha.app/v/oIk3R-sMX5o/?t=1060) you've got some set of registers, and then you've got some set of logic units or ALUs. We want to analyze the cost of the data movement from the register file to the ALU and back. So ultimately, there's going to be some circuit that says, well, I don't always have to select this guy. I might select any of the registers at any point in time. And so sort of a first question is how can i build a circuit the circuit that i'm going to look for is uh is a mux so um in this case it's going to have eight inputs one from each entry of the register file um and it's going to have one output which is actually um producing this output and then like what is the cost of this thing it's it's like all we have to to build it out of is and and or uh and so how do we build it we we do the dumbest thing possible we like form a

[18:39](https://realalpha.app/v/oIk3R-sMX5o/?t=1119) mask saying we okay when we want to read like the third entry um we're going to end every single entry with either one or zero based on whether that's what we want to read and then we're going to or all of them together okay just to make sure i understand the basics what the mux is doing is just like selecting just selecting just selecting an input yeah so like invisible to software is Like you say I want input number three, that means there's a mux here.

[19:01](https://realalpha.app/v/oIk3R-sMX5o/?t=1141) And so like, what is the cost of this mux? So an n input mux operating on p bits. Well, I'm going to, so I have n rows, that's this eight rows. And I've got like each row is p bits wide. Well, I have to and every single bit. so I get n times p many and gates. Every single input I have to say, am I going to like mask it out or not? And then I'm going to OR them all together. And so there's going to be like n minus one times p many OR gates, which is saying I've got all of these different things, almost all of them as zeros, but I need to sort of...

[19:49](https://realalpha.app/v/oIk3R-sMX5o/?t=1189) Lapse them down into, like, from my eight options down into one option. And so every step I need to or, like, one row into an existing row. Got it. Yeah. It's actually kind of funny that you would sort of, you don't think at the level of hardware, you sort of just think, like, oh, I'll just select element three. And something as simple as that is a sort of, like, in and of itself, a quite complicated circuit.

[20:13](https://realalpha.app/v/oIk3R-sMX5o/?t=1213) Yeah. I mean, this is the first step of all of the hidden data movement costs that are sharp. Yeah. and so like the thing like we're just going to like compare like I have to pay this cost and I've got one max here and then in fact I have two more copies of that for each of the three inputs to my multiply accumulate operation and so I have this cost which is like like three times n times p and gates over here compared to this p times q like sort of gates in the actual circuit that is doing the thing I care about.

[20:46](https://realalpha.app/v/oIk3R-sMX5o/?t=1246) And if we plug in actual numbers, like this n being 8, like I get like 24 times p gates over just in the data movement compared to like if q is 4, like 4 times p gates just in the adder, multiply adder. And sorry, where is the 3 coming from? Three different inputs here. Got it, okay. So the case, like really just what I'm hinting at here is that all of this work, which scales as the size of the register file, and this is a very small register file, all of this work just moving the data from the register file to the logic unit is many, many times more expensive than the logic unit.

[21:28](https://realalpha.app/v/oIk3R-sMX5o/?t=1288) In the most recent ClusterMax report,
