Use the BBR one-key script to speed up your Centos/debian/ubuntu system _ script

Source: Internet
Author: User

My blog: Guofang's blog bbr is from the Google Community Black technology, you can focus on the github of this continuous development of TCP congestion technology.

What is the principle of this technique? I can not say clearly, see this explanation will understand more.

The original TCP traffic transmission, has not been able to adapt to the current Internet, we compare TCP traffic to the traffic on the road, and the TCP transmission tunnel is the highway, then:
In the original TCP traffic transmission, a crossroads road, a lot of traffic, but there are no lights and traffic police, causing everyone left crowded right crowded traffic jam, which is not reasonable management caused.
and BBR and sharp speed, such as TCP traffic control technology, is the traffic lights + traffic police, they are at the crossroads of unmanned management, to the rational direction of distribution flow, and then maximize the use of vehicles to ensure smooth road.

This script has been run on Digitalocean's CentOS 7 by using the following specific methods

1. Log in with the root user and enter the following code:

Wget-n--no-check-certificate https://github.com/teddysun/across/raw/master/bbr.sh && chmod +x bbr.sh & & Bash bbr.sh

After the script is finished, your system will prompt you to enter (n/y) to reboot, the old rules, and enter Y for reboot.

In fact, here is finished, if there is no mistake, BBR has been installed, but we still have to check the BBR is enabled. So, enter the following code to check if BBR is enabled.

 uname-r #查看内核版本, containing 4.9.0 is OK # ———————————— sysctl Net.ipv4.tcp_available_congestion_control # The return value is generally: # NET.IP V4.tcp_available_congestion_control = Bbr Cubic Reno # ———————————— Sysctl Net.ipv4.tcp_congestion_control # The return value is generally: # net . Ipv4.tcp_congestion_control = bbr # ———————————— sysctl Net.core.default_qdisc # Returns the value generally: # Net.core.default_qdisc = FQ # ———————————— Lsmod | grep BBR #!!! The return value has a TCP_BBR module that explains BBR has started!!! 
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.