当前位置:网站首页>DPDK 源码测试时性能下降问题
DPDK 源码测试时性能下降问题
2022-06-28 05:05:00 【choumin】
本文没有原理性的东西,就我遇到的一个小问题做一下记录,供大家参考。
DPDK 的性能测试有很多种方法,这里我使用的是通过源码编译出来的 testpmd 程序。
我遇到的问题有以下几点:
- 参与测试的两台机器硬件配置完全相同,BIOS 版本相同,内核版本基本相同,测试程序的各种配置完全相同,但其中一台机器的性能比另外一台差很多,差距在 50% 以上;
- testpmd 中看到的收包 pps 和 bps 数值对不上,比如,包大小均为 64 字节,testpmd 给出的 pps 是 5582583,那么对应的 bps 应该是 2858282496,而 testpmd 给出的 bps 是 9318213000,两相比较,差值很大;
- 发送端使用 pktgen 将数据包大小设置为 400 字节后,接收端全部丢包;
上述 3 个问题让人感到很困惑。虽然硬件正常、使用方法正确,但测试结果却有问题。我也没有分析出原因,最后直接将之前构建时生成的所有文件全部删除了,然后重新构建,于是问题就解决了。从这来看,可能是之前来回在同一个目录下多次构建不同版本的 DPDK 而导致出现了问题。具体原因不好分析,如果大家在使用 DPDK 源码进行性能测试时,遇到类似的奇怪问题,可以考虑重新构建 DPDK。
边栏推荐
- 二级造价工程师证书含金量到底有多高?看这些就知道了
- 2022年最新辽宁建筑八大员(标准员)考试试题及答案
- Biovendor sRAGE protein solution
- 2022西式面点师(高级)考试试题模拟考试平台操作
- Sword finger offer 47 Maximum gift value (DP)
- The latest examination questions and answers for the eight members (standard members) of Liaoning architecture in 2022
- QCOM LCD调试
- 汇编常用指令
- S32ds jump to defaultisr
- BioVendor sRAGE Elisa试剂盒化学性质和技术研究
猜你喜欢

The latest examination questions and answers for the eight members (standard members) of Liaoning architecture in 2022

Mask's miserable and inspirational childhood, who is introverted by campus violence

Lumiprobe细胞成像分析:PKH26 细胞膜标记试剂盒

二级造价工程师证书含金量到底有多高?看这些就知道了

Severe tire damage: the first rock band in the world to broadcast live on the Internet

基于订单流工具,我们能看到什么?

Project practice! Teach you JMeter performance test hand in hand

How to do a good job of gateway high availability protection in the big promotion scenario

Audio and video technology development weekly

二级造价工程师考试还没完?还有资格审核规定!
随机推荐
Severe tire damage: the first rock band in the world to broadcast live on the Internet
?位置怎么写才能输出true
Role of native keyword
cgo+gSoap+onvif学习总结:8、arm平台交叉编译运行及常见问题总结
别卷!如何高质量地复现一篇论文?
QCOM LCD调试
metaRTC5.0编程之p2p网络穿透(stun)指南
Differences between pragma and ifndef
Hundreds of lines of code to implement a script interpreter
Code understanding: implementing volume models for hangwriten text recognition
Carboxylic acid study: lumiprobe sulfoacyanine 7 dicarboxylic acid
学习太极创客 — MQTT 第二章(五)心跳机制
How high is the gold content of grade II cost engineer certificate? Just look at this
The short video local life section has become popular. How to grasp the new opportunities?
Learning Tai Chi Maker - mqtt Chapter II (VI) mqtt wills
A doctor's 22 years in Huawei (full of dry goods)
Function and working principle of controller
Assembly common instructions
改性三磷酸盐研究:Lumiprobe氨基-11-ddUTP
开关电源电压型与电流型控制