uname -r
查看内核版本,BBR要求内核为kernel4.9以上版本。
如果大于或等于4.9的可以直接开启BBR,开启步骤如下
配置文件
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
顺利的话下面的命令就能看到bbr模块了
lsmod | grep bbr
sysctl net.ipv4.tcp_available_congestion_control
返回值一般为:
net.ipv4.tcp_available_congestion_control = bbr cubic reno
sysctl net.ipv4.tcp_congestion_control
返回值一般为:
net.ipv4.tcp_congestion_control = bbr
sysctl net.core.default_qdisc
返回值一般为:
net.core.default_qdisc = fq
如果内核版本低于4.9的需要手动升级到4.9或以上才能开启
去这里下载最新版的内核 deb 安装包
如果系统是 64 位,则下载 amd64 的 linux-image 中含有 generic 这个 deb 包;
如果系统是 32 位,则下载 i386 的 linux-image 中含有 generic 这个 deb 包;
安装的命令如下(以最新版的 64 位 4.12.4 举例而已,请替换为下载好的 deb 包):
dpkg -i linux-image-4.12.4-041204-generic_4.12.4-041204.201707271932_amd64.deb
安装完成后,再执行命令:
/usr/sbin/update-grub
最后,重启 VPS 即可。
1 评论
How to Make Money in the Betting world in 2021
回复删除This is 메리트 카지노 쿠폰 not a new way to make money from betting, 인카지노 it's a หารายได้เสริม quick and easy way of betting money. What's better than having some money on