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 через...»)
 
 
(не показаны 3 промежуточные версии этого же участника)
Строка 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 && ./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
 
+
 +
и нажать Enter.
  
 
Результат:
 
Результат:
Строка 19: Строка 20:
 
  # sysctl net.ipv4.tcp_congestion_control
 
  # sysctl net.ipv4.tcp_congestion_control
 
  net.ipv4.tcp_congestion_control = bbr
 
  net.ipv4.tcp_congestion_control = bbr
 +
 +
Проверим - загружен ли модуль bbr в ядро Linux:
 +
# lsmod | grep bbr
 +
tcp_bbr                20480  1
  
  
 
Links:
 
Links:
 
  https://teddysun.com/489.html
 
  https://teddysun.com/489.html

Текущая версия на 13:25, 10 апреля 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