Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 May 2003 12:05:23 -0400
From:      Don Bowman <don@sandvine.com>
To:        'Kevin Day' <toasty@dragondata.com>, Don Bowman <don@sandvine.com>
Cc:        freebsd-net@freebsd.org
Subject:   RE: polling(4) and idle time/cpu usage percentages
Message-ID:  <FE045D4D9F7AED4CBFF1B3B813C8533701B36610@mail.sandvine.com>

next in thread | raw e-mail | index | archive | help
From: Kevin Day [mailto:toasty@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



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