Tropical: Enhancing SLO Attainment in Disaggregated LLM Serving via SLO-Aware Multiplexing

Jinming Ma, Jiefei Chen, Xiuhong Li, Jiangfei Duan, Haojie Duanmu, Xingcheng Zhang, Chao Yang, Dahua Lin · DOI

TL;DR

This paper introduces Tropical, a novel LLM serving system that tackles the latency challenges of both prefill and decode phases. By intelligently multiplexing prefill and decode tasks onto shared workers, Tropical achieves a better balance between minimizing queuing times and reducing interference, leading to significantly improved service quality and higher SLO attainment compared to existing methods.

What Problem Does This Paper Address?

Serving large language models (LLMs) efficiently is crucial for real-time applications. LLM inference involves two key phases: prefill (generating the first token) and decode (generating subsequent tokens). Each phase has its own Service Level Objective (SLO): Time-to-First-Token (TTFT) for prefill and Time-per-Output-Token (TPOT) for decode. Existing LLM serving systems fall into two categories:

  • Non-disaggregated: Prefill and decode run on the same worker. This minimizes queuing times but leads to significant interference, where prefill operations can block decode operations, increasing TPOT.
  • Disaggregated: Prefill and decode run on separate, isolated workers. This eliminates interference and improves TPOT, but prefill workers can become bottlenecks, leading to high queuing times and thus worse TTFT.

Neither approach excels at meeting both TTFT and TPOT SLOs simultaneously. The challenge is to find a system that can balance the trade-offs between queuing time and interference to achieve high SLO attainment for both metrics.

Methods

The paper proposes Tropical, an LLM serving system that employs SLO-aware multiplexing. The core idea is to leverage the "slack" (performance buffer beyond the SLO) in decode operations to accommodate prefill tasks without violating TPOT SLOs.

Key components of Tropical include:

  • Multiplexing Toggle: This component acts as a traffic controller, deciding where to send incoming requests. It assigns workers to either prefill or multiplexing roles.
  • SLO-Aware Multiplexing: This strategy intelligently schedules prefill requests onto workers that are currently performing decode operations, but only if the predicted prefill execution time, combined with potential queuing time, is less than the available slack in the decode operation. This prevents prefill from significantly impacting decode performance.
  • Worker Management: Tropical manages a pool of workers that can perform both prefill and decode. It dynamically adjusts worker roles based on workload and SLO adherence. For instance, if decode workers are nearing their HBM (High Bandwidth Memory) usage threshold, prefill tasks might be routed to dedicated prefill workers to avoid interference. Conversely, if prefill tasks are consistently delayed, multiplexing workers might be temporarily repurposed for higher prefill throughput.

This approach aims to combine the low queuing times of non-disaggregated systems with the low interference of disaggregated systems, all while being mindful of SLOs.

Datasets

The paper evaluates Tropical using the Mooncake dataset, which is described as a trace of real-world long-context LLM serving. This dataset captures the dynamic nature of token lengths and arrival rates in LLM workloads.

Key Insights and Ideas

  • The fundamental trade-off: The paper clearly illustrates that non-disaggregated serving suffers from interference (hurting TPOT), while disaggregated serving suffers from queuing (hurting TTFT).
  • Slack is the key: The concept of "slack" in decode operations (the buffer between actual performance and the TPOT SLO) is identified as a crucial resource that can be exploited to improve overall system efficiency.
  • Dynamic role switching is complex: The paper highlights the difficulties and overheads associated with dynamically switching workers between prefill and decode roles, especially when moving from decode to prefill. Tropical's approach avoids this complex switching by intelligently multiplexing.
  • Short vs. Long contexts matter: The paper notes that for short contexts, queuing time is the dominant factor, favoring non-disaggregated approaches. For longer contexts, interference becomes more pronounced, favoring disaggregated approaches. Tropical aims to bridge this gap.

Key Results

Tropical demonstrates significant improvements over state-of-the-art non-disaggregated and disaggregated LLM serving systems:

  • Overall SLO Attainment: Tropical achieves up to 2.09x more requests within a 90% SLO attainment compared to baselines.
  • TTFT Improvement: Compared to disaggregated serving, Tropical improves P90 TTFT performance by 9x with only a 15% reduction in P90 TPOT.
  • TPOT Improvement: Against non-disaggregated serving systems, Tropical delivers a 2.8x performance improvement in P90 TPOT while maintaining the same P90 TTFT.
  • Queuing Time Reduction: Tropical improves P90 queuing time by 9x compared to DistServe (a disaggregated system).
  • CDF Analysis: Tropical shows a significantly better cumulative distribution function (CDF) for latency, indicating fewer requests experience extreme tail latencies compared to other systems.

Limitations and Future Work

  • Limitations: The paper acknowledges that while Tropical's TPOT performance is slightly lower than DistServe, it still meets the TPOT SLO for most requests. The effectiveness of Tropical might depend on the specific workload characteristics and the ability to accurately predict execution times and slack.
  • Future Work: The paper implicitly suggests that further research into more sophisticated prediction models for execution times and slack could further enhance Tropical's performance. Additionally, exploring different multiplexing strategies or worker configurations could be avenues for future work. The paper also touches upon the challenge of resource misallocation in disaggregated systems, hinting at potential for further optimization in worker resource allocation strategies.

Summary updated

BibTeX
@inproceedings{ma2025tropical,
  author = {Jinming Ma and Jiefei Chen and Xiuhong Li and Jiangfei Duan and Haojie Duanmu and Xingcheng Zhang and Chao Yang and Dahua Lin},
  title = {{Tropical: Enhancing SLO Attainment in Disaggregated LLM Serving via SLO-Aware Multiplexing}},
  booktitle = {DAC},
  year = {2025},
  doi = {10.1109/dac63849.2025.11132617},
}
Figure