Comments (12)
ipvsadm -ln --rate
is not supported by dpvs yet. You can try something like this dpip link -s show dpdk0 i 3 -C
to get PPS of specified device.
from dpvs.
We use HTTP clients (wrk
) and servers (nginx
) to test, clients <-> dpvs <-> servers
.
All machines (clients/servers/dpvs) are physical machines,
- OS: CentOS 7.2.
- Kernel: 3.10.0-327.el7.x86_64
- CPU: Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz
- NICs: Intel Corporation Ethernet Controller 10-Gigabit X540-AT2 (rev 03)
When test, we have 5 HTTP clients running wrk
and another 5 for Nginx
. The kernel sysctl parameter and IRQ affinity must be optimized on clients and servers.
- https://github.com/majek/ixgbe/blob/master/scripts/set_irq_affinity
- Make Nginx return short text instead of file.
location / {
default_type text/plain;
return 200 "hello\n";
}
For DPVS
setting, pls refer: https://github.com/iqiyi/dpvs/blob/master/doc/tutorial.md .
from dpvs.
Thank Lei,
I'm able to set up the test. However, the client app wrk report Requests/sec and Transfer/sec, how did you translate them to packet per second?
And from your test report, with 07 cores, DPVS can reach to ~14Mpps with packet size = 64 bytes, it's line rate for 10G NIC! .
Is it ok to say that we can get line rate (packet size = 64 bytes) with DPVS (using 7 cores)?
Thank you!
from dpvs.
We calculate pps by dpip link show
command. When we test, the avg packet size is 98B instead of 64B, because we are useing wrk
to test HTTP request/response,and disable "keepalive" on Nginx. When using 7 cores we get the line-rate for 10G NIC (with 98B).
from dpvs.
Thank you for your explanation!
from dpvs.
Hi beacer,
Could you let me know which mode did you use to do Performance Test?
Thanks,
from dpvs.
@tiepnv-viosoft FNAT mode.
from dpvs.
Thank you for your reply,
Is it the FNAT_1arm?
from dpvs.
Both one-arm and two arm are tested, the data in README.md is two-arm.
from dpvs.
Thank you very much for your support!
from dpvs.
Hi beacer,
As you said that:
We calculate pps by dpip link show command
Could you explain me specifically how to get pps parameter in dpvs? And is your Performance Test result is calculated based on Tx or Rx?
I also ran ipvsadm -ln --rate
and dpip link -s show
but they didn't show any expected output.
I look forward to receiving your help soon.
Thanks,
from dpvs.
Thank you very much!
from dpvs.
Related Issues (20)
- 是否支持ICMP协议,以及是否支持任意端口转发 HOT 2
- Feature Request: support Maglev Hash Stateless scheduler algorhithm
- dpvs1.9.6启动时Segmentation fault问题
- 1.9.6大家都能正常编译过去吗? HOT 1
- 一个疑问:DPVS_MAX_LCORE需要编译阶段指定是什么原因?是否可以改为可配置? HOT 1
- rockylinux 8 编译 1.9.6 失败了 HOT 2
- 请问是否支持虚IP封装再IPIP内 HOT 2
- dpvs 初始化 CONFIG_DPVS_MAX_LCORE最大为64 HOT 5
- synproxy HOT 3
- TOA HOT 2
- FullNat 如何删除一个 LoclIP HOT 1
- vmware虚拟机两个igb_uio驱动的网卡启动dpvs,这两张网卡与配置文件中dpdk0,dpdk1如何对应? HOT 1
- 请问大佬如何运行dpvs里面的test内容? HOT 2
- DPVS未来是否规划整合策略路由功能以应对多线路Trunk模式下ICMP流量与NAT64场景下的路由决策优化? HOT 5
- IPv6 Neighbor Advertisement缺少Source Link-Layer Address字段无法更新邻居信息导致丢包
- ip_vs_proxy_proto.c 编译失败 HOT 1
- 为什么close_wait的值模式设置成了7秒? HOT 1
- 使用Mellanox网卡MT27800 25G网卡时,需要将kni的mtu设置为1472。
- 使用Mellanox网卡MT27800 25G网卡时,mtu不支持1500 需要将kni的mtu设置为1472以下。
- DPVS网线插拔后,Bond 接口速率显示为20000M且状态为UP,表明物理层已经恢复,然而DPDK功能却不可用
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dpvs.