Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Feb 2006 23:22:30 -0700 (MST)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        oberman@es.net
Cc:        anderson@centtech.com, mobile@freebsd.org
Subject:   Re: i8000fan for freebsd and Sony PCG-z1wa 
Message-ID:  <20060218.232230.37239553.imp@bsdimp.com>
In-Reply-To: <20060219051441.148E345041@ptavv.es.net>
References:  <20060218.215935.99466173.imp@bsdimp.com> <20060219051441.148E345041@ptavv.es.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20060219051441.148E345041@ptavv.es.net>
            "Kevin Oberman" <oberman@es.net> writes:
: > Date: Sat, 18 Feb 2006 21:59:35 -0700 (MST)
: > From: "M. Warner Losh" <imp@bsdimp.com>
: > Sender: owner-freebsd-mobile@freebsd.org
: > 
: > In message: <43F7F2FD.9070509@centtech.com>
: >             Eric Anderson <anderson@centtech.com> writes:
: > : M. Warner Losh wrote:
: > : > Recently, I've had to diagnose problems with my dell i8200 which sadly
: > : > runs windows.  It was running slower than the dickens.  Turns out it
: > : > was heat related and the bios was stepping the speed down and never
: > : > back up.  I've not been able to fix the overheading problem (would
: > : > love to know how, btw).
: > : >
: > : > In the process of all of this, I found a damn useful program that
: > : > monitored the temperature, fan speed CPU load and CPU speed, producing
: > : > a nice graph over time.
: > : >
: > : > I was wondering if something similar existed for FreeBSD.  I'd like a
: > : > nice little program that I can use to graph the temperature, CPU speed
: > : > and cpu load, with and without powerd running.  Can anybody help me out?
: > : >   
: > : 
: > : Are you looking for a long term statistical tool, or a real-time 
: > : graphical view?  I was thinking perl+rrdtool for a long term background 
: > : tool that would create png's would be pretty easy to whip up..
: > 
: > I was hoping to get a nice real-time graph...
: 
: I have not looked at details, but it looks like whipping up a plugin for
: gkrellm for this would be pretty straight forward. It has all of the
: basic tools to do what you want. It already monitors environment from
: ACPI and can monitor temperatures, voltages and fans using mbmon if the
: information is not available in ACPI.

How do I get the current speed of the CPU?  The rest I think I can do
already...  Is it just the dev.cpu.0.freq?  Is there some way I can
test this value easily to make sure that the OS' idea of the speed and
the CPU's idea of the speed are the same?

I've seen a lot of interesting graphs in the windows arena that seem
like they would help battery life a lot w/o compromising performance
all that much that I'm thinking would be fun to code up...

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060218.232230.37239553.imp>