X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=support%2Fdoc%2Fproduction.md;h=35c7de3b52eb552ffb91f18e01f1baa3758748b0;hb=bb5d90e62f631af3c899fbe586485e64938a5927;hp=3d1be6b45fa1d8f57af53c63cbea053f541e4f8a;hpb=65fcf1e9c28cd801c3c7b0c70f28d1ed52d3fd3a;p=github%2FChocobozzz%2FPeerTube.git diff --git a/support/doc/production.md b/support/doc/production.md index 3d1be6b45..35c7de3b5 100644 --- a/support/doc/production.md +++ b/support/doc/production.md @@ -134,6 +134,19 @@ On FreeBSD you can use [Dehydrated](https://dehydrated.io/) `security/dehydrated $ sudo pkg install dehydrated ``` +### TCP/IP Tuning + +**On Linux** + +``` +$ sudo cp /var/www/peertube/peertube-latest/support/sysctl.d/30-peertube-tcp.conf /etc/sysctl.d/ +$ sudo sysctl -p /etc/sysctl.d/30-peertube-tcp.conf +``` + +Your distro may enable this by default, but at least Debian 9 does not, and the default FIFO +scheduler is quite prone to "Buffer Bloat" and extreme latency when dealing with slower client +links as we often encounter in a video server. + ### systemd If your OS uses systemd, copy the configuration template: