RE: device polling takes more CPU hits??
From: Don Bowman (don_at_sandvine.com)
Date: 07/26/04
- Previous message: Peter Pentchev: "[CFR] if_xl.c and if.c null pointer dereferences"
- Maybe in reply to: James: "device polling takes more CPU hits??"
- Next in thread: James: "Re: device polling takes more CPU hits??"
- Reply: James: "Re: device polling takes more CPU hits??"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: 'Marko Zec' <zec@tel.fer.hr>, freebsd-net@freebsd.org Date: Mon, 26 Jul 2004 16:07:20 -0400
From: Marko Zec [mailto:zec@tel.fer.hr]
> On Monday 26 July 2004 17:35, Don Bowman wrote:
> > > root@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
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
- Previous message: Peter Pentchev: "[CFR] if_xl.c and if.c null pointer dereferences"
- Maybe in reply to: James: "device polling takes more CPU hits??"
- Next in thread: James: "Re: device polling takes more CPU hits??"
- Reply: James: "Re: device polling takes more CPU hits??"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|