验证Google BBR开启和关闭

by Web全栈工程师 on 2017 年 01 月 18 日

验证Google BBR是否开启

#先查看内核版本
uname -a
#再检查net的返回参数一般为:bbr cubic reno 或者 reno cubic bbr
sysctl net.ipv4.tcp_congestion_control	

#返回值:net.ipv4.tcp_congestion_control = bbr
sysctl net.ipv4.tcp_congestion_control

#返回值:net.core.default_qdisc = fq
sysctl net.core.default_qdisc

关闭Google BBR

同理,关闭Google BBR,把对应参数改掉即可

sudo vim /etc/sysctl.conf

#用#注释掉:
#net.core.default_qdisc = fq
#net.ipv4.tcp_congestion_control = bbr

sysctl -p

Comments on this entry are closed.

Previous post:

Next post: