TCP acceleration: BBR one-click installation to improve domestic network speed

TCP acceleration: BBR one-click installation to improve domestic network speed

BBR, an acceleration optimization product produced by Google, is similar to Ruisu. Only available for KVM and XEN .
All are executed under SSH.

It is strongly recommended to use the following installation package , which supports CentOS 6+, Debian 7+, Ubuntu 12+

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

Please use the one-click installation package above, which supports multiple systems.

1. CentOS 6/7 x86_64 One-click installation

1. Installation

 wget -O- https://zhujiwiki.com/wp-content/uploads/2016/12/install_bbr_centos.sh | bash

2. Restart

 reboot

3. Verification

 sysctl -a|grep tcp_congestion_control

The results show that success

 sysctl -a|grep tcp_congestion_control net.ipv4.tcp_congestion_control = bbr

Similar prompts can be ignored:

 reading key "net.ipv6.conf.all.stable_secret"

2. CentOS 6 32-bit and 64-bit next-click installation

 wget https://zhujiwiki.com/wp-content/uploads/2016/12/BBR.sh && sh BBR.sh

It is recommended to use centos6 32-bit.

3. Installation under centos7

1. Installation

 wget http://mirrors.kernel.org/debian/pool/main/l/linux/linux-image-4.9.0-rc8-amd64-un signed_4.9~rc8-1~exp1_amd64.deb ar x linux-image-4.9.0-rc8-amd64-unsigned_4.9~rc8-1~exp1_amd64.deb tar -Jxf data.tar.xz install -m644 boot/vmlinuz-4.9.0-rc8-amd64 /boot/vmlinuz-4.9.0-rc8-amd64 cp -Rav lib/modules/4.9.0-rc8-amd64 /lib/modules/ depmod -a 4.9.0-rc8-amd64 #centos >= 6 dracut -f -v --hostonly -k '/lib/modules/4.9.0-rc8-amd64' /boot/initramfs-4.9.0-rc8-a md64.img 4.9.0-rc8-amd64 grub2-mkconfig -o /boot/grub2/grub.cfg

2. Modify the startup order
vi /boot/grub2/grub.cfg
Start the 4.9.0 kernel and put it first.

3. Restart

4. Enable BBR

 echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf sysctl -p sysctl net.ipv4.tcp_available_congestion_control

4. Installation under Debian8/Ubuntu14

1. Installation

 wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9-rc8/linux-image-4.9.0-040900rc8-generic_4.9.0-040900rc8.201612051443_amd64.deb dpkg -i linux-image-4.9.0*.deb

2. Delete the remaining kernels

 dpkg -l|grep linux-image apt-get remove 內核

3. Update the grub system boot file and restart

 update-grub reboot

4. Enable BBR

 echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf

5. Save and take effect

 sysctl -p

6. Check whether the execution of sysctl net.ipv4.tcp_available_congestion_control is successful
If the result contains bbr, it means that your kernel has enabled bbr.
Run lsmod | grep bbr. If you see the tcp_bbr module, it means bbr has been started.

vi: https://teddysun.com/489.html
http://www.hostloc.com/thread-342622-1-1.html
https://www.91yun.org/archives/4216

<<:  FDCServers: Christmas offer, buy 1 month and get 2 months free

>>:  Vpsfast: $5/month/1GB memory/40GB space/2TB traffic/KVM/Los Angeles

Recommend

$7.62/month/512M/20G space/1000G traffic/KVM VPS —— Develvo

Develvo is a hosting company founded in early 201...

SSDNodes: $2.99/month/1GB memory/10GB SSD space/1TB traffic/Canada

SSDNodes, a Canadian hosting provider, was founde...

BudgetNode: $12/year/512MB RAM/20GB storage/500GB bandwidth/OpenVZ/Los Angeles

BudgetNode, an American hosting provider, is a fo...

Ho-ost: $3.31/month/1GB memory/50GB space/1TB traffic/KVM/Chicago

Ho-ost, a foreign hosting provider, has been intr...

ServerRoom: $79/year/8GB RAM/32GB SSD space/unlimited traffic/New York

ServerRoom, an American hosting company, was foun...

CentOS 7 upgrade, install Python 3.5.2

1. Install possible dependencies yum install open...