Efficient LLM Serving on Hybrid Real-time and Best-effort Requests

Borui Wan, Juntao Zhao, Chenyu Jiang, Chuanxiong Guo, Chuan WuarXiv 2025 · OpenReview

Abstract

Recent breakthroughs in large Language Models (LLMs) have enabled various generative tasks on a single model. Real-world services powered by an LLM often concurrently support latency-critical requests for interactive applications (real-time or RT requests) and throughput-oriented requests for back-of-house processing (best-effort or BE requests). State-of-the-art (SOTA) LLM serving systems typically dedicate machines to each type of request, which simplifies management but suffers from poor resource utilization. We propose BROS, a hybrid LLM serving system that collocates RT/BE requests, meeting RT latency requirements while maintaining BE throughput. BROS employs a dynamic priority-based algorithm and a bidirectional KV cache management mechanism. Experiments show BROS reduces RT latency by up to 74.20% and improves SLO attainment by up to 36.38x, with negligible throughput reduction for BE requests.

Introduction

Large Language Model (LLM) providers currently face a significant resource management challenge. They must handle two fundamentally different types of traffic: latency-critical Real-Time (RT) requests, such as interactive chatbots where users expect immediate responses, and throughput-oriented Best-Effort (BE) requests, such as large-scale document batch processing.

Overview of the BROS system architecture handling hybrid RT and BE requests.

Currently, the industry standard is to "disaggregate" these workloads, running them on separate GPU clusters. This practice is inefficient; RT clusters are often over-provisioned to handle peak traffic and sit idle during lulls, while BE clusters cannot utilize those idle cycles. Mixing these workloads on a single machine is historically difficult due to "Head-of-Line" blocking—where long-running batch tasks block the queue for urgent interactive requests—and intense competition for the limited GPU memory used for the KV Cache.

The BROS System Architecture

BROS (Hybrid LLM Serving) introduces several key innovations to enable efficient "co-serving" of these disparate workloads by making scheduling decisions at every single token generation step (iteration).

1. Dynamic Priority-based Packing

Instead of a standard first-come, first-served queue, BROS utilizes a greedy scheduling algorithm. It calculates the "residual time" for every RT request based on its specific Service Level Objectives (SLOs), considering both Time to First Token (TTFT) and Time Per Output Token (TPOT). The scheduler prioritizes the most urgent RT requests and then fills the remaining GPU batch capacity with BE requests, ensuring high utilization without compromising the "flow" of interactive conversations.

2. Bidirectional KV Cache Management

Memory is often the primary bottleneck in LLM serving. Standard systems allocate memory blocks exclusively to a single request. BROS introduces a bidirectional scheme where an RT request and a BE request can share the same physical memory block. Data for the RT request grows from one end of the block, while the BE request grows from the other. This significantly reduces memory fragmentation and allows the system to keep more requests "warm" in memory, avoiding the massive time penalty of moving data between the GPU and CPU.

3. Adaptive Batch Sizing and Lazy Checkpointing

BROS dynamically adjusts batch sizes using a mechanism inspired by TCP Congestion Control. It increases the batch size to maximize throughput but performs an "aggressive backoff" if it detects that RT latency targets might be missed. Additionally, BROS employs "Lazy Checkpointing." When memory pressure occurs, it only saves the specific tokens about to be overwritten by a peer request in a bidirectional block, rather than dumping the entire request state to the CPU.

Evaluation and Results

The researchers evaluated BROS using realistic workloads from ShareGPT and LMSYS-CHAT-1M for RT tasks, and synthetic traces for BE tasks. Testing was conducted on OPT (13B/30B) and Llama-3 (70B) models using NVIDIA A100 GPUs.

Performance Gains

Compared to state-of-the-art systems like vLLM and TGI, BROS demonstrated:

  • Latency Reduction: A reduction in average normalized latency for RT requests by up to 74.20%.
  • Reliability: An improvement in SLO attainment by up to 36.38x, ensuring much more consistent user experiences.
  • Throughput Efficiency: Only a negligible reduction (roughly 11-15%) in BE throughput while providing significantly better RT performance, making it a much more efficient use of hardware than keeping clusters separate.

Conclusion and Future Work

BROS demonstrates that the trade-off between latency and throughput in LLM serving is not a zero-sum game. By optimizing memory sharing through bidirectional KV cache management and employing iteration-level scheduling, BROS allows providers to maximize hardware utilization while maintaining high-quality service for interactive users.

While effective, the current system faces a scheduling overhead of approximately 7.5% to 9.5% of total execution time. Future work will focus on optimizing this scheduler and exploring how BROS handles massive, multi-node scaling in geographically distributed deployments.

Summary updated

BibTeX
@misc{wan2025efficient,
  author = {Borui Wan and Juntao Zhao and Chenyu Jiang and Chuanxiong Guo and Chuan Wu},
  title = {{Efficient LLM Serving on Hybrid Real-time and Best-effort Requests}},
  year = {2025},
  eprint = {2504.09590},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.09590},
}
Figure