ROS traffic over gigabit connection is renegotiated to 100 Mbps
I don't think the answer to this question is very ROS specific but maybe there are some ROS debugging tools that can be suggested, or it is just the sort of thing some ROS users have encountered before. (Maybe half the solution is ROS 2.0 with DDS, but I need to be operational before then)
I have an ethernet cable handling over 300 megabit/s of ROS traffic mainly in the form of image data. This has worked fined in the lab but in a less controlled outdoors environment with a 100' run of ethernet cable I occasionally encounter upsets of some sort that cause the Netgear unmanaged gigabit switch to change down to 100 Mbps as indicated by the presence of two flashing green lights for gigabit changing to one flashing green light. This is usually very bad for the robot since it continues to attempt to dump the same amount of data down the lessened connection, and there is no way to say that it is more okay to lose image frames than motor control messages. I see the bandwidth surge up to 100% of available then go down to zero over and over.
Using compressed images and extra care with what nodes run on which systems on either side of the problematic network connection can get my bandwidth within the smaller allotment, and things are fine after that except for losing the higher quality image data.
Sometimes unplugging and replugging the ethernet cable brought gigabit back for some amount of time.
The other odd thing is that there is a pc -> 1' cable -> netgear switch -> 100' cable -> remote system, but only the link lights on the 1' cable indicate 100 Mbps while the 100' cable still indicates gigabit.
I'm guessing there is a signal integrity issue over the 100' cable (I've tried switching it out, but the backup could be equally bad), and there is still gigabit traffic over it but a good deal of it is used up resending corrupted packets, but I'm not sure why that causes the short leg to go to 100 Mbps.
Do I need a high quality cable tester from Fluke or similar?
Switch to a higher quality shielded cable?
Should I change from less expensive Netgear switches to managed switches?
Are there any software tools to see what is happening in terms of resending of packets, or is it all hidden from me by the Netgear switches?