ROSGM: A Real-Time GPU Management Framework with Plug-In Policies for ROS 2

被引:6
作者
Li, Ruoxiang [1 ]
Hu, Tao [2 ]
Jiang, Xu [2 ]
Li, Laiwen [2 ]
Xing, Wenxuan [2 ]
Deng, Qingxu [2 ]
Guan, Nan [1 ]
机构
[1] City Univ Hong Kong, Hong Kong, Peoples R China
[2] Northeastern Univ, Shenyang, Peoples R China
来源
2023 IEEE 29TH REAL-TIME AND EMBEDDED TECHNOLOGY AND APPLICATIONS SYMPOSIUM, RTAS | 2023年
基金
中国国家自然科学基金;
关键词
D O I
10.1109/RTAS58335.2023.00015
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Robot Operating System (ROS) is a prevailing software framework for robotic application development. Graphics Processing Unit (GPU) is widely used in many ROS applications as a first-order computation resource. Unfortunately, ROS does not do any resource management for GPU, and different components in a ROS application directly submit their GPU workload without coordinating with each other, which may cause severe problems in both general performance and real-time capability. This paper presents ROSGM, a real-time ROS 2 GPU Management framework. Instead of providing a fixed GPU management policy for all scenarios, ROSGM allows the addition of any management policy as a plug-in and dynamic switching among different management policies at run-time, which is helpful since GPU management policies are typically device-dependent, and different applications or the same application in different modes may need different GPU management policies. Besides, ROSGM supports dynamic task loading and unloading for integrating additional functionalities when required at run-time. We conduct experiments to evaluate ROSGM. The results show that by properly managing the GPU resource using ROSGM, we can significantly improve the performance of ROS 2 applications. The flexibility of adding management policies as plug-ins, dynamic switching of management policies, and dynamic task loading and unloading helps improve the adaptability of ROSGM.
引用
收藏
页码:93 / 105
页数:13
相关论文
共 43 条
[1]  
Abdullah A. A., 2022, P 59 ACMIEEE DESIGN
[2]   GPU Scheduling on the NVIDIA TX2: Hidden Details Revealed [J].
Amert, Tanya ;
Otterness, Nathan ;
Yang, Ming ;
Anderson, James H. ;
Smith, F. Donelson .
2017 IEEE REAL-TIME SYSTEMS SYMPOSIUM (RTSS), 2017, :104-115
[3]   ros2_tracing: Multipurpose Low-Overhead Framework for Real-Time Tracing of ROS 2 [J].
Bedard, Christophe ;
Lutkebohle, Ingo ;
Dagenais, Michel .
IEEE ROBOTICS AND AUTOMATION LETTERS, 2022, 7 (03) :6511-6518
[4]  
Blab Tobias, 2021, 2021 IEEE Real-Time Systems Symposium (RTSS), P41, DOI 10.1109/RTSS52674.2021.00016
[5]   Automatic Latency Management for ROS 2: Benefits, Challenges, and Open Problems [J].
Blass, Tobias ;
Hamann, Arne ;
Lange, Ralph ;
Ziegenbein, Dirk ;
Brandenburg, Bjoern B. .
2021 IEEE 27TH REAL-TIME AND EMBEDDED TECHNOLOGY AND APPLICATIONS SYMPOSIUM (RTAS 2021), 2021, :264-277
[6]  
Casini D., 2019, LEIBNIZ INT P INFORM, P1
[7]   smCompactor: A Workload-aware Fine-grained Resource Management Framework for GPGPUs [J].
Chen, Qichen ;
Chung, Hyerin ;
Son, Yongseok ;
Kim, Yoonhee ;
Yeom, Heon Young .
36TH ANNUAL ACM SYMPOSIUM ON APPLIED COMPUTING, SAC 2021, 2021, :1147-1155
[8]   PiCAS: New Design of Priority-Driven Chain-Aware Scheduling for ROS2 [J].
Choi, Hyunjong ;
Xiang, Yecheng ;
Kim, Hyoseung .
2021 IEEE 27TH REAL-TIME AND EMBEDDED TECHNOLOGY AND APPLICATIONS SYMPOSIUM (RTAS 2021), 2021, :251-263
[9]  
Feddal N., 2022, 15 JUNIOR RES WORKSH, P20
[10]   Demystifying the Placement Policies of the NVIDIA GPU Thread Block Scheduler for Concurrent Kernels [J].
Gilman G. ;
Ogden S.S. ;
Guo T. ;
Walls R.J. .
Performance Evaluation Review, 2021, 48 (03) :81-88