Comments (5)
Hi,
I'm not familiar with moongen, could you give me the configuration to simply send and receive packets using 2 ports? And the one to forward using 2 ports?
What I saw with my x540 dual ports NIC is that packets cannot be received at line rate, 31 out of 40 is more or less what I found out, yes. Both with Netmap and DPDK. TX at 40G is not a problem though. What you're saying is that MoonGen can forward packets at 40G, with one or two cores per NIC?
If you use only one port per dual-port, you can achieve line rate. So I guessed the problem is with the dual port NICs and therefore concluded that was the limitation of the NICs as any tools, including DPDK's and Netmap's one couldn't achive more than ~33G of forwarding.
So your results surprise me. In your FastClick configuration with batching, the virtual call should not be the problem. I'd guess there could be a difference of DPDK configuration : offloadings activated in the NIC, cache, packet pool size, ... I'll check that with your MoonGen configure files and compare. I may have miss to activate/deactivate some fancy feature of the NIC allowing to RX at that rate. I don't support GRO in FastClick, if the packets are aggregated at RX, it could explain the difference.
By default the FromDPDKDevice elements will share all available threads (so here, 4 per FromDPDKDevice for 2 elements) and they will use one queue per thread automatically. I guess it craches because you have more queue than core and I didn't protect something. I suggest letting FromDPDKDevice handle the good number of queue, and just change the amount of threads. In that configuration one core per NIC should be enough, 2 at max. Having more queue will just slow down things. The amount of core is not the problem here.
Tom
from fastclick.
Hi,
I do not forwards traffic with MoonGen. Machine 01 above has 4 NICs and I start one Tx and one Rx thread per NIC (in two different cores) so each NIC is sending packets to Click and getting packets back from Click.
All 4 NICs operate at the same time, on the same CPU socket and they can Tx/Rx at line rate.
In Click, when 2 NICs kick in at the same time, throughput decreases from 14.88 to 11.7 Mpps.
I can send you my MoonGen script offline :)
Georgios
from fastclick.
You achieved 40G with some configuration or not? I'm not sure to understand.
from fastclick.
Any news on this? Can I close?
from fastclick.
You can close it for now. It has been quite some time since I did these experiments so I need to repeat them in order to confirm. My findings when using FastClick from my experiments match completely with the reported throughput in your paper though.
from fastclick.
Related Issues (20)
- 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
- Deadlock possible between BalancedThreadSched and RatedUnqueue 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.