Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Nov 2009 14:35:22 -0700 (MST)
From:      Brett Glass <brett@lariat.net>
To:        questions@freebsd.org
Subject:   kern.polling.lost_polls
Message-ID:  <200911202135.OAA18537@lariat.net>

next in thread | raw e-mail | index | archive | help
Everyone:

I've been experimenting with using device polling on a router with six Ethernet
interfaces that handles lots of traffic. I turned polling on, and set HZ=4000
to minimize latency and ensure that enough time was allocated to handle all of
the incoming packets. But the sysctl variable kernel.polling.lost_polls keeps
incrementing! The documentation of this variable isn't very good, so I am not
sure what this means. Does it mean that I should set kern.hz lower (perhaps
to 2000) and kern.polling.burst_max higher? Or that running the interfaces
in interrupt-driven mode would be more effective? How can I tell? (Feel free
to ask for more information about the hardware or kernel config if it would
help you to provide a good answer.)

--Brett Glass



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