Ubuntu 22.04 - как включить TCP BBR - скрипт bbr.sh: различия между версиями
Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Admin iph (обсуждение | вклад) |
Admin iph (обсуждение | вклад) |
||
Строка 1: | Строка 1: | ||
=== Ubuntu 22.04 - как включить TCP BBR - скрипт bbr.sh === | === Ubuntu 22.04 - как включить TCP BBR - скрипт bbr.sh === | ||
− | Автоматическое включение BBR для Ubuntu 22.04 через скрипт 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 | # 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 | ||
Версия 13:49, 1 ноября 2023
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
Результат:
---------- 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