启用
启用
modprobe tcp_bbr
cat >/etc/sysctl.d/99-bbr.conf <<'EOF'
net.core.default_qdisc=fq
net.ipv4.tcp_congestion_control=bbr
EOF
sysctl --system
ss -ti | head -3| 核心状态机 | STARTUP → DRAIN → PROBE_BW → PROBE_RTT |
|---|---|
| 依赖 | 准确的时间戳与发送队列整形(fq) |
| 版本 | Linux 4.9 起内置 bbr(v1);新内核有 bbr2(实验) |
BBR 与丢包型限速器(中间设备 token bucket)交互可能产生较高队列延迟,跨境链路需实测。