device polling takes more CPU hits??

Don Bowman don at sandvine.com
Mon Jul 26 13:07:26 PDT 2004


From: Marko Zec [mailto:zec at tel.fer.hr]
> On Monday 26 July 2004 17:35, Don Bowman wrote:
> > >                   root at r2.bos# sysctl machdep.cpu_idle_hlt
> > > machdep.cpu_idle_hlt: 1
> 
> 
> At least on -STABLE, machdep.cpu_idle_hlt setting is ignored 
> / irrelevant when 
> both kern.polling.enable and kern.polling.idle_poll are set.
> 

Hmm, this is more interesting.
Since you are SMP, and using POLLING, i assume you did
like me and commented out the !POLLING in SMP #error statement.
You definitely want the halt on idle. The polling in idle
doesn't work anyway, so try disabling it.

James, not sure if you saw the rest of my email with
my params:

> kern.polling.burst: 1000
> kern.polling.each_burst: 80
> kern.polling.burst_max: 1000
> kern.polling.idle_poll: 0
> kern.polling.poll_in_trap: 0
> kern.polling.user_frac: 5
> kern.polling.reg_frac: 120
> kern.polling.short_ticks: 29
> kern.polling.lost_polls: 55004
> kern.polling.pending_polls: 0
> kern.polling.residual_burst: 0
> kern.polling.handlers: 4
> kern.polling.enable: 1
> kern.polling.phase: 0
> kern.polling.suspect: 50690
> kern.polling.stalled: 25



More information about the freebsd-net mailing list