Comments (8)
The l2 script only uses a single core by default, but you can just start more threads.
You are supposed to modify the example scripts to fit your needs. Adding more threads here is trivial, duplicating a single line is sufficient.
btw: such a low performance indicates that your system doesn't support cache access for the NIC; l2-load-latency achieves line rate even on relatively slow CPUs with < 2ghz usually.
from moongen.
see lua/dpdk-conf.lua
from moongen.
Got you , thanks so much !
On Thu, Oct 29, 2015 at 7:40 PM, Paul Emmerich [email protected]
wrote:
—
Reply to this email directly or view it on GitHub
#99 (comment).
V/R,
Wenhui Zhang
Email: [email protected]
Telephone: 1-(703) 424 3193
from moongen.
Hi, sorry for bothering, yet is there anyway to improve Moongen Performance, I think I used all 16 cores, by cores = 0xffff.
from moongen.
Hmm, I am using a 16 cores with 2.4Ghz CPU, I think I enabled two cores for cache access as we can see below,
wenhui@nimbnode16:~/MoonGen$ cpuid | grep -i dca
PLATFORM_DCA_CAP MSR bits = 1
PLATFORM_DCA_CAP MSR bits = 0
PLATFORM_DCA_CAP MSR bits = 0
PLATFORM_DCA_CAP MSR bits = 0
PLATFORM_DCA_CAP MSR bits = 0
PLATFORM_DCA_CAP MSR bits = 0
PLATFORM_DCA_CAP MSR bits = 0
PLATFORM_DCA_CAP MSR bits = 0
PLATFORM_DCA_CAP MSR bits = 1
PLATFORM_DCA_CAP MSR bits = 0
PLATFORM_DCA_CAP MSR bits = 0
PLATFORM_DCA_CAP MSR bits = 0
PLATFORM_DCA_CAP MSR bits = 0
PLATFORM_DCA_CAP MSR bits = 0
PLATFORM_DCA_CAP MSR bits = 0
PLATFORM_DCA_CAP MSR bits = 0
from moongen.
DPDK does not support DCA, only DDIO which is more annoying to fix if it doesn't work.
Just use more threads.
from moongen.
By multithreading, does it mean that run more slaves please? like copying L43 several times? which does not work in this case... "https://github.com/emmericp/MoonGen/blob/master/examples/l3-load-latency.lua#L43", should I use other scripts as base?
from moongen.
okay, you'll also need to increase the number of queues. but that's another trivial change.
from moongen.
Related Issues (20)
- Mellanox 100G interface segmentation fault at the receiver side
- i40evf_dev_init(): Init vf failed HOT 1
- Vlan tagging doesn't work for me
- Device support: Intel E810, Found 0 usable devices: HOT 3
- Getting segmentation faults in a loop
- Error while loading shared libraries HOT 2
- send and receive packets from one device HOT 1
- vxlan example - segfault HOT 3
- Cannot compile moongen from github on Centos 8 HOT 6
- Multiple Definitions
- Replay pcap using crc-based rate control
- cannot find -lrte_kni while building HOT 1
- Could not find any interactive interfaces to bind to DPDK
- How Use MoonGen in Mininet environment to test BMv2 Switch?
- Compilation error on Ubuntu 22.10 HOT 1
- Runing MoonGen on Virtualized Enviroment
- examples/l3-load-latency get no packet on RX port
- Need Intel new I226-V 125c NIC support HOT 1
- DPDK Version
- Failed to run the example.
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 moongen.