-
Notifications
You must be signed in to change notification settings - Fork 349
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Complete traffic drop in ZC mode with ixgbe driver in multi queue mode #7
Comments
Hi Pavel Alfredo
|
Well, well. But when this behavior was changed? What name if interface should I use for listening on all interfaces as was before? |
This has never been changed, this is the behaviour for kernel-bypass technologies (DNA and ZC), Alfredo
|
cardigliano, please sorry me. I work with single queue mode all time! :) Fixed now and works with charm! |
Well but I can't achieve wire speed with ZC. I switched to single queue mode and run zcount -c 0 -i zc:eth4: =========================
Absolute Stats: 734'746'930 pkts (24'499'577 drops) - 61'718'742'120 bytes
Actual Stats: 14'128'520.83 pps (470'158.52 drops) - 9.49 Gbps
========================= Cpu load is not 100%: 1 [| 0.5%] Tasks: 38, 94 thr, 68 kthr; 2 running
2 [|||||||||||||||| 22.4%] Load average: 2.07 4.13 4.75
3 [||||||||||||| 17.8%] Uptime: 02:28:08
4 [||||| 5.8%]
Mem[||||| 706/32205MB]
Swp[ 0/8190MB] CPU: Intel(R) Xeon(R) CPU E5-2407 0 @ 2.20GHz |
Please try adding -a, probably passive wait is not behaving well on this machine. Alfredo
|
Work really well! Wire speed achieved! Thanks! ./zcount -c 0 -i zc:eth4 -a
Absolute Stats: 303'618'151 pkts (0 drops) - 25'503'924'684 bytes
Actual Stats: 0.00 pps (0.00 drops) - 0.00 Gbps Could you explain when I should use wait_for_packet = 1 instead of default zero value? |
This depends on your applicaiton, wait_for_packet is blocking and uses passive wait. Alfredo
|
Roger that! Thanks! |
Hello, folks!
I have problems with GIT version of PF_RING. I have ixgbe and Debian Jessie with 3.16 kernel.
I installed PF_RING, build libs and modules and run driver with ./load_module and everything worker perfectly.
But my tool bound to single CPU core:
So, I switched:
insmod ./ixgbe.ko RSS=1,1,1,
To:``insmod ./ixgbe.ko RSS=4,4,4,4`And call
./load_module again
. After this changes I can't saw any traffic on this interface.And zcount show following:
Btw, my toolkit internal stats show something similar:
PF_RING ZC in queue statistics Received: 0 Sent: 0 Dropped: 1209057743 Dropped: 0.00 %
Code:
The text was updated successfully, but these errors were encountered: