Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jul 2004 10:52:23 -0400
From:      Don Bowman <don@sandvine.com>
To:        'James' <haesu@towardex.com>, freebsd-net@freebsd.org
Subject:   RE: device polling takes more CPU hits??
Message-ID:  <FE045D4D9F7AED4CBFF1B3B813C85337051D9433@mail.sandvine.com>

next in thread | raw e-mail | index | archive | help
From: James [mailto:haesu@towardex.com]
> Hi all,
> 
 ...

> 
> Any idea why device polling is kind of having... negative 
> impact? Is this b/c
> I have SMP compiled on a box that really doesn't have two 
> cpu's?? Is SMP+APIC_IO
> support even required for HTT use?

I would post the output of 'sysctl kern.polling', its likely
some of the tuning there is insufficient.
What do you have HZ set to (sysctl kern.clockrate)? I would
probably have it set to ~1000.
You will want 'machdep.cpu_idle_hlt=1'.

--don



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