您的位置:首页 > 其它

ubuntu server 更新为hwe内核 开启BBR

2018-02-02 08:45 495 查看
--指定loacle 字符集

dpkg-reconfigure locales

--指定时区

dpkg-reconfigure tzdata

dpkg --get-selections |grep linux-image

dpkg --get-selections |grep linux-headers

更新为使用hwe内核

apt install --install-recommends linux-generic-hwe-16.04 linux-headers-generic-hwe-16.04 xserver-xorg-hwe-16.04

开启 TCP BBR

开机后 uname -r 看看是不是内核 ≥ 4.9 

执行

echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf

echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf

保存生效

sysctl -p

执行

sysctl net.ipv4.tcp_available_congestion_control

sysctl net.ipv4.tcp_congestion_control

如果结果都有bbr, 则证明你的内核已开启 TCP BBR!

执行

lsmod | grep bbr
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  ubuntu bbr hwe