Timing Analysis and Priority-driven Enhancements of ROS 2 Multi-threaded Executors

被引:7
|
作者
Sobhani, Hoora [1 ]
Choi, Hyunjong [2 ]
Kim, Hyoseung [1 ]
机构
[1] Univ Calif Riverside, Riverside, CA 92521 USA
[2] San Diego State Univ, San Diego, CA 92182 USA
基金
美国国家科学基金会;
关键词
SCHEDULABILITY; LATENCY;
D O I
10.1109/RTAS58335.2023.00016
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
The second generation of Robotic Operating System, ROS 2, has gained much attention for its potential to be used for safety-critical robotic applications. The need to provide a solid foundation for timing correctness and scheduling mechanisms is therefore growing rapidly. Although there are some pioneering studies conducted on formally analyzing the response time of processing chains in ROS 2, the focus has been limited to single-threaded executors, and multi-threaded executors, despite their advantages, have not been studied well. To fill this knowledge gap, in this paper, we propose a comprehensive response-time analysis framework for chains running on ROS 2 multi-threaded executors. We first analyze the timing behavior of the default scheduling scheme in ROS 2 multi-threaded executors, and then present priority-driven scheduling enhancements to address the limitations of the default scheme. Our framework can analyze chains with both arbitrary and constrained deadlines and also the effect of mutually-exclusive callback groups. Evaluation is conducted by a case study on NVIDIA Jetson AGX Xavier and schedulability experiments using randomly-generated chains. The results demonstrate that our analysis framework can safely upper-bound response times under various conditions and the priority-driven scheduling enhancements not only reduce the response time of critical chains but also improve analytical bounds.
引用
收藏
页码:106 / 118
页数:13
相关论文
共 50 条
  • [1] PAAM: A Framework for Coordinated and Priority-Driven Accelerator Management in ROS 2
    Enright, Daniel
    Xiang, Yecheng
    Choi, Hyunjong
    Kim, Hyoseung
    [J]. 2024 IEEE 30TH REAL-TIME AND EMBEDDED TECHNOLOGY AND APPLICATIONS SYMPOSIUM, RTAS 2024, 2023, : 81 - 94
  • [2] Microarchitectural enhancements for configurable multi-threaded soft processors
    Moussali, Roger
    Ghanem, Nabil
    Saghir, Mazen A. R.
    [J]. 2007 INTERNATIONAL CONFERENCE ON FIELD PROGRAMMABLE LOGIC AND APPLICATIONS, PROCEEDINGS, VOLS 1 AND 2, 2007, : 782 - 785
  • [3] Synergistic Timing Speculation for Multi-threaded Programs
    Yasin, Atif
    Zhang, Jeff
    Chen, Hu
    Garg, Siddharth
    Roy, Sanghamitra
    Chakraborty, Koushik
    [J]. 2016 ACM/EDAC/IEEE DESIGN AUTOMATION CONFERENCE (DAC), 2016,
  • [4] Real-Time Scheduling and Analysis of Processing Chains on Multi-threaded Executor in ROS 2
    Jiang, Xu
    Ji, Dong
    Guan, Nan
    Li, Ruoxiang
    Tang, Yue
    Wang, Yi
    [J]. 2022 IEEE 43RD REAL-TIME SYSTEMS SYMPOSIUM (RTSS 2022), 2022, : 27 - 39
  • [5] PiCAS: New Design of Priority-Driven Chain-Aware Scheduling for ROS2
    Choi, Hyunjong
    Xiang, Yecheng
    Kim, Hyoseung
    [J]. 2021 IEEE 27TH REAL-TIME AND EMBEDDED TECHNOLOGY AND APPLICATIONS SYMPOSIUM (RTAS 2021), 2021, : 251 - 263
  • [6] Response Time Analysis and Priority Assignment of Processing Chains on ROS2 Executors
    Tang, Yue
    Feng, Zhiwei
    Guan, Nan
    Jiang, Xu
    Lv, Mingsong
    Deng, Qingxu
    Yi, Wang
    [J]. 2020 IEEE 41ST REAL-TIME SYSTEMS SYMPOSIUM (RTSS), 2020, : 231 - 243
  • [7] Quantitative Analysis of Leakage for Multi-threaded Programs
    Chen, Han
    Malacaria, Pasquale
    [J]. PLAS'07: PROCEEDINGS OF THE 2007 ACM SIGPLAN WORKSHOP ON PROGRAMMING LANGUAGES AND ANALYSIS FOR SECURITY, 2007, : 31 - 40
  • [8] Input-driven Active Testing of Multi-threaded Programs
    Yue, Han
    Wu, Peng
    Chen, Tsong-Yueh
    Lv, Yi
    [J]. 2015 22ND ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2015), 2015, : 246 - 253
  • [9] Quantitative Security Analysis for Multi-threaded Programs
    Ngo, Tri Minh
    Huisman, Marieke
    [J]. ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2013, (117): : 34 - 48
  • [10] Dynamic deadlock analysis of multi-threaded programs
    Bensalem, Saddek
    Havelund, Klaus
    [J]. HARDWARE AND SOFTWARE VERIFICATION AND TESTING, 2006, 3875 : 208 - 223