iqiyi / dpvs

DPVS is a high performance Layer-4 load balancer based on DPDK.
Other
3k stars 723 forks source link

dpvs路由转发场景8core性能比16core要好 #268

Open czn911 opened 6 years ago

czn911 commented 6 years ago

2690CPU、82599网卡一对 穿dpvs打tcp小包64字节 发现8core 的情况下能到4.5G,16core的情况下却只能到3.3G。 通过 dpip link show cpu -s 查看各core上的包数,是哈希均匀的。 不解,请大家帮帮忙

mfhw commented 6 years ago

perf抓一下,性能热点估计在原子变量冲突太严重了。

czn911 commented 6 years ago

@mfhw 不知道怎么操作,能简单指导一下吗

linxiaocong commented 5 years ago

@mfhw 不知道怎么操作,能简单指导一下吗

sudo perf top