码迷,mamicode.com
首页 > 系统相关 > 详细

ubuntu 升级到5.1kernel,打开bbr

时间:2019-06-25 13:31:36      阅读:182      评论:0      收藏:0      [点我收藏+]

标签:sudo   lsm   内核   sig   def   sign   打开   get   menu   

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

标签:sudo   lsm   内核   sig   def   sign   打开   get   menu   

原文地址:https://www.cnblogs.com/muahao/p/11082068.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!