升级Linux内核 BBR
升级Linux内核 BBR
标签(空格分隔): BBR
安装Nginx
yum install nginx
cd /usr/share/nginx/
dd if=/dev/zero of=./site.css count=1 bs=100M
安装bbr内核
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
rpm -Uvh https://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm
安装bbr内核
yum --enablerepo=elrepo-kernel install kernel-ml
查看电脑内核列表
egrep ^menuentry /etc/grub2.cfg | cut -f 2 -d \'
使用内核
grub2-set-default 0
启用bbr
echo 'net.core.default_qdisc=fq' | sudo tee -a /etc/sysctl.conf
echo 'net.ipv4.tcp_congestion_control=bbr' | sudo tee -a /etc/sysctl.conf