Code Monkey home page Code Monkey logo

Comments (4)

tbarbette avatar tbarbette commented on July 22, 2024 1

This case is very very different. I achieve at least 15MPPS with a single core of a middle range Xeon with a router config. But creating a packet, computing the chzcksumS after IP/UDP encap and copying the content to a DPDK buffer is very heavy. You may gain something by compiling with --enable-dpdk-pool for that last point. If you don't set headroom to InfiniteSource, I also think you have one more packet copy...

from fastclick.

tbarbette avatar tbarbette commented on July 22, 2024

Without the replay it looks more or less normal. InfiniteSource needs probably some more HEADROOM to avoid packet copy in the encap elements. The packets are actually created from scratch and maybe even copied once in this setup. Replay will keep them in memory. Before REPLAY it is also a good thing to have EnsureDPDKBuffer to avoid a copy when sending the packet (using QUICK_CLONE 1 is even best).

from fastclick.

kthkaya avatar kthkaya commented on July 22, 2024

Thanks Tom! After reading https://github.com/kohler/click/wiki/FAQs-about-click I was hoping to catch something around 7Mpps but obviously, not every element is suitable.
I still have to figure out the latency caused by replay from the previous issue. I will keep you posted.

from fastclick.

tbarbette avatar tbarbette commented on July 22, 2024

This case is very very different. I achieve at least 15MPPS with a single core of a middle range Xeon with a router config. But creating a packet, computing the checksumS after IP/UDP encap and copying the content to a DPDK buffer is very heavy. You may gain something by compiling with --enable-dpdk-pool for that last point. If you don't set headroom to InfiniteSource, I also think you have one more packet copy...

from fastclick.

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.