25.2. 避免网络拥塞
I/O 交换机通常会受到 back-pressure,在出现完整的缓冲区后构建网络数据构建。您可以更改暂停参数并避免网络拥塞。
先决条件
- 管理员特权
流程
要更改暂停参数,请使用
-A
选项运行ethtool
命令。# ethtool -A enp0s31f6
验证
验证 pause 参数已更改。
# ethtool -a enp0s31f6
Pause parameters for enp0s31f6:
Autonegotiate: on
RX: on
TX: on