DO Build a dedicated server :

BBR For algorithm implementation server acceleration, please refer to :

Free hard disk resources to establish private network disk reference :
After the last article , We should have completed the establishment of proxy server , This article will introduce a method of server acceleration , So that we can make better use of server resources . Reference for this article :


One ,BBR Algorithm Introduction

BBR The algorithm is Google stay Linux Kernel
4.9 Added on the kernel TCP congestion control algorithms . stay BBR Previously understood TCP The control algorithms of are passive congestion control algorithms , and BBR The control algorithm can be considered as an active congestion control algorithm .
BBR Try to run full bandwidth by avoiding queuing , In order to achieve the purpose of acceleration .

Two , replace Linux kernel

stay Kernel 4.9 Kernel join BBR algorithm , So you need to update the server kernel to 4.9 above . input  uname -r View the current system kernel

Here's a description ,DigitalOcean The server needs to be set to make kernel changes , Direct use recommended Ubuntu 16.04 As a server , The core can be replaced directly

Download the latest kernel

Install kernel dpkg -i linux-image-4.*.deb Delete old kernel ( Optional )

dpkg -l | grep linux-image apt-get purge Old kernel to update grub System boot file and restart

update-grub reboot
Three , open BBR accelerate

Input after power on uname -r Reconfirm kernel version

implement  lsmod | grep bbr, If there is no result  tcp_bbr  We'll do it first
modprobe tcp_bbr echo "tcp_bbr" >> /etc/modules-load.d/modules.conf
echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf echo
"net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf
Save effective
sysctl -p

sysctl net.ipv4.tcp_available_congestion_control sysctl
If the results are all there  bbr, Your kernel is turned on bbr

implement  lsmod | grep bbr, See that there are tcp_bbr Module is description bbr Started