From owner-freebsd-mobile@FreeBSD.ORG Tue Aug 17 23:46:50 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C5A3816A4CE; Tue, 17 Aug 2004 23:46:50 +0000 (GMT) Received: from ns.atcom.spb.ru (ns.atcom.spb.ru [213.182.169.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B23443D1D; Tue, 17 Aug 2004 23:46:50 +0000 (GMT) (envelope-from toxa@cterra.ru) Received: by ns.atcom.spb.ru (Postfix, from userid 1042) id 3A674334; Wed, 18 Aug 2004 03:47:04 +0400 (MSD) Received: from localhost (ppp-dialup-6.atcom.spb.ru [213.182.168.6]) by ns.atcom.spb.ru (Postfix) with ESMTP id F337D2FC; Wed, 18 Aug 2004 03:46:40 +0400 (MSD) Date: Wed, 18 Aug 2004 03:43:14 +0400 From: Toxa To: freebsd-mobile@freebsd.org, freebsd-current@freebsd.org X-Comment-To: "Anton Karpov" Message-ID: <20040817234314.GA31323@laptoxa.toxa.lan> Mail-Followup-To: freebsd-mobile@freebsd.org, freebsd-current@freebsd.org References: <6.1.0.6.1.20040816074348.03f99338@popserver.sfu.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <6.1.0.6.1.20040816074348.03f99338@popserver.sfu.ca> User-Agent: Outluck Express 1.5.6i for MS-DOS 6.22-SMP X-Mailer: See User-Agent above :) X-Operating-System: MS-DOS 6.22-CURRENT on Sony VAIO laptop X-PGP-Public-Key: http://toxahost.org/gpg/pubkey.asc X-Useless-Header: Do Androids Dream of Electric Sheep? Subject: Re: Enhanced SpeedStep driver available X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Aug 2004 23:46:50 -0000 On Mon, Aug 16, 2004 at 08:06:30AM -0700, Colin Percival wrote: > Thanks to everyone who has been sending me data about their > processors (and in particular, the 90nm versions), I now have > a first draft of a Enhanced SpeedStep driver available. For > people with the appropriate processors (Pentium M only), this > makes it possible to adjust the cpu frequency via a new sysctl > (hw.est_curfreq), and have the cpu voltage adjusted at the > same time. > I've also put together a very simple control daemon which > reads kern.cp_time every second and adjusts the cpu frequency > based on the fraction of cpu time which is idle. This increases > my laptop's battery life by around 40%. > All the code is online at > http://www.daemonology.net/freebsd-est/ > Assuming I don't hear any major bug reports in the next few > days, I'll package these into ports and hopefully get them into > the ports tree in time for 5.3-RELEASE. I'm curious about processor's name. My laptop (sony vaio pcg-v505bx) has a Pentium 4 M, but not Centrino (which name is... Pentium 4 M too), afaik it's capable to support speedsted, (enhanced or not?). When loading your module: [(3:40)(85.32%)(p1):~/tmp/est ] sudo kldload ./est.ko [(3:40)(85.32%)(p1):~/tmp/est ] kldstat|grep est 27 1 0xc23cd000 2000 est.ko [(3:40)(85.32%)(p1):~/tmp/est ] sysctl hw.est_curfreq [(3:40)(85.32%)(p1):~/tmp/est ] sysctl hw.est_freqs hw.est_freqs: e.g. nothing Is this for Centrino processors only? p.s.: from dmesg: CPU: Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz (1193.11-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf27 Stepping = 7 Features=0xbfebf9ff -- Anton A. Karpov PGP key: http://www.toxahost.org/pgp/pubkey.asc You can finger me @toxahost.org for my current status #-------------------------------------------------- "Anyone who quotes me in their sig is an idiot." Rusty Russell. #--------------------------------------------------