aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/sysctl.d/30-peertube-tcp.conf
diff options
context:
space:
mode:
Diffstat (limited to 'support/sysctl.d/30-peertube-tcp.conf')
-rw-r--r--support/sysctl.d/30-peertube-tcp.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/support/sysctl.d/30-peertube-tcp.conf b/support/sysctl.d/30-peertube-tcp.conf
new file mode 100644
index 000000000..09285bb56
--- /dev/null
+++ b/support/sysctl.d/30-peertube-tcp.conf
@@ -0,0 +1,9 @@
1# In a video server, we are often sending files to a client
2# which can't accept it as fast as our local network connection
3# could produce packets. To prevent packet loss and buffer bloat,
4# it's especially important to use a modern CoDel scheduler which
5# knows how to delay outgoing packets to match slower client links.
6
7net.core.default_qdisc = fq_codel
8net.ipv4.tcp_congestion_control = bbr
9