Holistic Heterogeneous Scheduling for Autonomous Applications using Fine-grained, Multi-XPU Abstraction

Mingcong Han, Weihang Shen, Rong Chen, Binyu Zang, Haibo ChenarXiv 2025 · DOI

Introduction

In autonomous systems like self-driving cars and robotics, low latency is critical for safety. A mere 100ms delay can result in a vehicle traveling several meters further before reacting to an obstacle. Modern System-on-Chips (SoCs), such as the NVIDIA Jetson AGX Orin, offer a variety of specialized processors (XPUs)—including CPUs, GPUs, and Deep Learning Accelerators (DLAs). However, current middleware like ROS2 and CyberRT often fail to utilize these resources efficiently due to coarse-grained scheduling abstractions and a lack of global resource awareness.

The XAUTO Framework

Researchers at Shanghai Jiao Tong University have developed XAUTO, a runtime system that addresses these inefficiencies through a two-layered approach. XAUTO moves away from traditional "module-level" scheduling, where an entire algorithm (e.g., object detection) is treated as a single task. Instead, it introduces the XNODE abstraction, which decomposes modules into individual algorithmic stages (e.g., image resizing, inference, post-processing).

The XAUTO workflow consists of an offline phase for profiling and policy solving, and an online phase for runtime execution and scheduling.

As shown in the system architecture, XAUTO operates in two phases:

  1. Offline Phase: The system profiles XNODEs to determine their Worst-Case Execution Time (WCET) on different XPUs. An Integer Linear Programming (ILP) solver then analyzes the application's Directed Acyclic Graph (DAG) to find a near-optimal global configuration for XPU assignments and task priorities.
  2. Online Phase: The runtime system manages task execution across partitioned schedulers for each XPU, utilizing hardware-specific preemption mechanisms to ensure high-priority tasks meet their deadlines.

Fine-Grained Scheduling Benefits

By breaking modules into XNODEs, XAUTO enables "stage-level" scheduling. This allows the system to overlap different stages of various modules across multiple XPUs simultaneously. For example, while one module is performing GPU-based inference, another can perform CPU-based preprocessing.

Comparison between module-level scheduling (80ms) and stage-level scheduling, illustrating how fine-grained XNODE abstractions allow for better resource utilization and lower latency.

A key insight from this research is that the "fastest" XPU for a specific task is not always the best choice for the entire system. Assigning a task to a slower but idle XPU (like a DLA) can reduce total end-to-end latency by freeing up high-demand resources (like the GPU) for more critical path tasks.

Key Results and Evaluation

The researchers evaluated XAUTO using both synthetic workloads and a realistic autonomous driving perception pipeline.

  • Latency Reduction: In a driving case study involving lane detection and obstacle tracking, XAUTO achieved a 1.61× speedup in end-to-end latency compared to ROS2.
  • Scalability: Across 350 unique synthetic DAGs, XAUTO consistently outperformed both ROS2 and standard heuristic algorithms (like HEFT), with performance gains ranging from 1.23× to 2.01×.
  • Overhead: The ILP solver typically converges within one minute for standard pipelines, and the runtime scheduling overhead remains minimal, consuming less than 0.5% of CPU utilization.

Conclusion and Future Work

XAUTO demonstrates that holistic, fine-grained scheduling is essential for maximizing the performance of heterogeneous SoCs in autonomous applications. While the current system relies on static offline profiling, future iterations aim to incorporate dynamic XPU reassignment and priority adjustment to better handle the unpredictable nature of real-world driving environments.

Summary updated

BibTeX
@misc{han2025holistic,
  author = {Mingcong Han and Weihang Shen and Rong Chen and Binyu Zang and Haibo Chen},
  title = {{Holistic Heterogeneous Scheduling for Autonomous Applications using Fine-grained, Multi-XPU Abstraction}},
  year = {2025},
  eprint = {2508.09503},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.09503},
}
Figure