PARD: A Dataflow Aware Profiler for ROS-Based Autonomous Driving Software
Open Access
- 22 April 2025
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Cyber-Physical Systems
- Vol. 9 (2) , 1-33
Abstract
Robot Operating System (ROS) is an open source software platform that is well-suited for building complex robotic systems. Autonomous driving systems are one of the emerging robotic systems that are built on top of ROS. However, complicated communications among ROS processes pose a great challenge for system designers to design efficient computing hardware in autonomous vehicles. This complexity stems from the implicit data dependencies among these processes. When a process is bound by computation or communication, it can lead to increased data generation time for subsequent processes in the dependency chain. Unfortunately, existing tools for ROS are either built for tracking the communication latencies or revealing the communication performance with abstracted performance graphs. For analyzing computational resource utilization, general-purpose profiling tools like perf should be further adopted. Substantial human effort is required to consolidate and analyze all the performance data generated by the above tools so as to pinpoint potential performance issues. To address this challenge, a ROS-based dataflow aware profiler PARD is proposed. PARD employs dataflow aware analysis methods to automatically analyze collected ROS performance data, and highlights potential computation and communication performance issues on our profile graph, helping users promptly identify system bottlenecks. Thanks to the proposed data analysis methods, the system designers are able to identify and solve the performance issues rapidly through the graphical data representation that accentuates the potential performance issues. The experimental results on the commercial-grade ROS-based autonomous driving software Autoware demonstrate PARD is useful for quickly identifying the potential performance issues for autonomous valet parking. Moreover, its overall impact on the system is around 2%, indicating that PARD is indeed useful for accelerating hardware design exploration in autonomous driving vehicles.Keywords
Funding Information
- National Science and Technology Council (111-2221-E-006-116-MY3)
This publication has 20 references indexed in Scilit:
- A novel distributed architecture for unmanned aircraft systems based on Robot Operating System 2IET Cyber-Systems and Robotics, 2023
- Message flow analysis with complex causal links for distributed ROS 2 systemsRobotics and Autonomous Systems, 2023
- Transportation robot based on multi-sensor fusion and machine vision2022
- Autoware_Perf: A tracing and performance analysis framework for ROS 2 applicationsJournal of Systems Architecture, 2022
- ROS-FM: Fast Monitoring for the Robotic Operating System(ROS)2020
- Demystifying Power and Performance Bottlenecks in Autonomous Driving Systems2020
- Remote human–robot collaboration: A cyber–physical system application for hazard manufacturing environmentJournal of Manufacturing Systems, 2020
- Autoware on Board: Enabling Autonomous Vehicles with Embedded Systems2018
- The normal distributions transform: a new approach to laser scan matching2004
- Critical path analysis for the execution of parallel and distributed programs2003