Comments (7)
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.
Poke @cffs ?
from fastclick.
Thanks Tom. Still working through this.
BTW, what kind of performance are you seeing these days w/FastClick using DPDK?
Mike
from fastclick.
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.
I think the discussion going on in #55 may be helpful.
from fastclick.
Thanks for the reference!
Mike B.
from fastclick.
I think we can close this as #55 made it run. If you still have problem please reopen.
from fastclick.
Related Issues (20)
- Create Element HOT 2
- Secondary DPDK with FastClick HOT 2
- Access useful_kcycles() HOT 3
- Input aggregation element HOT 1
- --with-netmap does not compile HOT 3
- FastClick can't identify DPDK PORT,whatever Integer or PCI address.
- port 0 Rx queue allocation failed: Cannot allocate memory HOT 7
- Illegal instruction (core dumped) when using ToDPDKDevice() HOT 3
- rte_mempool segmentation fault. HOT 8
- storeing data in packet HOT 2
- How to enable scattered mode in fastclick? HOT 7
- issue in make package element HOT 3
- How to use replayUnqueue or MultiReplayUnqueue to limit the tx rate? HOT 3
- Automatically update wiki doc with CI
- middleclick configuration HOT 1
- compile error about context HOT 1
- Allow loop in FromDump HOT 4
- Non-existent librairies when parsing llvm-config's output
- FromDPDKDevice(FLOW_RULES_FILE) only work with DPDK<=21.11 HOT 2
- About address of IIO LLC WAYS in Ice lake HOT 3
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 fastclick.