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

VMJam: 3 yuan/month/256MB memory/3GB SSD space/200GB traffic/NAT/KVM/Seattle

VMJam, a Chinese merchant, currently only provide...

HOTServers: $10/year/256MB RAM/5GB SSD space unlimited traffic/KVM/OVH Canada

HOTServers, an American hosting provider, was est...

DediPath: $6/month/5GB RAM/100GB SSD space/5TB bandwidth/OpenVZ/Los Angeles

DediPath, a foreign hosting provider (maybe Chine...

Creating a separate tab page in WordPress

The main purpose of creating a tag page is to fac...

XHostFire: $7/month/512MB memory/15GB space/1TB traffic/KVM/Russia/Korea

XHOSTFIRE, a Russian hosting provider, has data c...

Webtropia D-1540 64GB memory German dedicated server review

Details: Webtropia: €30/month/D-1540/64GB memory/...

HostMist: $10/year/2 CPUs/128MB RAM/15GB Space/200GB/1 IP/OpenVZ

HostMist is an American hosting company founded i...

Psychz: $25/month/D525/4GB RAM/500GB HDD/10TB traffic/5 IP/Los Angeles

Psychz, a long-established American hosting compa...

Install and configure Let's Encrypt SSL on Ubuntu / DEBIAN and Nginx

For Ubuntu/DEBIAN, this article was successfully ...