From owner-freebsd-stable@FreeBSD.ORG Fri Dec 2 13:49:30 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A47116A41F; Fri, 2 Dec 2005 13:49:30 +0000 (GMT) (envelope-from ducrot@poupinou.org) Received: from poup.poupinou.org (poup.poupinou.org [195.101.94.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9323A43D62; Fri, 2 Dec 2005 13:49:29 +0000 (GMT) (envelope-from ducrot@poupinou.org) Received: from ducrot by poup.poupinou.org with local (Exim) id 1EiBHl-0006UG-00; Fri, 02 Dec 2005 14:49:13 +0100 Date: Fri, 2 Dec 2005 14:49:13 +0100 To: Daniel O'Connor Message-ID: <20051202134913.GD24254@poupinou.org> References: <20051201141724.GE17066@poupinou.org> <200512022035.55854.doconnor@gsoft.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200512022035.55854.doconnor@gsoft.com.au> User-Agent: Mutt/1.5.9i From: Bruno Ducrot Cc: freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org, freebsd-questions@freebsd.org Subject: Re: cpufreq and changing driver X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Dec 2005 13:49:30 -0000 On Fri, Dec 02, 2005 at 08:35:54PM +1030, Daniel O'Connor wrote: > On Fri, 2 Dec 2005 19:35, Marco Calviani wrote: > > > It's not present under powerd for the simple fact that to be efficient > > > in term of not being too intrusive (kernel to user data transfers, etc), > > > powerd can only provide a limited number of check per second (at this > > > time, 2 per second). But the current algorithm present in powerd is > > > not well suited in that case. You have to wait one demi-second > > > for the processor being put to full speed if the system was idle > > > before. > > > > Are there on the horizon any sort of plans to implement a newer and > > more efficient algorithm to increase the number of transition per > > second? Sorry but i've not understood why linux-cpufreqd is able to > > cope with those without being so intrusive..... > > I don't see why you can't run powerd more frequently, I do.. Unless your ACPI > has a problem that means the transition is slow. I'm sure this could not be done under Linux without a lot of problems (it is required to use the /proc things and it's too slow in that case). > I can't imagine that doing 5 (or even 50) syscalls a second is a big CPU load > unless there is a specific problem with sysctls or the cpufreq > infrastructure. If that's possible being not so intrusive with, say 50 syscalls under FreeBSD, then all I said above is indeed stupid crap. > I run powerd like this -> > /usr/sbin/powerd -i 90 -r 30 -a adaptive -b adaptive -n adaptive -p 200 > -- Bruno Ducrot -- Which is worse: ignorance or apathy? -- Don't know. Don't care.