Update docs
This commit is contained in:
parent
db54638f5e
commit
949790a5d9
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user