From owner-freebsd-questions@FreeBSD.ORG Fri Dec 2 10:06:05 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5E98E16A426; Fri, 2 Dec 2005 10:06:05 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from smtp1.adl2.internode.on.net (smtp1.adl2.internode.on.net [203.16.214.181]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCD7043D5D; Fri, 2 Dec 2005 10:06:01 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from midget.dons.net.au (ppp226-96.lns2.adl4.internode.on.net [203.122.226.96]) by smtp1.adl2.internode.on.net (8.12.9/8.12.6) with ESMTP id jB2A5voX044548; Fri, 2 Dec 2005 20:35:57 +1030 (CST) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.dons.net.au (inchoate.dons.net.au [10.0.2.99]) (authenticated bits=0) by midget.dons.net.au (8.13.4/8.13.3) with ESMTP id jB2A5uhm036065 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Fri, 2 Dec 2005 20:35:56 +1030 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-stable@freebsd.org Date: Fri, 2 Dec 2005 20:35:54 +1030 User-Agent: KMail/1.8.2 References: <20051201141724.GE17066@poupinou.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1325260.gpetGJ1ep6"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200512022035.55854.doconnor@gsoft.com.au> X-Spam-Score: 0 () X-Scanned-By: MIMEDefang 2.52 on 10.0.2.7 Cc: freebsd-acpi@freebsd.org, Marco Calviani , freebsd-questions@freebsd.org Subject: Re: cpufreq and changing driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Dec 2005 10:06:05 -0000 --nextPart1325260.gpetGJ1ep6 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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 AC= PI=20 has a problem that means the transition is slow. I can't imagine that doing 5 (or even 50) syscalls a second is a big CPU lo= ad=20 unless there is a specific problem with sysctls or the cpufreq=20 infrastructure. I run powerd like this -> /usr/sbin/powerd -i 90 -r 30 -a adaptive -b adaptive -n adaptive -p 200 =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart1325260.gpetGJ1ep6 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBDkByD5ZPcIHs/zowRAlQOAJ9PkoRjEfkMF3NUADMbqvYED9pTtACgi31S yYhIXX8hD8jWaD/U6wFCVS0= =jjon -----END PGP SIGNATURE----- --nextPart1325260.gpetGJ1ep6--