[Scottish] May 2003 ScotLUG Meeting

Rob Hamilton scottish at mailman.lug.org.uk
Sun Jun 1 19:56:00 2003


--0-560495006-1054493733=:69359
Content-Type: text/plain; charset=us-ascii
Content-Id: 
Content-Disposition: inline

--- Robert Lazzurs <lazzurs@lazzurs.net> wrote:
> On Fri, 2003-05-30 at 10:13, Rob Hamilton wrote:
> > If you have acpi is working have you tried
> throttling
> > the cpu? I've a simple script I sometimes run on
> my
> > vaio qr20 that monitors temp and throttles down if
> > needed. 
> 
> Could you post the script somewhere so that others
> can use it?  (I know
> it is easy enough for you and I to do but that is
> not the case for all
> on this list)

okdok
folks first check acpi is supporting temperature and
throttling
by cating
 /proc/acpi/thermal_zone/ATF0/temperature
then
/proc/acpi/processor/CPU0/throttling
(state - is normal)
you can set the throttling state by (say)
echo 4 >/proc/acpi/processor/CPU0/throttling
to set state 4

The script is very crude but it keeps me knees cool:)
run in  xterm as root.
hope its useful to someone

cheers,
Rob


__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
--0-560495006-1054493733=:69359
Content-Type: application/octet-stream; name=throttle_watch_cpu
Content-Transfer-Encoding: base64
Content-Description: throttle_watch_cpu
Content-Disposition: attachment; filename=throttle_watch_cpu

IyEvYmluL3NoCgpTTEVFUD01Cm90aHJvdHRsZT0wCnRocm90dGxlPTAKd2hp
bGUgdHJ1ZSA7IGRvCgl0ZW1wPWAgY2F0IC9wcm9jL2FjcGkvdGhlcm1hbF96
b25lL0FURjAvdGVtcGVyYXR1cmUgfCBhd2sgJ3twcmludCAkMn0nYAoJZWNo
byB0ZW1wIGlzICR0ZW1wIHRocm90dGxlIGlzICR0aHJvdHRsZQoJdGhyb3R0
bGU9MAoKICAgICAgICBpZiBbICR0ZW1wIC1ndCA2MCBdIDsgdGhlbiB0aHJv
dHRsZT0xIDsgZmkKICAgICAgICBpZiBbICR0ZW1wIC1ndCA3MCBdIDsgdGhl
biB0aHJvdHRsZT0yIDsgZmkKCglpZiBbICR0aHJvdHRsZSAtbmUgJG90aHJv
dHRsZSBdIDsgdGhlbgoJCWVjaG8gdGhyb3R0bGluZyB0byAkdGhyb3R0bGUK
CQllY2hvICR0aHJvdHRsZSA+L3Byb2MvYWNwaS9wcm9jZXNzb3IvQ1BVMC90
aHJvdHRsaW5nCgkJb3Rocm90dGxlPSR0aHJvdHRsZQoJZmkKCnNsZWVwICRT
TEVFUAoJCmRvbmUK

--0-560495006-1054493733=:69359--