Hi Alfredo,
Can something like this be done with ntopng? I am seeing about
1% packet drop with latest ntopng and pf_ring.
$ cat /proc/net/pf_ring/info
PF_RING Version : 5.6.1 ($Revision: 6635$)
Total rings : 1
Standard (non DNA) Options
Ring slots : 16384
Slot version : 15
Capture TX : No [RX only]
IP Defragment : No
Socket Mode : Quick
Transparent mode : Yes [mode 0]
Total plugins : 0
Cluster Fragment Queue : 0
Cluster Fragment Discard : 0
Mon Jul 29 13:22:04 EDT 2013
P101005:~/ntopng
$ cat /proc/net/pf_ring/30892-eth3.1
Bound Device(s) : eth3
Active : 1
Breed : Non-DNA
Sampling Rate : 1
Capture Direction : RX+TX
Socket Mode : RX+TX
Appl. Name : ntopng
IP Defragment : No
BPF Filtering : Disabled
# Sw Filt. Rules : 0
# Hw Filt. Rules : 0
Poll Pkt Watermark : 128
Num Poll Calls : 1624554
Channel Id Mask : 0xFFFFFFFF
Cluster Id : 0
Slot Version : 15 [5.6.1]
Min Num Slots : 21954
Bucket Len : 1500
Slot Len : 1528 [bucket+header]
Tot Memory : 33554432
Tot Packets : 159235190
Tot Pkt Lost : 1004177
Tot Insert : 158231013
Tot Read : 158230925
Insert Offset : 20833352
Remove Offset : 20752920
TX: Send Ok : 0
TX: Send Errors : 0
Reflect: Fwd Ok : 0
Reflect: Fwd Errors: 0
Num Free Slots : 21866
On 07/20/2013 11:16 AM, [email protected] wrote:
Author: cardigliano
Date: 2013-07-20 17:16:00 +0200 (Sat, 20 Jul 2013)
New Revision: 6617
Modified:
trunk/PF_RING/userland/libpcap-1.1.1-ring/pcap-linux.c
Log:
removed per-packet poll: performance boost from ~200kpps to ~9Mpps
_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev
--
Stephen Clark
*NetWolves*
Director of Technology
Phone: 813-579-3200
Fax: 813-882-0209
Email: [email protected]
http://www.netwolves.com
_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev