Recently, many of our netizens should have seen the Google open source TCP BBR Congestion control algorithm (referred to as BBR), we can apply to the regular KVM and Xen architecture VPS, server, to improve the speed of the server. Because of the changes to the kernel, vultr suggested that we use projects in some non-site environments, such as building Internet tools that are said to have a higher speed.
In this article, I'll use the vultr VPS to deploy the BBR tool and then compare the speed differences before and after the installation. See if it is effective to improve our service speed, if we can improve, it is better, but let's try it together.
First, pre-preparatory work
1, in view of the kernel modification uncertainty, we need to install BBR in a non-production environment, if there are other important data, it is recommended to back up.
2, if we do not have vultr VPS, you can register an account, refer to the "Vultr New registration Coupon code" and "Open VPS program", where the author opened the Los Angeles engine room, the Japanese engine room line is not stable, the speed is general, so I do not choose.
3, the system I choose CentOS7 64BIT.
Second, the speed record before installing BBR
Here we do not install the BBR, with the tool test to see without installing BBR vultr VPS Simple performance.
1. Ping speed
2. Video speed
Here after the 1080P or compare cards, the basic can not play. The speed is 394Kbps.
3, random node download speed
Third to first key installation installation Bbr Tool method
Here refer to Autumn Sui Yibing (https://teddysun.com/489.html) One-click Install BBR Script installation. To ensure compatibility, I uninstalled all the environments before I deployed BBR, even after I reinstalled the system directly and then redeployed BBR.
wget--no-check-certificate https://github.com/teddysun/across/raw/master/bbr.sh
chmod +x bbr.sh
./bbr.sh
Random keys will automatically replace the kernel and install the Deploy TCP BBR tool, we can wait. After the installation is complete, we will see "info:the system needs to be restart. Want to reboot? [y/n], then enter Y to return and restart the server.
Basically it can be installed successfully, but we can also check whether it is successful:
1, Uname-r
Enter the command to see if there is a kernel 4.9.0 kernel, which means replacing the kernel.
2, Sysctl Net.ipv4.tcp_available_congestion_control
Enter the command and see if there is a return "Net.ipv4.tcp_available_congestion_control = Bbr cubic Reno"
3, Lsmod | grep BBR
Enter the command to see the BBR Word
Here we are successful in installation.
Iv. speed record after installation of BBR
After the successful installation BBR, we are looking at a few parameters, whether the speed is accelerating some.
1. Ping speed
2. Video speed
3. Random download speed
VULTR Installation BBR Summary
1, installation of TCP BBR in vultr CentOS 7 is still relatively simple, one-click installation.
2, after installation, ping speed can not see how much difference, it seems to feel a little bit better, random download speed basically not much change. There is a noticeable increase in video speed. According to the use of users can be fluent 1080P, night may be a little less speed, daytime speed is good.
The original text from vultr Chinese network: http://www.cnvultr.com/416.html
Vultr VPS Installation Turn on TCP BBR Speed-up tool with installation BBR before and after velocity comparison