Abstract
As modern Artificial Intelligence (AI) workloads increasingly demand high-performance hardware, the integration of accelerators like GPUs, TPUs, and FPGAs into time-critical systems has become essential. However, these accelerators are traditionally optimized for throughput rather than the deterministic timing required by safety-critical applications. This survey maps a decade of research into real-time scheduling for heterogeneous architectures, identifying the core challenges of non-unified access patterns, complex task dependencies, and resource contention. We categorize existing literature by task modeling, constraint levels, and implementation strategies, providing a comprehensive overview of how researchers are bridging the "heterogeneity gap" for autonomous vehicles, robotics, and other time-sensitive domains.
The Heterogeneity Gap in Modern Computing
The rapid evolution of AI has necessitated a shift toward heterogeneous computing. While CPUs excel at serial logic and preemption, accelerators are designed to process massive amounts of data in parallel. This fundamental difference creates a "heterogeneity gap" when these components must work together in time-critical environments, such as an autonomous vehicle that must detect obstacles within a strict millisecond window.
Three primary challenges hinder predictability in these systems:
- Non-unified Access Patterns: Unlike CPUs, many accelerators lack robust preemption capabilities, meaning a low-priority task can block a high-priority one until completion.
- Complex Dependencies: AI tasks typically involve a sequence of CPU-based serial code and accelerator-based parallel kernels, creating intricate timing dependencies.
- Resource Contention: Shared hardware resources, such as memory bandwidth and processing elements, lead to unpredictable delays when multiple tasks are executed concurrently.
Taxonomy of Real-Time Scheduling Approaches
To address these challenges, researchers have developed a variety of scheduling frameworks. This survey categorizes these works across three main dimensions: task modeling, constraint levels, and implementation strategy.
Task Modeling Approaches
Workload representation is critical for timing analysis. Researchers move beyond simple "Accelerator-Only" models to capture the nuances of heterogeneous execution:
- Self-Suspension Model (SSSM): Represents the CPU waiting for an accelerator to finish a kernel.
- Directed Acyclic Graphs (DAGs): Captures complex parallel and serial dependencies between different sub-tasks.
- Task Chains: Common in frameworks like the Robot Operating System (ROS), where data flows through a sequence of processing nodes.
Constraint Levels and Implementation
Scheduling strategies are further divided by their timing guarantees. Soft Real-Time approaches focus on heuristics to minimize deadline misses and optimize for secondary goals like energy efficiency. In contrast, Hard Real-Time approaches utilize formal Response Time Analysis (RTA) to mathematically guarantee that deadlines will never be missed. Implementation-wise, solutions range from vendor-specific hardware features (e.g., NVIDIA's Multi-Instance GPU) to researcher-driven software frameworks operating at the OS or middleware level.
Key Insights and Results
Research over the last decade has yielded several critical insights into managing heterogeneity:
- Spatial vs. Temporal Partitioning: To mitigate the lack of preemption, spatial partitioning—assigning specific hardware slices to specific tasks—has proven more effective at reducing timing "pessimism" than traditional temporal time-slicing.
- Multi-Objective Optimization: Modern frameworks are increasingly "thermal-aware." For example, the sBEET framework demonstrated energy savings of up to 21% on NVIDIA Jetson platforms while maintaining soft real-time constraints, recognizing that thermal throttling is a major threat to predictability.
- Application-Specific Schedulers: Schedulers tailored for perception (e.g., DREAM) or Large Language Models (e.g., RT-LM) have shown latency reductions of 32% to 50% by accounting for the unique data-dependent execution times of AI models.
Future Directions and Open Frontiers
Despite significant progress, several "open frontiers" remain. Most current research focuses on simple 1-CPU/1-GPU setups, whereas modern Systems-on-Chip (SoCs) like NVIDIA Orin feature dozens of heterogeneous cores (DLAs, ISPs, DSPs) that must be scheduled simultaneously. Furthermore, memory bus contention remains a "silent killer" of predictability that requires more accurate modeling. Finally, the authors call for the standardization of benchmarks and evaluation metrics to allow for fair, reproducible comparisons across the research community.
Summary updated