Sfoglia il codice sorgente

etc: Update sysctl configs (#8955)

otbutz 2 anni fa
parent
commit
daf7baaeff
1 ha cambiato i file con 4 aggiunte e 3 eliminazioni
  1. 4 3
      etc/linux-sysctl/30-syncthing.conf

+ 4 - 3
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