和intel_idle.max_cstate=1
:
root@debian:~# curl -o /dev/null http://xx.xx.38.35:999/speedtest/1000mb
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1000M 100 1000M 0 0 41.1M 0 0:00:24 0:00:24 --:--:-- 41.0M
使用intel_idle.max_cstate=3
(下载速度更快):
root@debian:~# curl -o /dev/null http://xx.xx.38.35:999/speedtest/1000mb
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1000M 100 1000M 0 0 75.9M 0 0:00:13 0:00:13 --:--:-- 76.0M
没有进行 C 状态调整(下载速度几乎没有变化):
root@debian:~# curl -o /dev/null http://xx.xx.38.35:999/speedtest/1000mb
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1000M 100 1000M 0 0 76.1M 0 0:00:13 0:00:13 --:--:-- 73.4M
知道为什么intel_idle.max_cstate=1
网络性能这么差吗?
操作系统:Linux(Debian Buster)
内核版本:尝试过几个,当前为 5.5.17-1~bpo10+1
CPU:Intel(R) Xeon(R) CPU E5-2640 v3 @ 2.60GHz(已安装一个)
主板:Quanta S2S-MB
网卡:Mellanox ConnectX-3 EN(MCX341A-XCEN)