From owner-freebsd-mobile@FreeBSD.ORG  Thu Oct 11 15:00:24 2007
Return-Path: <owner-freebsd-mobile@FreeBSD.ORG>
Delivered-To: freebsd-mobile@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 4CDAE16A47D
	for <freebsd-mobile@freebsd.org>; Thu, 11 Oct 2007 15:00:24 +0000 (UTC)
	(envelope-from freebsd@meijome.net)
Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124])
	by mx1.freebsd.org (Postfix) with ESMTP id 2145213C465
	for <freebsd-mobile@freebsd.org>; Thu, 11 Oct 2007 15:00:23 +0000 (UTC)
	(envelope-from freebsd@meijome.net)
Received: (qmail 10054 invoked from network); 11 Oct 2007 10:00:23 -0500
Received: from 124-170-228-57.dyn.iinet.net.au (HELO localhost)
	(124.170.228.57)
	by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP;
	11 Oct 2007 10:00:22 -0500
Date: Thu, 11 Oct 2007 11:00:18 +1000
From: Norberto Meijome <freebsd@meijome.net>
To: Lars Engels <lme@FreeBSD.org>
Message-ID: <20071011110018.5cd71897@meijome.net>
In-Reply-To: <20071011160502.1t3dxl8qfhck4osw@0x20.net>
References: <20071008173604.1e449ca2@meijome.net>
	<Pine.BSF.3.96.1071008235055.1617A-100000@gaia.nimnet.asn.au>
	<20071011092346.22760529@meijome.net>
	<20071011160502.1t3dxl8qfhck4osw@0x20.net>
X-Mailer: Claws Mail 3.0.2 (GTK+ 2.10.14; i386-portbld-freebsd6.2)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Cc: Ian Smith <smithi@nimnet.asn.au>,
	FreeBSD Mobile ML <freebsd-mobile@freebsd.org>
Subject: Re: Management of Thermal
X-BeenThere: freebsd-mobile@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Mobile computing with FreeBSD <freebsd-mobile.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-mobile>, 
	<mailto:freebsd-mobile-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-mobile>
List-Post: <mailto:freebsd-mobile@freebsd.org>
List-Help: <mailto:freebsd-mobile-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-mobile>,
	<mailto:freebsd-mobile-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 11 Oct 2007 15:00:24 -0000

On Thu, 11 Oct 2007 16:05:02 +0200
Lars Engels <lme@FreeBSD.org> wrote:

> Quoting Norberto Meijome <freebsd@meijome.net>:
> 
> > On Tue, 9 Oct 2007 03:21:20 +1000 (EST)
> >> Another thing with powerd - have you tried running it with -v in fg?
> >> With my 2-speed the shift points seem about right, but with lots of
> >> speeds I'd be curious to try optimising the idle / running shifts in
> >> terms of hysteresis, 'hunting' up and down with different loads and
> >> such.  'Someone' could do up some nice graphs :)
> >
> 
> Try this one:
> 
> Let this run for some time http://bsdpaste.bsdgroup.de/626
> 
> And then let this generate some nice graphs  
> http://bsdpaste.bsdgroup.de/627 with
> ./gen_temphistory.pl /tmp/tempstats.txt
> 
> The Perl script is shamelessly stolen from somebody and modified for my needs.
> It displays CPU speed, Temperature (*100) and if the Notebook is  
> running on AC or not.

thanks, I may try that in the morning... right now, I'm using a Mel's scripts
somewhat modified to log as follows:

Oct 11 10:47:01 ayiin tempd[2359]: CPU temp: 62.0C Freq: 300 Fan 2755 rpm
Oct 11 10:47:31 ayiin tempd[2378]: CPU temp: 61.0C Freq: 700 Fan 2757 rpm
Oct 11 10:48:01 ayiin tempd[2404]: CPU temp: 60.0C Freq: 700 Fan 2758 rpm
Oct 11 10:48:31 ayiin tempd[2423]: CPU temp: 61.0C Freq: 932 Fan 2761 rpm
Oct 11 10:49:01 ayiin tempd[2429]: CPU temp: 63.0C Freq: 1400 Fan 2759 rpm
Oct 11 10:49:31 ayiin tempd[2434]: CPU temp: 62.0C Freq: 500 Fan 2757 rpm
Oct 11 10:50:01 ayiin tempd[2455]: CPU temp: 61.0C Freq: 600 Fan 2763 rpm

I may plot this for fun... i should actually log load as well...hmm
B
_________________________
{Beto|Norberto|Numard} Meijome

"Throughout the centuries there were [people] who took first steps down new
paths armed only with their own vision." Ayn Rand

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.