Lune

RTSS2025顶会

On the Scalability and Efficiency of Intra-Process Communication in Ros 2

Xiantong Luo, Xu Jiang, Yichen Liu, Nan Guan, Yue Tang, Shaoshuai Zhang

摘要

The Robot Operating System 2 (ROS 2) has become a widely adopted middleware framework for building modular and distributed robotic systems. Its intra-process communication mechanism is designed to reduce latency by avoiding serialization and memory copying, which is often treated as a negligible or constant-cost operation in both system design and performance analysis. However, this assumption oversimplifies the underlying behavior and may lead to inaccurate performance models and misleading conclusions, especially in latency-sensitive applications. In this paper, we present a comprehensive analysis of intraprocess communication in ROS 2, revealing that its performance is highly sensitive to message configuration, workload structure, and message usage strategies. We identify a scalability risk caused by misaligned communication configurations and propose a guideline to ensure efficient and predictable intra-process communication across varying execution patterns. In addition, we uncover a performance bottleneck in the default ROS 2 implementation stemming from repeated message creation. To address this, we propose a novel message pooling mechanism that reuses message objects to exploit temporal locality and eliminate redundant allocations. Our design is fully compatible with existing ROS 2 APIs and requires no modifications to application-level code. Experimental evaluations using synthetic benchmarks and real-world case studies demonstrate substantial improvements in communication latency, validating the practicality of our design.

问 Lune

几分钟看清这篇 Paper 的位置,不用再花一下午。

Lune 能读引用它和与它最相关的顶会 Paper,讲清它说了什么、后来怎样、哪里站不住,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

摘要 · 相关的 Paper

获取答案

免费开始,无需绑卡

相关 Paper

  1. Modeling and Analysis of Inter-Process Communication Delay in ROS 2Xiantong Luo, Xu Jiang, Nan Guan, Haochun Liang 等RTSS 2023 · 10 次引用
  2. An Analytical Latency Model of the Data Distribution Service in ROS 2Hyungseok Park, Sanghoon Lee, Doosik Um, Hyunho Ryu 等INFOCOM 2025 · 3 次引用
  3. Worst-Case Latency Analysis of Message Synchronization in ROSRuoxiang Li, Xu Jiang, Zheng Dong, Jen-Ming Wu 等RTSS 2023 · 10 次引用
  4. SEAM: An Optimal Message Synchronizer in ROS with Well-Bounded Time DisparityJinghao Sun, Tianyi Wang, Yang Li, Nan Guan 等RTSS 2023 · 8 次引用
  5. A ROS 2 Response-Time Analysis Exploiting Starvation Freedom and Execution-Time VarianceTobias Blaß, Daniel Casini, Sergey Bozhko, Björn B. BrandenburgRTSS 2021 · 64 次引用
黄昏的海面,两侧是细线勾勒的悬崖