Jump to content

5.Debian開啟BBR加速


Jack

Recommended Posts

-------------------------------------------------------------------------
Debian開啟BBR加速
-------------------------------------------------------------------------

内核檢查
uname -r

返回的内核 6.1.0-21-amd64

 


開啟BBR
vi /etc/sysctl.conf

 

底下黏貼這兩行
net.core.default_qdisc = fq

net.ipv4.tcp_congestion_control = bbr

 

儲存並離開
:wq

 

重開機
sudo reboot

 


-------------------------------------------------------------------------
測試是否開啟BBR
-------------------------------------------------------------------------


sysctl net.ipv4.tcp_available_congestion_control

返回值顯示為:net.ipv4.tcp_available_congestion_control = reno cubic bbr

 

sysctl net.ipv4.tcp_congestion_control

返回值顯示為:net.ipv4.tcp_congestion_control = bbr

 

sysctl net.core.default_qdisc

返回值顯示為:net.core.default_qdisc = fq

 

lsmod | grep bbr

返回值有 tcp_bbr 


說明BBR已啟動

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...