Coder Social home page Coder Social logo

Comments (8)

emmericp avatar emmericp commented on August 23, 2024 1

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.

emmericp avatar emmericp commented on August 23, 2024

see lua/dpdk-conf.lua

from moongen.

wenhuizhang avatar wenhuizhang commented on August 23, 2024

Got you , thanks so much !

On Thu, Oct 29, 2015 at 7:40 PM, Paul Emmerich [email protected]
wrote:

Closed #99 #99.


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.

wenhuizhang avatar wenhuizhang commented on August 23, 2024

Hi, sorry for bothering, yet is there anyway to improve Moongen Performance, I think I used all 16 cores, by cores = 0xffff.

screen shot 2015-10-28 at 11 04 06 pm

from moongen.

wenhuizhang avatar wenhuizhang commented on August 23, 2024

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.

emmericp avatar emmericp commented on August 23, 2024

DPDK does not support DCA, only DDIO which is more annoying to fix if it doesn't work.
Just use more threads.

from moongen.

wenhuizhang avatar wenhuizhang commented on August 23, 2024

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.

emmericp avatar emmericp commented on August 23, 2024

okay, you'll also need to increase the number of queues. but that's another trivial change.

from moongen.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.