1
0
mirror of synced 2024-11-28 23:56:04 +03:00

Update docs

This commit is contained in:
hwdsl2 2022-09-08 09:06:16 -05:00
parent db54638f5e
commit 949790a5d9
2 changed files with 14 additions and 2 deletions

View File

@ -94,9 +94,15 @@ Amazon Linux 2提供过经过验证的新版Linux内核并可以通过启用
net.ipv4.tcp_congestion_control = bbr net.ipv4.tcp_congestion_control = bbr
``` ```
3. 启用Google BBR 3. 启用Google BBR
首先使用 `uname -r` 检查你的服务器的内核版本。
对于内核版本 >= 4.20,应用 `sysctl` 设置:
```bash ```bash
sudo sysctl -p sudo sysctl -p
``` ```
对于内核版本 < 4.20你必须重启服务器
```bash
sudo reboot
```
4. 检查Google BBR状态 4. 检查Google BBR状态
```bash ```bash
sudo sysctl net.ipv4.tcp_available_congestion_control sudo sysctl net.ipv4.tcp_available_congestion_control

View File

@ -94,9 +94,15 @@ In this section, we will start Google BBR by modifying the configuration file.
net.ipv4.tcp_congestion_control = bbr net.ipv4.tcp_congestion_control = bbr
``` ```
3. Enable Google BBR 3. Enable Google BBR
First, check your server's kernel version using `uname -r`.
For kernel versions >= 4.20, apply `sysctl` settings:
```bash ```bash
sudo sysctl -p sudo sysctl -p
``` ```
For kernel versions < 4.20, you must reboot the server:
```bash
sudo reboot
```
4. Check Google BBR status 4. Check Google BBR status
```bash ```bash
sudo sysctl net.ipv4.tcp_available_congestion_control sudo sysctl net.ipv4.tcp_available_congestion_control