Ubuntu 22.04 - как включить TCP BBR - скрипт bbr.sh
Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Ubuntu 22.04 - как включить TCP BBR - скрипт bbr.sh
Автоматическое включение BBR для Ubuntu 22.04 через скрипт bbr.sh:
# wget --no-check-certificate -O /opt/bbr.sh https://github.com/teddysun/across/raw/master/bbr.sh && chmod 755 /opt/bbr.sh && bash /opt/bbr.sh и нажать Enter.
Результат:
---------- System Information ---------- OS : Ubuntu 22.04.1 LTS Arch : x86_64 (64 Bit) Kernel : 5.15.0-46-generic
Automatically enable TCP BBR script URL: https://teddysun.com/489.html ---------------------------------------- Press any key to start...or Press Ctrl+C to cancel [Info] The kernel version is greater than 4.9, directly setting TCP BBR... [Info] Setting TCP BBR completed... # sysctl net.ipv4.tcp_congestion_control net.ipv4.tcp_congestion_control = bbr
Проверим - загружен ли модуль bbr в ядро Linux:
# lsmod | grep bbr tcp_bbr 20480 1
Links:
https://teddysun.com/489.html