Lune

OSDI2024Top-tier venue

DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Serving

Yinmin Zhong, Shengyu Liu, Junda Chen, Jianbo Hu, Yibo Zhu, Xuanzhe Liu, Xin Jin, Hao Zhang

Abstract

DistServe improves the performance of large language models (LLMs) serving by disaggregating the prefill and decoding computation. Existing LLM serving systems colocate the two phases and batch the computation of prefill and decoding across all users and requests. We find that this strategy not only leads to strong prefill-decoding interferences but also couples the resource allocation and parallelism plans for both phases. LLM applications often emphasize individual latency for each phase: time to first token (TTFT) for the prefill phase and time per output token (TPOT) of each request for the decoding phase. In the presence of stringent latency requirements, existing systems have to prioritize one latency over the other, or over-provision compute resources to meet both. DistServe assigns prefill and decoding computation to different GPUs, hence eliminating prefill-decoding interferences. Given the application's TTFT and TPOT requirements, Dist-Serve co-optimizes the resource allocation and parallelism strategy tailored for each phase. DistServe also places the two phases according to the serving cluster's bandwidth to minimize the communication caused by disaggregation. As a result, DistServe significantly improves LLM serving performance in terms of the maximum rate that can be served within both TTFT and TPOT constraints on each GPU. Our evaluations show that on various popular LLMs, applications, and latency requirements, DistServe can serve 7.4× more requests or 12.6× tighter SLO, compared to state-of-the-art systems, while staying within latency constraints for > 90% of requests.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

175 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Parrot: Efficient Serving of LLM-based Applications with Semantic Variable cites Taming Throughput-Latency Tradeoff in LLM Inference with Sarathi-Serve
  • Parrot: Efficient Serving of LLM-based Applications with Semantic Variable cites FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
  • Parrot: Efficient Serving of LLM-based Applications with Semantic Variable cites Serving DNNs like Clockwork: Performance Predictability from the Bottom Up
  • Parrot: Efficient Serving of LLM-based Applications with Semantic Variable cites Efficient Memory Management for Large Language Model Serving with PagedAttention
  • Parrot: Efficient Serving of LLM-based Applications with Semantic Variable cites Orca: A Distributed Serving System for Transformer-Based Generative Models
  • Taming Throughput-Latency Tradeoff in LLM Inference with Sarathi-Serve cites FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
  • Taming Throughput-Latency Tradeoff in LLM Inference with Sarathi-Serve cites Serving DNNs like Clockwork: Performance Predictability from the Bottom Up
  • Taming Throughput-Latency Tradeoff in LLM Inference with Sarathi-Serve cites Orca: A Distributed Serving System for Transformer-Based Generative Models
  • Mooncake: Trading More Storage for Less Computation - A KVCache-centric Architecture for Serving LLM Chatbot cites Taming Throughput-Latency Tradeoff in LLM Inference with Sarathi-Serve
  • Mooncake: Trading More Storage for Less Computation - A KVCache-centric Architecture for Serving LLM Chatbot cites Efficient Memory Management for Large Language Model Serving with PagedAttention
  • Mooncake: Trading More Storage for Less Computation - A KVCache-centric Architecture for Serving LLM Chatbot cites Orca: A Distributed Serving System for Transformer-Based Generative Models
  • Efficient Memory Management for Large Language Model Serving with PagedAttention cites FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
  • Efficient Memory Management for Large Language Model Serving with PagedAttention cites Serving DNNs like Clockwork: Performance Predictability from the Bottom Up
  • Efficient Memory Management for Large Language Model Serving with PagedAttention cites Orca: A Distributed Serving System for Transformer-Based Generative Models
  • Mixture-of-Recursions: Learning Dynamic Recursive Depths for Adaptive Token-Level Computation cites FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
  • Mixture-of-Recursions: Learning Dynamic Recursive Depths for Adaptive Token-Level Computation cites Efficient Memory Management for Large Language Model Serving with PagedAttention
  • Mixture-of-Recursions: Learning Dynamic Recursive Depths for Adaptive Token-Level Computation cites Orca: A Distributed Serving System for Transformer-Based Generative Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers175

  1. Taming Throughput-Latency Tradeoff in LLM Inference with Sarathi-ServeAmey Agrawal, Nitin Kedia, Ashish Panwar, Jayashree Mohan et al.OSDI 2024 · 537 citations
  2. Mooncake: Trading More Storage for Less Computation - A KVCache-centric Architecture for Serving LLM ChatbotRuoyu Qin, Zheming Li, Weiran He, Jialei Cui et al.FAST 2025 · 337 citations
  3. dKV-Cache: The Cache for Diffusion Language ModelsXinyin Ma, Runpeng Yu, Gongfan Fang, Xinchao WangNeurIPS 2025 · 145 citations
  4. Mixture-of-Recursions: Learning Dynamic Recursive Depths for Adaptive Token-Level ComputationSangmin Bae, Yujin Kim, Reza Bayat, Sungnyun Kim et al.NeurIPS 2025 · 143 citations
  5. Parrot: Efficient Serving of LLM-based Applications with Semantic VariableChaofan Lin, Zhenhua Han, Chengruidong Zhang, Yuqing Yang et al.OSDI 2024 · 112 citations

Builds on17

  1. FlashAttention: Fast and Memory-Efficient Exact Attention with IO-AwarenessTri Dao, Daniel Y. Fu, Stefano Ermon, Atri Rudra et al.NeurIPS 2022 · 5,493 citations
  2. Efficient Memory Management for Large Language Model Serving with PagedAttentionWoosuk Kwon, Zhuohan Li, Siyuan Zhuang, Ying Sheng et al.SOSP 2023 · 1,016 citations
  3. ZeRO: memory optimizations toward training trillion parameter modelsSamyam Rajbhandari, Jeff Rasley, Olatunji Ruwase, Yuxiong HeSC 2020 · 852 citations
  4. Orca: A Distributed Serving System for Transformer-Based Generative ModelsGyeong-In Yu, Joo Seong Jeong, Geon-Woo Kim, Soojeong Kim et al.OSDI 2022 · 690 citations
  5. Serving DNNs like Clockwork: Performance Predictability from the Bottom UpArpan Gujarati, Reza Karimi, Safya Alzayat, Wei Hao et al.OSDI 2020 · 392 citations

Related papers

  1. WindServe: Efficient Phase-Disaggregated LLM Serving with Stream-based Dynamic SchedulingJingqi Feng, Yukai Huang, Rui Zhang, Sicheng Liang et al.ISCA 2025 · 16 citations
  2. DuetServe: Harmonizing Prefill and Decode for LLM Serving via Adaptive GPU MultiplexingLei Gao, Chaoyi Jiang, Hossein Entezari Zarch, Daniel Wong et al.ICML 2026 · 4 citations
  3. Tropical: Enhancing SLO Attainment in Disaggregated LLM Serving via SLO-Aware MultiplexingJinming Ma, Jiefei Chen, Xiuhong Li, Jiangfei Duan et al.DAC 2025 · 2 citations
  4. LoongServe: Efficiently Serving Long-Context Large Language Models with Elastic Sequence ParallelismBingyang Wu, Shengyu Liu, Yinmin Zhong, Peng Sun et al.SOSP 2024 · 32 citations
  5. Efficiently Serving Large Multimodal Models Using EPD DisaggregationGursimran Singh, Xinglu Wang, Yifan Hu, Timothy Tin Long Yu et al.ICML 2025
Dusk over the sea between two cliffs drawn in fine vertical lines