From owner-freebsd-acpi@FreeBSD.ORG Sat Jul 28 21:50:35 2007 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 621A416A418; Sat, 28 Jul 2007 21:50:35 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 2F5ED13C4B6; Sat, 28 Jul 2007 21:50:35 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from rot26.obsecurity.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 967271A3C1A; Sat, 28 Jul 2007 14:50:24 -0700 (PDT) Received: by rot26.obsecurity.org (Postfix, from userid 1001) id 6C28FBEC3; Sat, 28 Jul 2007 17:50:34 -0400 (EDT) Date: Sat, 28 Jul 2007 17:50:34 -0400 From: Kris Kennaway To: Michael Nottebrock Message-ID: <20070728215034.GA69460@rot26.obsecurity.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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46ABAE5F.8060901@freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-stable@freebsd.org, bruno@freebsd.org, freebsd-acpi@freebsd.org, Kris Kennaway Subject: Re: powerd freeze with amd 5000 X2 but not with lower cpus X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jul 2007 21:50:35 -0000 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