We conduct latency, throughput and CPU usage tests on the same host for variable-length data type (string) packets, with packet size 1k, 4k, 16k, 64k, 256k, 1M, 4M. We show the results for different transport channels: Intra-process communication using local transmission (INTRA), inter-process communication using shared memory transmission (SHMEM). We also show the results with environment variable ROS_DISABLE_LOANED_MESSAGES=0 for both publishers and subcribers, which is ROS2's Zero Copy Loaned Messages mechanism. The host is an X64 machine with Intel(R) Xeon(R) E-2314 CPU and NetXtreme BCM5720 1000M ethernet controller.
The scenario consists of 1 publisher and 1 subscribter.
The scenario consists of 1 publisher and 1 subscribter.
We show the latency results for 1 publisher and 1 subscriber, 3 subscribers and 10 subscribers respectively, using INTRA transport.
We show the latency results for 1 publisher and 1 subscriber, 3 subscribers and 10 subscribers respectively, using SHMEM transport.
We also conduct latency and throughput tests on two hosts using UDP transport,for variable-length data type (string) packets with packet size 1k, 4k, 16k, 64k, 256k, 1M, 4M. The two hosts are of same type: Intel(R) Xeon(R) E-2314 CPU and NetXtreme BCM5720 1000M ethernet controller, connected through 1000M ethernet.
The scenario consists of 1 publisher and 1 subscribter and we calculate the latency using the ping-pong method.
The scenario consists of 1 publisher and 1 subscribter