polling(4) and idle time/cpu usage percentages
Don Bowman
don at sandvine.com
Sun May 11 09:05:26 PDT 2003
From: Kevin Day [mailto:toasty at dragondata.com]
> At 10:44 AM 5/11/2003, you wrote:
> >I tried the hack, as below. The other thing that makes idle
> >wildly inaccurate is the symmetric multi-threading on the xeon
> >(aka hyperthreading).
>
> Smack me if I'm wrong, but you can't compile the kernel with
> DEVICE_POLLING
> active at the same time as SMP. Without SMP you don't get any of the
> advantages/effects of HTT.
>
> (or has polling been made to play nice with SMP in -current?)
DEVICE_POLLING actually works fine with SMP, there was just
some question as to whether it was the best way to make use
of the SMP. I just removed the #error in kern_poll.c in the
#ifdef SMP case.
--don
More information about the freebsd-net
mailing list