Hi--

On Nov 17, 2009, at 4:32 PM, Brett Glass wrote:
I'm building a FreeBSD router based on a small, Intel Atom-based board and am trying to decide whether or not to configure the kernel for polling. What's the current state of interface polling in FreeBSD? Is it worth doing with a single CPU, or will it actually increase system overhead? What "HZ" settings are recommended?

Polling probably works better with a single CPU, compared with doing service handling threads per interface, which can do better on SMP boxes. However, the main consideration is probably whether your NICs know how to do interrupt mitigation-- if they do, using that is probably better than using device polling, at least for low-to- moderate network load. Polling handles high load better; it wastes a fair amount of CPU under no to low network load.

The base recommendation is to set HZ to 1000. If your CPU is having problems with that, try 250 or 500 HZ.

Regards,
--
-Chuck

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to