ubuntu 升级到5.1kernel,打开bbr
Posted muahao
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ubuntu 升级到5.1kernel,打开bbr相关的知识,希望对你有一定的参考价值。
apt-get -f install
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.1/linux-headers-5.1.0-050100_5.1.0-050100.201905052130_all.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.1/linux-headers-5.1.0-050100-generic_5.1.0-050100.201905052130_amd64.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.1/linux-image-unsigned-5.1.0-050100-generic_5.1.0-050100.201905052130_amd64.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.1/linux-modules-5.1.0-050100-generic_5.1.0-050100.201905052130_amd64.deb
sudo dpkg -i *.deb
# 启动顺序
grep menuentry /boot/grub/grub.cfg
echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf
sysctl -p
# 查看内核是否已开启BBR
sysctl net.ipv4.tcp_available_congestion_control
# 显示以下即已开启:
# sysctl net.ipv4.tcp_available_congestion_control
net.ipv4.tcp_available_congestion_control = bbr cubic reno
# 查看BBR是否启动
lsmod | grep bbr
以上是关于ubuntu 升级到5.1kernel,打开bbr的主要内容,如果未能解决你的问题,请参考以下文章