mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-11-28 11:34:01 -06:00
f74c294a0d
* Suggest TCP/IP CoDel and BBR congestion control in production guide This seems to be helping lots on my server, where the default (Debian 9) was to use FIFO queueing which would cause buffer bloat and huge latency for clients on slower network links.
10 lines
398 B
Plaintext
10 lines
398 B
Plaintext
# In a video server, we are often sending files to a client
|
|
# which can't accept it as fast as our local network connection
|
|
# could produce packets. To prevent packet loss and buffer bloat,
|
|
# it's especially important to use a modern CoDel scheduler which
|
|
# knows how to delay outgoing packets to match slower client links.
|
|
|
|
net.core.default_qdisc = fq_codel
|
|
net.ipv4.tcp_congestion_control = bbr
|
|
|