On this topic it appears that 65% of my traffic is lost?
Are these stats reliable?

# cat /proc/net/pf_ring/*
Bound Device  : eth1
Version       : 6
Sampling Rate : 0
Cluster Id    : 0
Tot Slots     : 2592
Slot Len      : 1618
Data Len      : 1600
Tot Memory    : 4194304
Tot Packets   : 2247615  <---
Tot Pkt Lost  : 1426419   <-----
Tot Insert    : 821196
Tot Read      : 821196 

I have each nic locked to a processor (echo 2 >
/proc/irq/17/smp_affinity)
# cat /proc/interrupts
           CPU0       CPU1       
  0:   46077365          0    IO-APIC-edge  timer
  9:          0          0   IO-APIC-level  acpi
 14:         13          0    IO-APIC-edge  ide0
 16:  735260135          0   IO-APIC-level  eth0
 17:         79  473629908   IO-APIC-level  eth1
 18:    2300377          0   IO-APIC-level  eth2
 19:    2322158          0   IO-APIC-level  eth3
 20:     652091          0   IO-APIC-level  eth4
 21:      92121          0   IO-APIC-level  eth5

load average: 0.83, 0.80, 1.33

Ideas?
Is 3.2.1 still the best build?

Cheers
Eric


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Gentoo-Wally
Sent: 02 March 2007 07:29 PM
To: [email protected]
Subject: [Ntop-misc] /proc/net/pf_ring/info

Hi,

I run all my sensors with transparent mode set to off, but sometimes
it is necessary to switch to transparent mode to capture on the
management interface for troubleshooting. I wrote a simple script to
do this for our help staff. Since I set my modprobe options for ring.o
in modprobe.conf I test this file to see if transparent_mode is 1 or
0. This however is not a very good test of whether or not the module
is actually in transparent mode or not. This status should probably be
noted in /proc/net/pf_ring/info.

Attached is a patch that adds this info to /proc/net/pf_ring/info.


Wally
_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to