Blog recovery after the first thing is to upgrade the host. Now the latest Linux kernel is 4.9, and bring a new TCP algorithm, called BBR (Bottleneck Bandwidth and Round-trip).
BBR algorithm proposed by Google, originally used mainly for Google's internal network speed, and now Google to submit it to the Linux kernel, everyone can use. From Google's report, this new algorithm can significantly reduce network latency. Youtube global delay than the previous CUBIC algorithm fell by more than 50%. From the public's discussion, this new algorithm is mainly used for ulterior motives. Of course, because I use the Google host, and now if you use the Google algorithm, is it faster?
1. Upgrade Debian to the latest kernel (for 64-bit Debian Jessie):
Apt-get install -t jessie-backports linux-image-amd64
2. Turn on BBR
Open the /etc/sysctl.conf file and add two lines at the end of the file:
Net.core.default_qdisc = fq
Net.ipv4.tcp_congestion_control = bbr
The first line default_qdisc refers to the default TCP queue algorithm, fq is Google recommended algorithm, more suitable for BBR. The second line is to open the BBR algorithm.
3. Reboot and verify
Direct restart the host is possible. If you do not want to restart, you can use the following command to load the new configuration:
Then use the following command to verify that BBR is in effect:
Lsmod | grep bbr
The result will show BBR plus a string of numbers indicating that the BBR algorithm has started.
4. The final effect
Because my blog has been very fast (laughs), half past one will not see any effect. But after the opening of the psychological feeling is good.