ROS2 topic bandwidth seem doubled on netstat apps
Hi I'm using ROS2 foxy on a client and a server, the client transmits raw image data to server via ethernet the data transmits successfully but as I uses ros2 topic bw /camera/infra1/image_rect_raw to see the bandwidth overhead and uses bmon to see the overall network traffic. It has difference that the traffic at bmon are approximately doubled than ros2 bw.
And this is just a testing so I only open the camera nodes at client side and uses ros2 topic bw at server side
ubuntu@ubuntu-Default-string:~$ ros2 topic bw /camera/realsense_splitter_node/output/infra_1
Subscribed to [/camera/realsense_splitter_node/output/infra_1]
12.33 MB/s from 30 messages Message size mean: 0.41 MB min: 0.41 MB max: 0.41 MB
12.27 MB/s from 60 messages Message size mean: 0.41 MB min: 0.41 MB max: 0.41 MB
12.25 MB/s from 90 messages Message size mean: 0.41 MB min: 0.41 MB max: 0.41 MB
12.25 MB/s from 100 messages Message size mean: 0.41 MB min: 0.41 MB max: 0.41 MB
12.26 MB/s from 100 messages Message size mean: 0.41 MB min: 0.41 MB max: 0.41 MB
12.27 MB/s from 100 messages Message size mean: 0.41 MB min: 0.41 MB max: 0.41 MB
12.27 MB/s from 100 messages Message size mean: 0.41 MB min: 0.41 MB max: 0.41 MB
12.28 MB/s from 100 messages Message size mean: 0.41 MB min: 0.41 MB max: 0.41 MB
for the bmon since I cannot upload screenshots, the outputs are bmon: RX bps eno1 23.91MiB
so when I turn off the ros2 bw, the ros2 bw and bmon traffic are all dropped, bmon traffic are about 2KBps
is there anything wrong or am I missing something in ROS2? Any assistance would be appreciated, thanks.