极
极核实验室

Install BBR Acceleration on Debian to Improve Network Transfer Speed and Reduce Latency

AI summary
BBR加速是一种新型TCP拥塞控制算法,通过自适应调整拥塞窗口大小优化网络传输速度和减少延迟,性能优于传统算法。文章介绍了BBR加速的安装步骤,包括升级系统内核至4.9以上版本,通过modprobe tcp_bbr安装算法,并在sysctl.conf中配置启用。此外还提及BBR Plus或魔改版可提供更快的速度。该算法有效提升网络性能,尤其适用于解决网络拥堵和延迟问题。

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.

Complete your profile details to improve the chance of approval.

Your email will not be shown publicly.

Loading...

Markdown supported.

Discussion

0 comments

Internal link graph

Loading internal links…

View linked articles