TZC: Efficient Inter-Process Communication for Robotics Middleware with Partial Serialization

10/01/2018
by   Yu-Ping Wang, et al.
0

Inter-process communication (IPC) is one of the core functions of modern robotics middleware. We propose an efficient IPC technique called TZC (Towards Zero-Copy). As a core component of TZC, we design a novel algorithm called partial serialization. Our formulation can generate messages that can be divided into two parts. During message transmission, one part is transmitted through a socket and the other part uses shared memory. The part within shared memory is never copied or serialized during its lifetime. We have integrated TZC with ROS and ROS2 and find that TZC can be easily combined with current open-source platforms. By using TZC, the overhead of IPC remains constant when the message size grows. In particular, when the message size is 4MB (less than the size of a full HD image), TZC can reduce the overhead of ROS IPC from tens of milliseconds to hundreds of microseconds and can reduce the overhead of ROS2 IPC from hundreds of milliseconds to less than 1 millisecond. We also demonstrate the benefits of TZC by integrating with TurtleBot2 that are used in autonomous driving scenarios. We show that by using TZC, the braking distance can be shortened by 16

READ FULL TEXT

page 1

page 7

research
05/17/2023

Accelerating MPI Collectives with Process-in-Process-based Multi-object Techniques

In the exascale computing era, optimizing MPI collective performance in ...
research
08/16/2021

Smart Pointers and Shared Memory Synchronisation for Efficient Inter-process Communication in ROS on an Autonomous Vehicle

Despite the stringent requirements of a real-time system, the reliance o...
research
07/14/2021

AutoMCM: Maneuver Coordination Service with Abstracted Functions for Autonomous Driving

A cooperative intelligent transport system (C-ITS) uses vehicle-to-every...
research
01/17/2022

A Novel Covert Communication Method using Ambient Backscatter Communications

This paper introduces a novel solution to enable covert communication in...
research
09/05/2023

AutonomROS: A ReconROS-based Autonomonous Driving Unit

Autonomous driving has become an important research area in recent years...
research
12/13/2022

ALP: Alleviating CPU-Memory Data Movement Overheads in Memory-Centric Systems

Partitioning applications between NDP and host CPU cores causes inter-se...

Please sign up or login with your details

Forgot password? Click here to reset