From owner-freebsd-current@FreeBSD.ORG Mon Aug 16 15:13:47 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C1D1016A4CE; Mon, 16 Aug 2004 15:13:47 +0000 (GMT) Received: from pd5mo2so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D4A443D39; Mon, 16 Aug 2004 15:13:47 +0000 (GMT) (envelope-from colin.percival@wadham.ox.ac.uk) Received: from pd3mr4so.prod.shaw.ca (pd3mr4so-ser.prod.shaw.ca [10.0.141.180])2003)) with ESMTP id <0I2J00E49OMX2F@l-daemon>; Mon, 16 Aug 2004 09:06:33 -0600 (MDT) Received: from pn2ml8so.prod.shaw.ca ([10.0.121.152]) by pd3mr4so.prod.shaw.ca (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0I2J00GWYOMXCLA0@pd3mr4so.prod.shaw.ca>; Mon, 16 Aug 2004 09:06:33 -0600 (MDT) Received: from piii600.wadham.ox.ac.uk (S0106006067227a4a.vc.shawcable.net [24.87.233.42])2003)) with ESMTP id <0I2J00C0MOMWWF@l-daemon>; Mon, 16 Aug 2004 09:06:33 -0600 (MDT) Date: Mon, 16 Aug 2004 08:06:30 -0700 From: Colin Percival X-Sender: cperciva@popserver.sfu.ca (Unverified) To: freebsd-mobile@freebsd.org Message-id: <6.1.0.6.1.20040816074348.03f99338@popserver.sfu.ca> MIME-version: 1.0 X-Mailer: QUALCOMM Windows Eudora Version 6.1.0.6 Content-type: text/plain; charset=us-ascii cc: freebsd-current@freebsd.org Subject: Enhanced SpeedStep driver available X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Aug 2004 15:13:47 -0000 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. Colin Percival