From daf7baaeffca8d3b4d862bde836d33f12dbe88bb Mon Sep 17 00:00:00 2001 From: otbutz Date: Wed, 28 Jun 2023 07:05:12 +0200 Subject: [PATCH] etc: Update sysctl configs (#8955) --- etc/linux-sysctl/30-syncthing.conf | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/etc/linux-sysctl/30-syncthing.conf b/etc/linux-sysctl/30-syncthing.conf index 5bfea12df..6a364618b 100644 --- a/etc/linux-sysctl/30-syncthing.conf +++ b/etc/linux-sysctl/30-syncthing.conf @@ -1,3 +1,4 @@ -# Increase maximum receive socket buffer size to 2MiB for QUIC connections -# see https://github.com/quic-go/quic-go/wiki/UDP-Receive-Buffer-Size -net.core.rmem_max = 2097152 +# Increase maximum socket buffer sizes to 2.5MiB 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