xanmod内核,一个经过各种优化之后的内核。。。
https://xanmod.org/
安装内核:
echo 'deb http://deb.xanmod.org releases main' | sudo tee /etc/apt/sources.list.d/xanmod-kernel.list wget -qO - https://dl.xanmod.org/gpg.key | sudo apt-key --keyring /etc/apt/trusted.gpg.d/xanmod-kernel.gpg add - sudo apt update && sudo apt install linux-xanmod -y
重启生效。
开启bbr,修改/etc/sysctl.conf
# 添加: net.core.default_qdisc = fq_pie net.ipv4.tcp_congestion_control = bbr net.ipv4.tcp_notsent_lowat = 16384 # 删除: net.core.default_qdisc net.ipv4.tcp_congestion_control # 验证tcp: sysctl net.ipv4.tcp_available_congestion_control # 返回值一般为: net.ipv4.tcp_available_congestion_control = bbr reno # 验证BBR是否已经启动。 sysctl net.ipv4.tcp_congestion_control # 返回值一般为: net.ipv4.tcp_congestion_control = bbr