Advice on UDP tuning for image data #1167
Replies: 3 comments 5 replies
-
I would strongly advice you to use TCP for 1-2MB messages. If you only have 1 subscriber over network, you will probably not see any downside of TCP at all. The downside will only come if you have more than 1 subscriber, as each subscriber will get its own data stream and therefore requires extra network bandwith. You can learn more about the eCAL TCP Layer here: |
Beta Was this translation helpful? Give feedback.
-
I have a specific question on bandwidth_max_udp Understand the unit is bytes per second, and the actual implementation is here ecal/ecal/core/src/io/snd_sample.cpp Line 55 in db15d93 ecal/ecal/core/src/io/snd_raw_buffer.cpp Lines 121 to 126 in db15d93 It seems to throttle each eCAL message by sleeping in between packet. Question, does that mean this bandwidth is per message / publisher? Not global? |
Beta Was this translation helpful? Give feedback.
-
Another issue trying to use TCP though:
|
Beta Was this translation helpful? Give feedback.
-
We are experimenting eCAL cloud pub-sub over direct Gigabit Ethernet connection, and use the default behaviour which is UDP.
https://eclipse-ecal.github.io/ecal/advanced/message_drops.html
From this manual, I understand that we are likely required to tune the OS UDP settings. But could you give examples on what are tunable here?
Setup:
Current situration:
Beta Was this translation helpful? Give feedback.
All reactions