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 Algorithm isGoogle stayLinux Kernel
4.9 Added on the kernelTCP congestion control algorithms . stayBBR It can be understood beforeTCP The control algorithms of are passive congestion control algorithms, andBBR 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, replaceLinux kernel

stayKernel 4.9 Kernel joinBBR algorithm, So you need to update the server kernel to4.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 recommendedUbuntu 16.04 As a server, The core can be replaced directly

Download the latest kernel

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

dpkg -l | grep linux-image apt-get purge Old kernel To updategrub System boot file and restart

update-grub reboot
Three, openBBR accelerate

Input after power onuname -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
Preservation 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 there tcp_bbr Module is description bbr Already started