=Start=
缘由:
学习需要
正文:
参考解答:
一、升级内核
1. yum系统更新
# yum update
2. 安装elrepo并升级内核
# rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org # rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm # yum --enablerepo=elrepo-kernel install kernel-ml -y
二、更新grub文件并重启检查内核是否更换成功
3. 更新grub文件并重启
# egrep ^menuentry /etc/grub2.cfg | cut -f 2 -d \' # grub2-set-default 0 # reboot
4.重新登录并检查内核是否已更换为4.9
# uname -r
三、开启bbr并验证
5.开启bbr
# vim /etc/sysctl.conf net.core.default_qdisc = fq net.ipv4.tcp_congestion_control = bbr # sysctl -p
6.验证bbr已经开启
# sysctl net.ipv4.tcp_available_congestion_control #或 # lsmod | grep bbr
参考链接:
#为VPS加速度# CentOS 7安装bbr教程
https://www.vmvps.com/speed-up-your-vps-with-installing-bbr-to-centos-7.html
Vultr CentOS7安装Google BBR加速工具方法
https://www.vultrclub.com/174.html
BBR自动安装脚本
https://github.com/teddysun/across/blob/master/bbr.sh
https://github.com/52fancy/GooGle-BBR/blob/master/BBR.sh
https://github.com/ToyoDAdoubi/doubi/blob/master/bbr.sh
OpenVZ BBR 一键安装脚本
https://github.com/kuoruan/shell-scripts/blob/master/ovz-bbr/ovz-bbr-installer.sh
=END=
《“CentOS 7开启BBR”》 有 1 条评论
Google BBR拥塞控制算法模型初探
https://addops.cn/post/tcp-bbr.html