Jack Posted July 17, 2021 Share Posted July 17, 2021 (edited) ----------------------------------------- CentOS 8、Rocky Linux 8 的内核 4.x 只需要打开BBR ----------------------------------------- 查看内核 uname -r 结果是4.18 打开BBR vi /etc/sysctl.conf 如果没有以下这两行,就自己添加 net.core.default_qdisc = fq net.ipv4.tcp_congestion_control = bbr :wq 保存并离开 关闭selinux vi /etc/sysconfig/selinux SELINUX=enforcing 改为 SELINUX=disabled :wq 保存并离开 重启 sudo reboot 查看是否已打开BBR sysctl net.ipv4.tcp_available_congestion_control 返回值一般为: net.ipv4.tcp_available_congestion_control = reno cubic bbr sysctl net.ipv4.tcp_congestion_control 返回值一般为: net.ipv4.tcp_congestion_control = bbr sysctl net.core.default_qdisc 返回值一般为: net.core.default_qdisc = fq lsmod | grep bbr 返回值有 tcp_bbr 说明bbr已启动 Edited October 14, 2022 by Jack Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now