Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jul 2007 17:50:34 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        Michael Nottebrock <lofi@freebsd.org>
Cc:        freebsd-stable@freebsd.org, bruno@freebsd.org, freebsd-acpi@freebsd.org, Kris Kennaway <kris@obsecurity.org>, JoaoBR <joao@matik.com.br>, Nate Lawson <nate@root.org>
Subject:   Re: powerd freeze with amd 5000 X2 but not with lower cpus
Message-ID:  <20070728215034.GA69460@rot26.obsecurity.org>
In-Reply-To: <46ABAE5F.8060901@freebsd.org>
References:  <200707271109.51334.joao@matik.com.br> <200707290614.18469.joao@matik.com.br> <46AB160D.6040207@freebsd.org> <200707290833.56202.joao@matik.com.br> <46AB48A7.8060103@freebsd.org> <20070728174717.GA66065@rot26.obsecurity.org> <46ABAE5F.8060901@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 28, 2007 at 11:00:15PM +0200, Michael Nottebrock wrote:
> Kris Kennaway schrieb:
> > On Sat, Jul 28, 2007 at 03:46:15PM +0200, Michael Nottebrock wrote:
> >
> >   
> >> Meanwhile I found a workaround for my system: I had SCHED_ULE configured
> >> in my kernel - switching to SCHED_4BSD gets rid of the freezes. Should
> >> have thought of that sooner, ISTR having problems with powerd and
> >> SCHED_ULE even on single cpu P4s.
> >>     
> >
> > I see you've now learned a reason why no-one should be using SCHED_ULE
> > on FreeBSD < 7 ;-)
> >   
> ... and with SCHED_ULE being obsoleted by SCHED_SMP in 7+, it might
> actually become the scheduler nobody was ever supposed to be using? It
> might still be worthwhile doing some experimenting with powerd and the
> different schedulers in -CURRENT, just in case 4BSD ever gets knocked
> from GENERIC. :)

There has been so much publicity about SCHED_ULE being broken and
contraindicated on 6.x and older versions that it's hard to understand
why people persist in using it and then being surprised when it fails
for them.  It's also kind of irritating because it ties up developer
time when problems are reported and it only later emerges that the
user is using ULE.

As you know, the version of ULE in 7.0 is completely revised, and has
the advantage of actually working.  If you see problems with ULE in
7.0, please report them on current.  If you are still using ULE on
-stable, please stop.

Kris



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