Commit 20efa0

2025-06-10 18:04:25 Viraj Alankar: -/-
improving video streaming over wan.md ..
@@ 4,6 4,25 @@
[CachyOS](https://cachyos.org/) is the only Linux distro that has this builtin to its kernel. It must be [enabled](https://github.com/CachyOS/linux-cachyos/issues/439) manually.
+ [This ansible config](https://github.com/valankar/ansible) provides a way to set this up on new CachyOS and Debian machines. It includes a [kernel build for Debian 12](https://github.com/valankar/ansible/tree/master/kernel).
+
+ Some [sysctls](https://github.com/valankar/ansible/blob/master/cachyos/99-networking.conf) are needed to increase TCP buffer sizes. See also [this thread](https://groups.google.com/g/bbr-dev/c/Yj2_WCBtXpQ/m/S2976NUzEQAJ).
+
+ ```
+ # BBRv3
+ net.ipv4.tcp_congestion_control = bbr
+ net.core.default_qdisc = fq
+ # Needed for cloudflared quic:
+ # https://github.com/cloudflare/cloudflared/issues/1176
+ # It may also be needed for BBR:
+ # https://groups.google.com/g/bbr-dev/c/Yj2_WCBtXpQ/m/S2976NUzEQAJ
+ # Note: Setting _default settings affects non-IP sockets as well.
+ net.core.rmem_max=900000000
+ net.core.wmem_max=900000000
+ net.ipv4.tcp_wmem=4096 262144 900000000
+ net.ipv4.tcp_rmem=4096 540000 900000000
+ ```
+
## iperf3 examples
### Without BBRv3 (default Debian 12 kernel)
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9