Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

ROS ate my network bandwidth!

Sorry for the title, no offence. I'm just crazy about the problem. I have 2 computers, A and B connected via a 1000Mbps network connection, 3 network cameras were connected to this network. I was trying to capture images in computer A, and publish the images via ROS, so the computer B could receive a copy simultaneously. Here is the weird thing I've encountered: If the IN-COMING bandwidth of B is ~400Mbps, then the OUT-GOING bandwidth of A would be ~800Mbps, that said, A is sending twice as much data as needed by B. What's wrong with it??? I've tested the bandwidth usage by the command rostopic bw /the_image_topic, and the result on both A and B are all ~400Mbps. I'm very sure that there's no other subscriber on the network, as when I stop the subscriber on B, the network traffic drops down to nearly zero immediately.

In case there's some bugs lies in the camera driver, I wrote a very simple program to publish some Lidar data from pre-recorded Lidar files. And I could observe the same issue is still there, or even worse, this time the ratio of out-going/in-coming is very like 3/1 ...

Can anyone help me with this problem? The bandwidth is far from sufficient to support 3 cameras simultaneously, it's currently the bottleneck of my system

ROS ate my network bandwidth!

Sorry for the title, no offence. I'm just crazy about the problem. problem.

I have 2 computers, A and B connected via a 1000Mbps network connection, 3 network cameras were connected to this network. network.

I was trying to capture images in computer A, and publish the images via ROS, so the computer B could receive a copy simultaneously. simultaneously.

Here is the weird thing I've encountered: encountered:

If the IN-COMING bandwidth of B is ~400Mbps, then the OUT-GOING bandwidth of A would be ~800Mbps, that said, A is sending twice as much data as needed by B. What's wrong with it??? I've tested the bandwidth usage by the command rostopic bw /the_image_topic, and the result on both A and B are all ~400Mbps. ~400Mbps.

I'm very sure that there's no other subscriber on the network, as when I stop the subscriber on B, the network traffic drops down to nearly zero immediately.

In case there's some bugs lies in the camera driver, I wrote a very simple program to publish some Lidar data from pre-recorded Lidar files. And I could observe the same issue is still there, or even worse, this time the ratio of out-going/in-coming is very like 3/1 ...

Can anyone help me with this problem? The bandwidth is far from sufficient to support 3 cameras simultaneously, it's currently the bottleneck of my system

ROS ate my network bandwidth!

Sorry for the title, no offence. I'm just crazy about the problem.

I have 2 computers, A and B connected via a 1000Mbps network connection, 3 network cameras were connected to this network.

I was trying to capture images in computer A, and publish the images via ROS, so the computer B could receive a copy simultaneously.

Here is the weird thing I've encountered:

If the IN-COMING bandwidth of B is ~400Mbps, then the OUT-GOING bandwidth of A would be ~800Mbps, that said, A is sending twice as much data as needed by B. What's wrong with it??? I've tested the bandwidth usage by the command rostopic bw /the_image_topic, and the result on both A and B are all ~400Mbps.

I'm very sure that there's no other subscriber on the network, as when I stop the subscriber on B, the network traffic drops down to nearly zero immediately.

In case there's some bugs lies in the camera driver, I wrote a very simple program to publish some Lidar data from pre-recorded Lidar files. And I could observe the same issue is still there, or even worse, this time the ratio of out-going/in-coming is very like near to 3/1 ...

Can anyone help me with this problem? The bandwidth is far from sufficient to support 3 cameras simultaneously, it's currently the bottleneck of my system

ROS ate my network bandwidth!

Sorry for the title, no offence. I'm just crazy about the problem.

I have 2 computers, A and B connected via a 1000Mbps network connection, 3 network cameras were connected to this network.

I was trying to capture images in computer A, and publish the images via ROS, so the computer B could receive a copy simultaneously.

Here is the weird thing I've encountered:

If the IN-COMING bandwidth of B is ~400Mbps, then the OUT-GOING bandwidth of A would be ~800Mbps, that said, A is sending twice as much data as needed by B. What's wrong with it??? I've tested the bandwidth usage by the command rostopic bw /the_image_topic, and the result on both A and B are all ~400Mbps.

I'm very sure that there's no other subscriber on the network, as when I stop the subscriber on B, the network traffic drops down to nearly zero immediately.

In case there's some bugs lies in the camera driver, I wrote a very simple program to publish some Lidar data from pre-recorded Lidar files. And I could observe the same issue is still there, or even worse, this time the ratio of out-going/in-coming is very near to 3/1 ...

Can anyone help me with this problem? The bandwidth is far from sufficient to support 3 cameras simultaneously, it's currently the bottleneck of my systemsystem. Many thanks for any kinds of help!

ROS ate my network bandwidth!

Sorry for the title, no offence. I'm just crazy about the problem.

I have 2 computers, A and B connected via a 1000Mbps network connection, 3 network cameras were connected to this network.

I was trying to capture images in computer A, and publish the images via ROS, so the computer B could receive a copy simultaneously.

Here is the weird thing I've encountered:

If the IN-COMING bandwidth of B is ~400Mbps, then the OUT-GOING bandwidth of A would be ~800Mbps, that said, A is sending twice as much data as needed by B. What's wrong with it??? I've tested the bandwidth usage by the command rostopic bw /the_image_topic, and the result on both A and B are all ~400Mbps.

I'm very sure that there's no other subscriber on the network, as when I stop the subscriber on B, the network traffic drops down to nearly zero immediately.

In case there's some bugs lies lie in the camera driver, I wrote a very simple program to publish some Lidar data from pre-recorded Lidar files. And I could observe the same issue is still there, or even worse, this time the ratio of out-going/in-coming is very near to 3/1 ...

Can anyone help me with this problem? The bandwidth is far from sufficient to support 3 cameras simultaneously, it's currently the bottleneck of my system. Many thanks for any kinds of help!