FreeBSD polling mode - count 'lost' packets?

Karl Pielorz kpielorz at tdx.co.uk
Thu Mar 11 05:43:19 PST 2004



--On 08 March 2004 10:17 -0500 Don Bowman <don at sandvine.com> wrote:

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

Hmmm, should kern.polling.suspect & kern.polling.lost_polls keep 
incrementing?

Mine increment steadily. If you set kern.polling.enable=1 - they stay at 
zero - send a burst of traffic, and they keep incrementing steadily after 
that (about 20 or so a second).

Even if there's no traffic at all...

I don't seem to encounter any packet loss because of it... [This is with 
DEVICE_POLLING and HZ=1000 set in the Kernel config] - using 2 x em [Intel 
Pro-1000TX Cards both @ 100Mbit/FDX].

-Kp




More information about the freebsd-isp mailing list