# One rack bounds the size of an MoE expert layer

Markdown copy of https://realalpha.app/s/one-rack-bounds-the-size-of-an-moe-expert-layer/ 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: [How GPT, Claude, and Gemini are actually trained and served – Reiner Pope](https://realalpha.app/v/xmkSf5IS-zw/), Apr 29, 2026
- Moment: 33:29 to 40:59 of the episode (8 min), playing on https://realalpha.app/s/one-rack-bounds-the-size-of-an-moe-expert-layer/; the episode from there: https://realalpha.app/v/xmkSf5IS-zw/?t=2009

## Quote

> “**one rack actually bounds** the size of an expert layer you can do.”
> — [Reiner Pope](https://realalpha.app/builders/reiner-pope/) at [36:28](https://realalpha.app/v/xmkSf5IS-zw/?t=2188) · Dwarkesh Podcast

## Takeaways

1. Expert parallelism sends routed tokens between GPUs in an all-to-all pattern.
2. Scale-out bandwidth is typically about eight times slower.
3. A rack's interconnect sets a practical limit on expert-layer size.

## About this segment

Reiner Pope maps expert parallelism onto GPUs and explains the all-to-all traffic. Scale-out links are roughly eight times slower, so spreading an expert layer across racks creates a bottleneck.

From “How GPT, Claude, and Gemini are actually trained and served – Reiner Pope”, Apr 29, 2026. [Watch the full episode](https://realalpha.app/v/xmkSf5IS-zw/)

## Transcript

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

[33:41](https://realalpha.app/v/xmkSf5IS-zw/?t=2021) What I want to talk through is how this is mapped to a GPU rack and what this means for communication. Because I think this will start to show some of the limits of how sparse we can go. Yeah. So the standard practice here, and it is the best solution, is to use expert parallelism. So that means different experts go on different GPUs. So if we take something like a DeepSeq model, they have 256 experts. Let's say we want to run that on a Blackwell rack. So there are 72 GPUs.

[34:17](https://realalpha.app/v/xmkSf5IS-zw/?t=2057) We have a divisibility problem. This is not a power of two. So we'll just like Simplify and say we're only going to use 64 of them. Just ignore the other eight. It's not a big deal. And so we have four experts per GPU. Very simple. For the sake of the diagram, I'll actually just say, let's say we have two experts per GPU. So we end up just putting, these are the GPU boundaries. Every pair of experts is on its own GPU.

[34:49](https://realalpha.app/v/xmkSf5IS-zw/?t=2089) And then we can look at the communication cost. We had some experts stored, some tokens stored centrally here. They get routed to all of these experts. And so there is some communication cost paid here. There's the same communication cost paid on the output. And then the hope is that this does not become communication limited. Now, what is the traffic pattern here? The traffic pattern here is that any GPU, in fact, will be talking to any other GPU, depending on the decisions made by the model.

[35:22](https://realalpha.app/v/xmkSf5IS-zw/?t=2122) So this is an all-to-wall traffic pattern. So when you say any GPU in the pretense, the router is more than one GPU? Yeah, so I drew this as one router. In reality, you would actually have many copies of the router. And so you would have as many routers as GPUs, in fact. As the incoming traffic. Yeah, so these are 64 GPUs. These are 64 GPUs. It's actually the same GPUs. we just like draw them as a separate because they're serving different purposes.

[35:52](https://realalpha.app/v/xmkSf5IS-zw/?t=2152) So at this point, any GPU can be sending to any GPU. So this all to all pattern of communication that shows up. and how the blackwall racks are configured is a perfect fit for the communication pattern that the MOE actually wants to do. However, if you think maybe I want to do, like, maybe one rack is too slow and I want to do two racks, then I have this challenge that, like, maybe I've got some sort of rack boundary drawn outside here like this.

[36:27](https://realalpha.app/v/xmkSf5IS-zw/?t=2187) and I no longer, in fact, have all-to-all communication between all the GPUs in two racks. And so the rack-to-rack communication ends up being a substantial bottleneck. So the fundamental thing here is that one rack actually bounds the size of an expert layer you can do. And so this has been part of what's been driving towards larger and larger interconnect domains. Yeah. Before we, it may be worth you explaining what exactly a rack is, the differences in bandwidth between a rack and within a rack, and the all-to-all versus not all-to-all nature of communication within versus outside.

[37:06](https://realalpha.app/v/xmkSf5IS-zw/?t=2226) Yeah, and this is a place where it starts to be very different, in fact, between NVIDIA, for example, and Google, and then others, including us. So generally, a rack is a physical structure. It's a few meters tall, a meter or two wide, depends on configuration. And it stores some number of GPUs or XPUs, which is typically about 64. What constrains it being a certain size is power delivery, weight, and cooling ability.

[37:41](https://realalpha.app/v/xmkSf5IS-zw/?t=2261) It ends up being about this size in many cases because of these physical constraints. So, then when I deploy a data center, a data center may have thousands of these racks. So, I've got one of these tall racks, it's got a bunch of GPUs in it, and so on. And then I put another rack next up. You make it sound so easy. Yeah, right, I just dropped them in. In NVIDIA's case, the communication topology is actually, they put the GPUs on the outside of the rack, and then they put these switches on the inside of the rack.

[38:19](https://realalpha.app/v/xmkSf5IS-zw/?t=2299) So what this ends up being is that there's a set of switches in here. These are the NV switches. And then they run a bunch of cables. Every single GPU has cables going to the switches in the middle. So every GPU goes to the switches in the middle, and then the switches have connections to all the GPUs, so all of the GPUs can talk to all the other GPUs in just like two hops, going to the switch, going to the other GPU.

[38:52](https://realalpha.app/v/xmkSf5IS-zw/?t=2332) Now, when I want to leave the rack, I end up going via a different path. The GPUs have also a much slower connectivity, which is typically about eight times slower, which is, so the green that I drew here in GPU cases is the NVLink. More generally, it's called the scale-up network. This is the scale-up network. You will typically also have a scale-out network, which allows you to connect to like some data center switch.

[39:24](https://realalpha.app/v/xmkSf5IS-zw/?t=2364) So data center switch. And then all of the GPUs will have some connectivity up to some data center switch somewhere. But this is about times, like this is the scale out. And it tends to be about eight times slow in bad words. So the challenge, if you want to, for example, lay out a mixture of expert layer across two racks is that half of the GPUs here are going to be wanting to talk to the GPUs. here. And so just on average, when I look at where the tokens on these GPUs want to go, half of the tokens want to go inside the rack, that's great. They can use the fast scale-up network. But half the tokens are going to want to leave the rack and go to the other rack, and that's not as good. They're going to need to use a much slower network. And so that becomes the bottleneck on the all-to-all pattern. A different choice would be, well,

[40:26](https://realalpha.app/v/xmkSf5IS-zw/?t=2426) why don't I like have a big switch here and sort of like and connect everything to some big switching, like a much bigger switch that actually combines the two racks together. There are many ideas in this direction, but in general, it becomes the reason you have this sort of hierarchy of switches rather than one big switch is to manage the cabling congestion. You just need to run a large number of cables.
