Skip to content

Naochen2799/Latest-Kernel-BBR3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 

Repository files navigation

这个项目旨在自动化从 kernel.org 获取最新的 stable 版本内核,并编译该内核,同时拉取 Google 的 BBR v3 源码并集成到编译过程中。

安装内核

bash <(curl -Ls https://raw.githubusercontent.com/Naochen2799/Latest-Kernel-BBR3/main/bbr3.sh) 

启用 bbrv3

# 设置 bbrv3
echo 'net.ipv4.tcp_congestion_control=bbr' | sudo tee -a /etc/sysctl.conf
sudo sysctl -p

# 查看当前的TCP流控算法
sysctl net.ipv4.tcp_congestion_control

# 查看可用的TCP流控算法,以module形式被编译的算法将不会显示
sysctl net.ipv4.tcp_available_congestion_control

如果想启用 bbrv3,流控算法应设置为 bbr,如果想使用早期版本的 bbr,流控算法应设置为 bbr1