Skip to content
This repository has been archived by the owner on Dec 9, 2021. It is now read-only.

Commit

Permalink
Change AllowMulticast to spdp (#34)
Browse files Browse the repository at this point in the history
In my testing, topics with reliable durability across a wifi network can only sustain about 30-60 messages per second (on a Ubiquiti AC Pro Router). Disabling multicast allows 800-1000 messages per second.

Signed-off-by: Dan Rose <dan@digilabs.io>
  • Loading branch information
rotu authored and clalancette committed Aug 12, 2019
1 parent ef54353 commit ccfd3a8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion opensplice_cmake_module/config/ros_ospl.xml
Expand Up @@ -10,7 +10,10 @@
<DDSI2Service name="ddsi2">
<General>
<NetworkInterfaceAddress>AUTO</NetworkInterfaceAddress>
<AllowMulticast>true</AllowMulticast>
<!-- On wireless networks, multicast traffic can severely limit effective bandwidth,
so enable it only for participant discovery.
-->
<AllowMulticast>spdp</AllowMulticast>
<EnableMulticastLoopback>true</EnableMulticastLoopback>
<CoexistWithNativeNetworking>false</CoexistWithNativeNetworking>
<FragmentSize>64000B</FragmentSize>
Expand Down

0 comments on commit ccfd3a8

Please sign in to comment.