Repost license
Request authorization before reposting and retain the authorization code, original URL, and go/affiliate links.
Original URL:https://www.geekcorelab.com/post/installing-bbr-acceleration-in-debian-improves-network
The commercial link is an authorized go short link that must stay on the reposted page. It records the source before sending readers to the original article.
With the continuous development of the Internet, we increasingly rely on the network for daily work and life. However, due to network instability and bandwidth limitations, we often encounter network congestion and latency issues. In this case, BBR acceleration can help us improve network transfer speed and reduce latency, allowing us to use the Internet more smoothly.
BBR acceleration is a new type of TCP congestion control algorithm. It can adaptively adjust the congestion window size according to network conditions, thereby optimizing network transfer speed and reducing latency. Compared with traditional TCP congestion control algorithms, BBR acceleration can more accurately perceive network bandwidth and congestion conditions, thereby better adjusting transfer speed and improving network performance.
It can also improve the speed of circumventing internet censorship~
Below are the specific steps to install BBR acceleration:
Step 1: Upgrade the system kernel
First, you need to upgrade the system kernel to version 4.9 or later, because the BBR acceleration algorithm is only supported in kernels version 4.9 and above. You can use the following command to check the current system kernel version:
uname -r
If the current kernel version is lower than 4.9, you need to upgrade the kernel. For specific upgrade methods, refer to the documentation of the corresponding Linux distribution or search for relevant tutorials.
Step 2: Install the BBR acceleration algorithm
The BBR acceleration algorithm can be installed with the following command:
sudo modprobe tcp_bbr
If there is no error output, it means the BBR acceleration algorithm has been successfully installed.
Step 3: Enable the BBR acceleration algorithm
Enabling the BBR acceleration algorithm requires modifying the system configuration file. You can open the configuration file with the following command:
sudo vim /etc/sysctl.conf
Add the following content to the configuration file:
net.core.default_qdisc=fqnet.ipv4.tcp_congestion_control=bbr
Save and exit the configuration file, then run the following command to make the configuration file take effect:
sudo sysctl -p
This installation is the original BBR acceleration. If you want it to be faster, you can install BBR Plus or a modified version, which is faster.
At this point, the BBR acceleration algorithm has been successfully enabled.
Comments
Discussion
Be kind and keep the discussion friendly.
Discussion
0 comments