Code Monkey home page Code Monkey logo

Comments (7)

tbarbette avatar tbarbette commented on August 23, 2024

Hi !
I know my colleague @cffs has tried some things with DPDK in containers and he may help you after returning from his holidays.
In itself, Click has no problem with containers, however DPDK does. You may want to search about DPDK and containers, there is nothing to look specific about (Fast)Click on the subject.
If you're looking into containers I guess you want proper isolation, and the only way to achieve fast isolation staying secure (that is not sharing memory between containers) is using SRIOV and virtual functions so each container can have its own virtual device.

from fastclick.

tbarbette avatar tbarbette commented on August 23, 2024

Poke @cffs ?

from fastclick.

mrb1090 avatar mrb1090 commented on August 23, 2024

Thanks Tom. Still working through this.

BTW, what kind of performance are you seeing these days w/FastClick using DPDK?

Mike

from fastclick.

tbarbette avatar tbarbette commented on August 23, 2024

I would say the overhead over DPDK is removed. In some situation we can do even better than pure DPDK apps, as the click Packet object pool recycle annotation space leading to a better cache locality than using DPDK's buffers that are cycling through at least the ring sizes. This is discussed in the main README.

For minimal size packets (UDP 64bytes) results from FastClick haven't changed much (that's a great news :p). However using newer NICs such as the X710/XL710 chipsets, a single core can do ~23G routing of 64bytes packets and those cards can actually achieve 40G throughput as they use PCIe gen 3, unlike the spikes you can see in the fastclick paper with small packet sizes using dual-ports 10G cards that bootleneck the PCIE Gen2 x8.

With a real trace we can do a 40G full-duplex stateful function with a single xeon core and an Intel XL710. Those are very efficient in term of CPU overhead as I already said. However in classification capacity Intel is clearly moving in the wrong direction, as it is worst than before while NFV requires more.
I recently played with a 100G NIC that can be fully maxed out to hardware max (which seemed to be ~160G/s full duplex) with 2 cores and a stateful function, that is still with real traces (so mix of packet sizes).

I would say current bottlenecks are the number of PCIe line per CPU (hence, the number of NICs), in the end, an I/O bottleneck. Except for some very very heavy function like DPI that goes back to CPU bound. Although there are some research to do in the area and we have (pending publication) good early results that send back the bottleneck to I/O in most cases.

from fastclick.

kthkaya avatar kthkaya commented on August 23, 2024

I think the discussion going on in #55 may be helpful.

from fastclick.

mrb1090 avatar mrb1090 commented on August 23, 2024

Thanks for the reference!

Mike B.

from fastclick.

tbarbette avatar tbarbette commented on August 23, 2024

I think we can close this as #55 made it run. If you still have problem please reopen.

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.