v2-pg
[root@vps ~]# uname -a
Linux vps 3.10.0-514.26.2.el7.x86_64 #1 SMP Tue Jul 4 15:04:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
[root@vps ~]# cat /etc/redhat-release
CentOS Linux release 7.4.1708 (Core)

yum update
#安装elrepo并升级内核
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm
yum --enablerepo=elrepo-kernel install kernel-ml -y

#更新grub文件并重启
egrep ^menuentry /etc/grub2.cfg | cut -f 2 -d \'
grub2-set-default 0
sync
reboot

[root@vps ~]# uname -a
Linux vps 4.13.11-1.el7.elrepo.x86_64 #1 SMP Thu Nov 2 11:29:36 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux
[root@vps ~]# cat /etc/redhat-release

#开启bbr
vi /etc/sysctl.conf
#添加:
net.core.default_qdisc = fq
net.ipv4.tcp_congestion_control = bbr
#加载系统参数
sysctl -p
[root@vps ~]# lsmod | grep bbr
tcp_bbr 20480 0

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

Captcha Code