A Predictive and Synergistic Two-Layer Scheduling Framework for LLM Serving

Yue Zhang, Yuansheng Chen, Xuan Mo, Alex Xi, Jialun Li, Weigang WuarXiv 2025 · DOI

Introduction

Modern Large Language Model (LLM) serving typically relies on a two-tier architecture: a cluster router distributes incoming requests to multiple inference engines, which then handle internal batching and execution. However, this setup suffers from two critical "information gaps" that lead to frequent Service Level Objective (SLO) violations and resource waste.

  1. The External Gap: Routers usually rely on lagging, coarse-grained metrics (like 5-second rolling average latency). By the time the router detects a latency spike, the engine is already overwhelmed, resulting in "decision lag."
  2. The Internal Gap: Individual engines often use static, heuristic-based scheduling policies that cannot adapt to dynamic workloads or the inherent trade-off between Time-to-First-Token (TTFT) and Time-per-Output-Token (TPOT).

NexusSched: Predictive Orchestration

To address these challenges, the authors introduce NexusSched, a novel framework that shifts the system from reactive load balancing to predictive orchestration. NexusSched eliminates information gaps through a "cross-layer closed-loop" design consisting of three main pillars:

  • Structurally-Informed Performance Model: A physics-inspired model that accounts for GPU execution realities like memory-bound saturation. It uses online learning to adapt to new hardware in real-time without offline profiling.
  • LENS (Latency-Enhanced Node Scheduler): At the engine layer, LENS uses the performance model to dynamically calculate optimal batching plans that maximize throughput while respecting latency constraints.
  • PRISM (Predictive Routing with Instance State Metrics): At the cluster layer, PRISM replaces simple routing with a system that consumes "forward-looking" state vectors from engines to match requests to the most suitable instance.
Comparison between traditional reactive scheduling (Existing) and NexusSched's predictive, cross-layer architecture.

Key Results

The researchers evaluated NexusSched using production traces from FlowGPT and public benchmarks like arXiv-Summarization and ShareGPT across both homogeneous and heterogeneous GPU clusters.

NexusSched improved SLO attainment by an average of 43% compared to state-of-the-art baselines like vLLM and Sarathi-Serve. In long-context and heterogeneous scenarios, the framework delivered up to a 3× throughput speedup, while reducing P50 and P90 end-to-end latencies by 20% to 50%.

SLO attainment comparison across various workloads, demonstrating NexusSched's (PRISM) superior performance.

Conclusion

NexusSched demonstrates that scheduling based on what is about to happen is essential for efficient LLM serving. By incorporating hardware-aware performance modeling and cross-layer synergy, the system achieves near-ideal performance with negligible overhead. Future work will focus on scaling these mechanisms to massive clusters and incorporating more complex, multi-dimensional SLOs involving cost and power constraints.

Summary updated

BibTeX
@misc{zhang2025predictive,
  author = {Yue Zhang and Yuansheng Chen and Xuan Mo and Alex Xi and Jialun Li and Weigang Wu},
  title = {{A Predictive and Synergistic Two-Layer Scheduling Framework for LLM Serving}},
  year = {2025},
  eprint = {2509.23384},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.23384},
}
Figure