Minimizing Probabilistic End-to-end Latencies of Autonomous Driving Systems

Taeho Han, Kanghee Kim · 2023

The responsiveness of autonomous driving (AD) systems is highly important for safety and performance of the vehicles. It is defined as end-to-end latency from sensing the surrounding environment to executing control signals, which determines how quickly the vehicle changes the driving behavior in response to an external event. The AD software stacks are modeled as a directed acyclic graph (DAG) of multi-rate tasks with variable execution times, where the probabilistic end-toend latencies (PEELs) of multiple task sequences need to be minimized on a multi-core processor. This paper proposes a novel schedule synthesis that reduces the PEELs of task sequences of interest under multi-core partitioned EDF scheduling. In the first stage, we generate a baseline schedule to avoid non-usable idle intervals as much as possible by estimating a lower bound on the total non-usable idle time. A non-usable idle interval is an idle interval that cannot be utilized by tasks preceding the interval, thus worsening the graph schedulability. In the second stage, we formulate the problem of reducing the PEELs of multiple task sequences under the baseline schedule into a multi-objective optimization of task phases and search for an optimal phase combination. Through experiments with a real AD stack called Autoware as well as synthetic task graphs, we show that our synthesis significantly improves the graph schedulability and the resulting end-to-end tail latencies.

Read the paper · More papers on PaperTik