From ec3e474a53201f508e07f14a8fe409fe1879327a Mon Sep 17 00:00:00 2001 From: otbutz Date: Wed, 1 May 2024 10:03:07 +0200 Subject: [PATCH] etc: Use 7MiB buffer size (#9524) ### Purpose In preparation for quic-go v0.43.0. see https://github.com/quic-go/quic-go/pull/4455 --- etc/linux-sysctl/30-syncthing.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/linux-sysctl/30-syncthing.conf b/etc/linux-sysctl/30-syncthing.conf index 6a364618b..08cfb20f5 100644 --- a/etc/linux-sysctl/30-syncthing.conf +++ b/etc/linux-sysctl/30-syncthing.conf @@ -1,4 +1,4 @@ -# Increase maximum socket buffer sizes to 2.5MiB for QUIC connections +# Increase maximum socket buffer sizes to 7MiB for QUIC connections # see https://github.com/quic-go/quic-go/wiki/UDP-Buffer-Sizes -net.core.rmem_max = 2621440 -net.core.wmem_max = 2621440 +net.core.rmem_max = 7340032 +net.core.wmem_max = 7340032