修改以太网缓存

Signed-off-by: ithink.chan <chenyang@autoai.com>
This commit is contained in:
ithink.chan 2019-12-23 15:11:40 +08:00
parent c15bbe8079
commit 4eb84e9ec0
1 changed files with 11 additions and 0 deletions

View File

@ -40,6 +40,17 @@ iperf3 -s -p <port>
iperf3 -u -c <host> -p <port> -i <interval> -t <time> -P <parallel>
```
## 以太网缓存
有时候 UDP 丢包率高可能是因为缓存设置参数不够优化Linux 下修改
```sh
echo 21299200 > /proc/sys/net/core/rmem_default
echo 21299200 > /proc/sys/net/core/rmem_max
```
两个文件来修改以太网缓存参数。
## 基本参数说明
| Options | Description |