Comments (11)
- 一个Port只能配置一个接口IP,这个IP用来与网关互联(二层寻址);真正用来发报文的IP是配置在client/server上,在client/server上可以配多个IP,但是需要在同一个网段。
- 如果需要不同的网段,就需要多个'port',如果你只有一个物理网卡,就需要开两个VF,模拟多个port,dperf跑在vf上。
from dperf.
使用pktgen-dpdk可以指定多个网段的,按理一个port也可以设置多个网段额 (万兆网卡一般都是稀缺资源,但是使用不同网段是常见测试场景)
from dperf.
原理上是可以的,只是我用不到,所以就没有实现,dperf本来设计用来做性能测试,功能上尽量做简单点。
你可以说明一下为什么需要多个网段,做多个网段的必要性,需要多少个网段,尽量描述细致点,我们来评估一下,是否要放到下个版本。
谢谢。
from dperf.
场景1,客户端(11,33,44网段)---》(保护子网11,33,,44)ipsec---》ipsec(保护子网22,66,88)---》server(22,66,88网段),一般ipsec与ipsec间建立多个隧道来保护不同子网;
场景2,客户端或server一个port连接三层交换机,给一个port配置不同ip,测试性能等
网段按正常,一个port上随意配置许多不同网段。
from dperf.
场景1:如果网段不多,万兆网卡开几个VF就可以了,这个场景需要dperf来压性能吗,是否有其他工具满足需求?
场景2:当前是可以的。可以给client配的IP与Port的IP不在同一网段,不能配多个网段。我理解做功能测试可能要多个网段,性能测试真的需要多个网段吗?需要几个网段呢?
from dperf.
场景2,像下面这样配置,可以正常使用?
client.conf example:
#port pci addr gateway
port 0000:01:00.1 192.168.33.241 192.168.33.211
port 0000:01:00.1 192.168.44.241 192.168.44.211
from dperf.
场景1,目前dpdk pktgen已经符合
from dperf.
你来提一个pull request 支持这个功能?
from dperf.
还没看dperf架构呢,能否给个图示表明dperf多线程模型? 可以加下微信不?
from dperf.
可以 邮件联系
from dperf.
from dperf.
Related Issues (20)
- Can dperf return large responses? HOT 13
- dperf make error on ubuntu 22.4 HOT 18
- dpdk18.11版本编译dperf 1.1.0以上版本报错 HOT 1
- Who is using dperf?
- dperf测试LVS吞吐性能时,没有产生流量 HOT 2
- 使用dperf作为客户端测试nginx性能
- dperf test throughput HOT 1
- dperf 支持https http2 http3 性能测试吗 HOT 1
- v1.6.0 及之后的版本 TCP 连接无法正确释放 HOT 3
- Mellanox网卡,在启动dperf报port init fail dpdk init fail HOT 1
- server端运行dperf,client端ping不通
- 所有连接都被tcpDrop了 HOT 1
- dperf 可以实现在多port情况下,收包和发包分别用不同port 吗? HOT 7
- dperf运行出错提示: work space init error HOT 10
- 请问jzperf与dperf有什么区别? HOT 1
- 新建连接数测试统计结果解读 HOT 1
- 如何使用 dperf测试高并发 CC 场景,并使用 post 请求,附带 payload HOT 2
- CPS多核模式下报错-怀疑是RSS算法导致的,有没有什么调优的方法呢? HOT 6
- dperf是否支持同时发送ipv4和ipv6的混合流量 HOT 4
- 可以支持多server IP吗?比如一个C段 HOT 6
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 dperf.