-
Notifications
You must be signed in to change notification settings - Fork 654
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
Dropped Packets on PF_RING #2744
Comments
@Tamahome-M could you provide statistics about the traffic rate (pps / bps)? |
from ntopng 934.58 Mbit/s [168,788 pps] real traffic from snmp (zabbix) ~0.5Mpps ~2.4Gbps |
@Tamahome-M we recommend using ZC drivers with RSS (multiple queues) above 1 Gbps as a single ntopng thread cannot keep up with high rate traffic. Please read: |
As I understand it, ZC does not work for "Ethernet controller: Mellanox Technologies MT27520 Family [ConnectX-3 Pro]" |
ZC drivers work with Intel adapters only. There is a full list at https://www.ntop.org/guides/pf_ring/zc.html |
I found Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (rev 01)
but ntopng "Dropped Packets" ~50% |
@Tamahome-M what is the peak pps rate that you see? Please note that ntopng is able to process max ~1Gbps per thread, using ZC redices the overhead on the capture size, however it seems you are hitting a bottlebeck in ntopng now. One option for improving the performance is distributing the load across multiple threads with RSS and views, please read https://www.ntop.org/ntopng/best-practices-for-running-ntopng/ |
Bound Device(s) : enp4s0
Active : 1
Breed : Standard
Appl. Name : ntopng
Socket Mode : RX only
Capture Direction : RX+TX
Sampling Rate : 1
Filtering Sampling Rate: 0
IP Defragment : Yes
BPF Filtering : Disabled
Sw Filt Hash Rules : 0
Sw Filt WC Rules : 0
Sw Filt Hash Match : 0
Sw Filt Hash Miss : 0
Sw Filt Hash Filtered : 0
Hw Filt Rules : 0
Poll Pkt Watermark : 8
Num Poll Calls : 0
Poll Watermark Timeout : 0
Channel Id Mask : 0xFFFFFFFFFFFFFFFF
VLAN Id : 65535
Slot Version : 17 [7.5.0]
Min Num Slots : 65536
Bucket Len : 9040
Slot Len : 9088 [bucket+header]
Tot Memory : 595603456
Tot Packets : 584320077
Tot Pkt Lost : 320343106
Tot Insert : 263976971
Tot Read : 263167785
Insert Offset : 403682144
Remove Offset : 403702728
Num Free Slots : 0
Reflect: Fwd Ok : 0
Reflect: Fwd Errors : 0
Linux netflow 4.19.57-gentoo #4 SMP Thu Jul 25 11:35:06 MSK 2019 x86_64 Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz GenuineIntel GNU/Linux
What can be done to solve this problem?
The text was updated successfully, but these errors were encountered: