首页 > 服务器 > Ubuntu开启BBR

作者:ghostry 发布时间:2017-07-24 浏览: 2961

转载注明出处: https://blog.ghostry.cn/server/789.html

首先确认内核版本大于4.9

uname -r

如果不够大那么要更新,我用4.12.3

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.12.3/linux-image-4.12.3-041203-generic_4.12.3-041203.201707210343_amd64.deb
dpkg -i linux-image-4.*.deb
update-grub
reboot
vi /etc/sysctl.conf

添加

# TCP-BBR
net.core.default_qdisc=fq
net.ipv4.tcp_congestion_control=bbr

然后sysctl -p生效

# 查看当前网络堆栈的默认排队机制
sysctl net.core.default_qdisc
# 查看当前TCP BBR拥塞控制算法
sysctl net.ipv4.tcp_congestion_control
# 查看tcp_bbr内核模块是否启动
lsmod | grep bbr

如果有显示tcp_bbr,说明开启成功

标签: ubuntu

上一篇: smali注入开机启动任意apk
下一篇: 远程控制玩3D游戏

添加新评论 »

*
*

欢迎评论!歡迎評論!Comments welcome!komentoj bonvenaj!댓글 오신 것을 환영합니다!
:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: :cold: :cryy: :cute: :shy: :sleep: :struggle: :tea: :yahou: