ZICQ
中 Log in / Sign up
Newsroom Official Compute & Architecture #Cerebras #Disaggregated Inference #Prefill-Decode Disaggregation #KV Cache #Heterogeneous Computing

Cerebras Disaggregates Prefill and Decode for 5× Early Throughput Gains

Avatar of Mr.Xu

By Mr.Xu Compiled & Reviewed by Editorial

Published:

中文阅读 (Chinese) English Version
Co-reading Select any sentence in the article to highlight, annotate, or copy a quote card. Join discussion ↓

Summary:Cerebras has outlined a heterogeneous disaggregated-inference architecture that separates prompt prefill from token decoding and maps each phase to different accelerator resources. The company says early tests delivered 5× higher aggregate throughput with the same number of Cerebras systems and no loss in token-generation speed. The technical rationale is compelling: prefill performs large, reusable matrix operations and tends to be compute-bound, while decode must stream model weights and is b


Cerebras has presented heterogeneous disaggregated inference as a system-level redesign rather than another scheduling switch for an existing serving stack. Its central idea is to place a request's prefill and decode phases on hardware suited to their respective bottlenecks: compute-heavy resources for prefill and bandwidth-rich, low-latency resources for decode. According to Cerebras, early tests produced 5× higher aggregate throughput with the same number of Cerebras systems and no loss in token-generation speed.

Mechanism: Why Prefill and Decode Must Be Separated

Accelerator efficiency can be described through arithmetic intensity: I = FLOPs / bytes transferred. It measures how much computation is performed for each unit of data movement, but it is not a direct measure of runtime. A processor limited by waiting for data is bandwidth-bound; one whose compute units remain busy is compute-bound.

Cerebras illustrates the concept with matrix addition. Reading two 2-byte values, performing one floating-point addition, and writing a 2-byte result transfers 6 bytes, producing an arithmetic intensity of 1 / 6 ≈ 0.167 FLOP/Byte. Matrix multiplication behaves differently: as dimensions grow, loaded values are reused across more output elements, so arithmetic grows faster than transferred data.

During LLM prefill, the full prompt is processed in parallel as a large matrix operation. This creates substantial data reuse and relatively high arithmetic intensity, making prefill primarily compute-bound. Decode uses the KV Cache to avoid recomputing keys and values for earlier tokens, but model weights still have to reach the compute units for every new token. With weights potentially spanning hundreds of gigabytes or terabytes, decode has much lower reuse and is therefore commonly memory-bandwidth-bound.

A simplified Roofline view expresses this as prefill time ≈ FLOPs_prefill / effective FLOPS and a decode lower bound of TPOT ≥ bytes touched per token / effective memory bandwidth. Actual latency also includes attention computation, kernel launches, scheduling, and communication, so these expressions identify the bottleneck rather than predict production latency.

Architecture: From Shared Scheduling to Heterogeneous Pools

In an aggregated system, prefill and decode share the same machines. Prioritizing prefill can reduce the time to the first token for new requests but interrupt responses that are already streaming. Prioritizing decode keeps existing responses smooth but can leave new prompts waiting behind a large batch. The scheduler is therefore trading TTFT, TPOT, and queueing delay.

Disaggregation places the two phases in independent pools. After prefill completes, the request's KV Cache and associated state must be handed to a decode worker. The pools can then scale according to their own queue pressure, reducing interference between compute-heavy prefill bursts and bandwidth-heavy decode loops. A heterogeneous implementation goes further by combining different accelerator types, assigning high-compute hardware to prefill and high-bandwidth, low-latency hardware to decode.

This phase separation is distinct from model or tensor parallelism. Model parallelism divides the weights or operations of a layer across chips, whereas prefill-decode disaggregation divides the lifecycle of a request. The two mechanisms are orthogonal and can be combined.

Engineering Trade-offs

The first cost is phase handoff. For a long context, KV data is approximately 2 × layers × tokens × KV heads × head dimension × dtype bytes, where the factor of two covers keys and values. Handoff time is roughly KV bytes / link bandwidth + network round-trip latency. At very long context lengths, copying, serialization, congestion, and destination-memory allocation can erase the benefit of separation. GQA, KV compression, and chunked transfer can reduce these costs, but each introduces compatibility or quality-validation work.

The second cost is queue imbalance. Because the two pools scale independently, either can become the new bottleneck. Expanding only the decode pool while prefill accumulates harms TTFT; expanding only the prefill pool when decode capacity is insufficient harms TPOT and queue wait.

The third cost is that disaggregation does not remove the decode bottleneck. If the target device lacks sufficient memory bandwidth, effective weight placement, or concurrent capacity, adding decode workers may not produce linear scaling. Heterogeneous deployments also increase the burden of model-format support, kernel compatibility, precision policies, observability, and failure recovery.

Finally, a distributed control plane must handle worker failure, KV-transfer retries, duplicate execution, idempotency, and partially completed requests. Without request affinity and an explicit state machine, recovery can be more complicated than in an aggregated service.

Early Results and Benchmark Boundaries

Cerebras describes the 5× figure as an early result under a fixed number of systems and with token-generation speed maintained. It demonstrates meaningful utilization gains, but it does not mean every request becomes 5× faster. Aggregate throughput, TTFT, and per-token latency are separate objectives, and their relative gains change with the mix of long and short prompts.

The article does not disclose the model and architecture, weight precision, input/output-length distribution, concurrency level, batching policy, chip mix, interconnect bandwidth, power, cost, TTFT, TPOT, or p95/p99 latency. Arithmetic intensity explains why separation can help; it does not reproduce the benchmark. As the first installment in a series, the post also lacks a complete, reproducible experimental configuration. The 5× result should therefore be treated as a signal of architectural potential rather than a capacity commitment for production planning.

Deployment Recommendations

  1. Establish a baseline by replaying real traffic and comparing aggregated and disaggregated deployments on TTFT, TPOT, throughput, p95/p99 latency, goodput, power, and cost per million tokens.
  2. Cover at least four workload classes: short prompt/short output, long prompt/short output, short prompt/long output, and long prompt/long output. This reveals whether the gain comes from genuine phase isolation or a narrow traffic mix.
  3. Monitor prefill and decode queues separately, along with KV-transfer volume, link utilization, memory bandwidth, weight loading, and cache-hit rate. Use distinct scaling policies for each pool.
  4. Preserve phase affinity in the router and provide a tested fallback to aggregated serving for transfer failures, timeouts, and degraded workers.
  5. Expand heterogeneous deployment only when profiling confirms that the phases have different bottlenecks and peak pressures, and when interconnect bandwidth has sufficient headroom. For predominantly short-request workloads, the complexity may not pay for itself.

Cerebras has demonstrated a coherent understanding of the bottlenecks in disaggregated serving, but the current evidence does not establish that the architecture will consistently deliver a 5× gain in general production traffic. Its eventual value will depend on hardware specialization, KV-transfer efficiency, and scheduling working as a closed loop.


Source: Cerebras Blog (2026-10-01)

— END —

Tags: #Cerebras #Disaggregated Inference #Prefill-Decode Disaggregation #KV Cache #Heterogeneous Computing

Editorial & Fact-Checking Note: This article is compiled from primary research, official release documentation, and source papers by the ZICQ Newsroom pipeline with automated entity verification and human editorial review. If you notice any technical inaccuracy, please submit a correction via our corrections policy or email our editorial desk directly.

What's your take on this story?
Explore & Submit Works

Community Comments

Loading live comments and annotations…