Skip to main content

BBR

sysctl net.ipv4.tcp_available_congestion_control  # 可用的拥塞控制协议 - 默认 reno,cubic
sysctl net.ipv4.tcp_congestion_control # 当前的协议 - 默认 cubic

# 启用 BBR
modprobe tcp_bbr
echo tcp_bbr >> /etc/modules-load.d/bbr.conf
echo net.core.default_qdisc=fq >> /etc/sysctl.d/bbr.conf
echo net.ipv4.tcp_congestion_control=bbr >> /etc/sysctl.d/bbr.conf
sysctl -p /etc/sysctl.d/bbr.conf
# 验证
sysctl net.ipv4.tcp_available_congestion_control
sysctl net.ipv4.tcp_congestion_control