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 条
  • [21] Efficient Predictive Analysis for Detecting Nondeterminism in Multi-Threaded Programs
    Sinha, Arnab
    Malik, Sharad
    Gupta, Aarti
    PROCEEDINGS OF THE 12TH CONFERENCE ON FORMAL METHODS IN COMPUTER-AIDED DESIGN (FMCAD 2012), 2012, : 6 - 15
  • [22] Performance Analysis of Multi-threaded Applications in NUMA Multicore Processors
    Fang, Juan
    Fan, Qing-Wen
    Hao, Xiao-Ting
    Cai, Min
    Song, Shu-Ying
    Li, Bin
    2015 INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING AND INFORMATION SYSTEM (SEIS 2015), 2015, : 257 - 262
  • [23] Priority-driven scheduling and bandwidth allocation for MPEG-2 decoding
    Kim, J
    Lee, B
    Song, YH
    PROCEEDINGS OF THE 30TH EUROMICRO CONFERENCE, 2004, : 232 - 239
  • [24] ANALYSIS OF MULTI-THREADED CODE EXECUTION ON SMALL MULTI-CORE ARCHITECTURES
    Sgroi, Kevin J.
    Spetka, Scott E.
    PROCEEDINGS OF THE ASME INTERNATIONAL DESIGN ENGINEERING TECHNICAL CONFERENCES AND COMPUTERS AND INFORMATION IN ENGINEERING CONFERENCE, DETC 2010, VOL 3, A AND B, 2010, : 807 - 814
  • [25] Static conflict analysis for multi-threaded object-oriented programs
    Von Praun, Christoph
    Gross, Thomas R.
    ACM SIGPLAN Not., 1600, 5 (115-128):
  • [26] The impact of concurrency gains on the analysis and control of multi-threaded Internet services
    Jamjoom, H
    Chou, CT
    Shin, KG
    IEEE INFOCOM 2004: THE CONFERENCE ON COMPUTER COMMUNICATIONS, VOLS 1-4, PROCEEDINGS, 2004, : 827 - 837
  • [27] Static conflict analysis for multi-threaded object-oriented programs
    von Praun, C
    Gross, TR
    ACM SIGPLAN NOTICES, 2003, 38 (05) : 115 - 128
  • [28] Improving Real-Time Performance of Micro-ROS with Priority-Driven Chain-Aware Scheduling
    Wang, Zilong
    Liu, Songran
    Ji, Dong
    Yi, Wang
    ELECTRONICS, 2024, 13 (09)
  • [29] Multi-threaded integration of high throughput flow cytometry autosampling and analysis
    Edwards, BS
    Andrzejewski, B
    Ramirez, S
    Sklar, LA
    CYTOMETRY, 2002, : 120 - 120
  • [30] Dynamic Analysis of Multi-threaded Embedded Software to Expose Atomicity Violations
    Patel, Jay
    Lee, Yann-Hang
    2016 13TH INTERNATIONAL CONFERENCE ON EMBEDDED SOFTWARE AND SYSTEMS (ICESS) - PROCEEDINGS, 2016, : 36 - 41