ubuntu server 更新为hwe内核 开启BBR

--指定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



猜你喜欢

转载自blog.csdn.net/qadzhangc/article/details/79235043