Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Mar 2004 10:17:32 -0500 
From:      Don Bowman <don@sandvine.com>
To:        'Karl Pielorz' <kpielorz@tdx.co.uk>, freebsd-isp@freebsd.org
Subject:   RE: FreeBSD polling mode - count 'lost' packets?
Message-ID:  <FE045D4D9F7AED4CBFF1B3B813C85337045D8422@mail.sandvine.com>

next in thread | raw e-mail | index | archive | help
From: Karl Pielorz [mailto:kpielorz@tdx.co.uk]
> Hi All,
> 
> We've been running a number of FreeBSD boxes with high packet 
> throughputs 
> using polling mode.
> 
> This seems to work great (gets rid of 90k odd interrupts a second).
> 
> Is there any easy way of finding out how many packets are 
> being 'dropped' 
> in this system? (We use em Intel Pro 1000TX cards) - as 
> obviously, there is 
> a finite limit to the number of packets the system can push - 
> is there any 
> mechanism, or flag, or anything that will warn you if by the time the 
> drivers get to poll the card, it's overflowed/lost packets?
> 
> Thanks,

netstat -i will tell you these things, look for ifInErrors, ifOutErrors.
sysctl kern.polling will indicate if you can't poll fast enough.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FE045D4D9F7AED4CBFF1B3B813C85337045D8422>