From dfb3a40f8c1082fadb8c92a22cd9bd3f846e6eed Mon Sep 17 00:00:00 2001 From: Luca Cominardi Date: Tue, 17 Sep 2024 15:17:56 +0200 Subject: [PATCH] Clarify batch size requirement when operating on multicast (#1428) * Clarify batch size requirement when operating on multicast * Update DEFAULT_CONFIG.json5 Co-authored-by: Mahmoud Mazouz --------- Co-authored-by: Mahmoud Mazouz --- DEFAULT_CONFIG.json5 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/DEFAULT_CONFIG.json5 b/DEFAULT_CONFIG.json5 index b318b5debd..5fa3a125ce 100644 --- a/DEFAULT_CONFIG.json5 +++ b/DEFAULT_CONFIG.json5 @@ -314,6 +314,13 @@ }, }, multicast: { + /// WARNING: multicast communication does not perform any negotiation upon group joining. + /// Because of that, it is important that all transport parameters are the same to make + /// sure all your nodes in the system can communicate. One common parameter to configure + /// is "transport/link/tx/batch_size" since its default value depends on the actual platform + /// when operating on multicast. + /// E.g., the batch size on Linux and Windows is 65535 bytes, on Mac OS X is 9216, and anything else is 8192. + /// Enables QoS on multicast communication. /// Default to false for Zenoh-to-Zenoh-Pico out-of-the-box compatibility. qos: {