Why inference clusters hit network limits, and the ZCube fix
- Source
- x.com
- Publisher
- Z.ai
- Date
https://t.co/jaOMnP7Yud
Context
Z.ai argues that in modern AI serving the network between GPUs, not just the GPUs, can cap how many requests a cluster answers, and it reports a production fix. Many providers now split each request across two pools of machines: prefill machines read the prompt and build the , the model's working memory of that prompt, and decode machines use that cache to generate the reply. The cache has to cross the network between them. In a 512-GPU test that changed nothing but network card bandwidth, Z.ai found that raising it from 100Gbps to 200Gbps lifted by about 19% and cut by about 22%, according to its write-up.
The problem it describes is uneven traffic rather than too little total bandwidth. A common cluster design, the rail-optimized fat-tree, wires every GPU with the same index to the same switch. That suits training, where traffic is regular, but cache transfers in split serving have changing sources, destinations and sizes, so they can pile onto a few switches and links. Those switches build long queues and send pause signals back to senders, and the cluster congests locally while its overall bandwidth looks sufficient. ZCube, designed with Harnets.AI and Tsinghua University and first published at SIGCOMM 2025, removes the upper spine layer of switches and splits the remaining switches into two groups wired to each other. Each GPU's network card connects to one switch in each group using two complementary patterns, one by contiguous GPU ranges and one by matching position across ranges, so any two GPUs are two switch hops apart with a single preferred path and flows that would collide under the old design get separate routes.
Z.ai rewired a thousand-GPU cluster serving GLM-5.1 coding requests and compared it before and after, without changing GPUs, software or applications. It reports average GPU inference throughput up by more than 15%, 99th-percentile time to first token down 40.6%, and switch and optical module spending cut by about a third, after more than two weeks of stable running. These are the company's own measurements on one workload. The rewiring was not free either: the old cabling, addressing and routing setup could not be reused, and Harnets.AI built dedicated tools to plan and verify the new cabling.
- KV cache — The memory a model keeps about text it has already read, so generating each new token doesn't require reprocessing the whole conversation.
- throughput — How much model output a provider can generate over time, commonly measured in output tokens per second.
- time to first token — The delay between sending a model request and receiving the first piece of its response.
- Backpressure — Signals and constraints that force an agent to stop or correct a failing path.
postWe’re sharing how GLM-5.3 helped build and optimize the inference infrastructure serving GLM-5.3-Flash.- postGLM-5 reaches Coding Plan Pro as Z.ai raises prices
postZ.ai ships GLM-5.3 with big exploit gains and staged weight release
articleGLM-5.3 ships with mandatory reasoning and big coding and cyber gains
videoKV Cache-Aware Routing and P/D Disaggregation on Kubernetes — Yuchen Fama & Ashish Kamra, Red HatAI Engineer
videoVertical Mobility: Inference from MVP to Trillion-Parameter Workloads — Sitanshu Gupta, CoreWeaveAI Engineer
articleAnother Giant Leap: The Rubin CPX Specialized Accelerator & RackDylan Patel