Coder Social home page Coder Social logo

Comments (4)

emmericp avatar emmericp commented on August 23, 2024

Some of MoonGens defaults are probably incompatible with the VF.

Better support for VFs is on my todo list.

from moongen.

emmericp avatar emmericp commented on August 23, 2024

Can you use PFs instead of VFs?

VFs also come with other problems: for example, hardware timestamping is not supported by 82599 VFs.

from moongen.

haris00 avatar haris00 commented on August 23, 2024

No, because in my case it has to be multiple VMs each containing instance of MoonGen for stress testing purposes. I only have two physical functions where as many virtual functions. So physical function would limit the number of MoonGen instances i can spawn.
I am not much concerned with hardware timestamping. All i need is that i am able to send packets to a address and receive those packets back, thats it

from moongen.

emmericp avatar emmericp commented on August 23, 2024

Okay, I just tested this: the problem is the number of TX queues (3) that this script tries to use, this is too much for the vf.

But it looks like you aren't going to need that many tx queues, so you should be fine.

However, MoonGen currently supports neither rate control nor device-based statistics for VFs. The former can be emulated with software like other packet generators do (just sleep), the latter can easily be fixed with manual counters.

I suggest to look at benchmark/upd-throughput.lua. This script works fine with VFs except that the transmit stats tracking doesn't work. But that can be fixed by replacing the device-based tx counter with a "manu"l tx counter. See quality-of-service-test.lua for an example of a manual tx counter.

You probably want to write your own script for this anyways, so this shouldn't be a problem.

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.