From: Carlos Garcia Campos <carlosgc@gnome.org>
To: cpufreq@lists.linux.org.uk
Subject: Re: cpufreq stops working after a while
Date: Tue, 15 Aug 2006 13:07:25 +0200 [thread overview]
Message-ID: <1155640046.9205.12.camel@localhost.localdomain> (raw)
In-Reply-To: <1155628140.4302.1079.camel@queen.suse.de>
[-- Attachment #1.1: Type: text/plain, Size: 3629 bytes --]
El mar, 15-08-2006 a las 09:49 +0200, Thomas Renninger escribió:
> On Sat, 2006-08-12 at 10:52 +0200, Erik Slagter wrote:
> > On Fri, 11 Aug 2006 14:25:26 -0400 Mark Lord <lkml@rtr.ca> wrote:
> >
> > > One of my notebooks (Dell Latitude X1) has a 1.1GHz Pentium-M ULV processor.
> > > This chip can change CPU speeds from 600 -> 800 -> 1100 Mhz.
> > >
> > > I use speedstep-centrino with it, and after boot all is usually okay.
> > > But after a few hours of operation, it stops shifting to the highest frequency
> > > even under continuous 100% load (or not). Eventually it gets stuck at 600Mhz
> > > and stays there until I reboot.
I have the same problem. My laptop is Dell Latitude D600 (Intel(R)
Pentium(R) M processor 1.60GHz). If I'm compiling something, for
example, that takes a long time, scaling_max_freq is set to 600000 (the
lowest). If I try to echo 1600000 to scaling_max_freq it do nothing.
Only after some time if the cpu load is not high I can echoing 1600000
again and it works without need to reboot.
> After a few hours, urgh.
>
> Dells limit their frequency to lowest after unplugging AC and allow all
> freqs after some time (some secs) again.
>
> There were two issues solved on the Dells some months ago:
>
> - The frequency after you unplug AC adapter is already reduced by BIOS,
> that confused the cpufreq driver.
> - There was a race in sysfs writes. If you e.g. change governor or
> possibly some other cpufreq related sysfs file while the frequency
> got limited by BIOS, the real max freq value got overridden by the
> temporarily limited max freq value and you are stuck to lowest freq
> forever.
>
> Do you use any userspace daemon (cpuspeed, powersaved, ...) to control
> cpuspeed?
In my case I use conservative governor and kernel version is
2.6.18-rc4.
> If yes, you should first try without. It should be enough to:
> - load your hw cpufreq module
> - load the ondemand governor module
> - echo ondemand >/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
>
> If it still happens we know at least it can't be some kind of sysfs race
> again or userspace tools do not remember the wrong max_freq value. Then
> some debug output or how to reproduce this a bit faster would be nice...
It happens to me every time I try to compile something that takes a long
time (evolution, mozilla, even kernel)
> Maybe with something like that:
> LOAD_FACTOR=40 # adjust this one to the power of your machine to let
> # cpufreq switch up and down, or if it does not switch
> # up and down in the beginning it should stay at
> # 800 (could be 5-20 on yours?),
> # check with (in separate console):
> # cd /sys/devices/system/cpu/cpu0/cpufreq/
> # watch -n1 cat scaling_cur_freq scaling_max_freq
>
> for ((x=200;x<1000;x+=5));do
> # give load
> for ((y=0;y<$LOAD_FACTOR;y++)); do
> echo "10 k 2 v p" |dc >/dev/null
> done;
> # then sleep
> usleep $((x*1000)) # maybe the right value here triggers the bug?
> echo "sleep $x milli secs"
> done;
>
> Maybe it's triggered if you start some other process(es) while this is
> running?
>
> Thomas
>
>
> _______________________________________________
> Cpufreq mailing list
> Cpufreq@lists.linux.org.uk
> http://lists.linux.org.uk/mailman/listinfo/cpufreq
--
Carlos Garcia Campos (KaL)
elkalmail@yahoo.es
carlosgc@gnome.org
http://carlosgc.linups.org
PGP key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x523E6462
[-- Attachment #1.2: Esta parte del mensaje está firmada digitalmente --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
[-- Attachment #2: Type: text/plain, Size: 147 bytes --]
_______________________________________________
Cpufreq mailing list
Cpufreq@lists.linux.org.uk
http://lists.linux.org.uk/mailman/listinfo/cpufreq
next prev parent reply other threads:[~2006-08-15 11:07 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-11 18:25 cpufreq stops working after a while Mark Lord
2006-08-11 18:39 ` Dave Jones
2006-08-11 19:41 ` Mark Lord
2006-08-11 20:01 ` Mark Lord
2006-08-11 20:12 ` Dave Jones
2006-08-11 18:46 ` Andrew Morton
2006-08-11 19:01 ` Mark Lord
2006-08-11 19:01 ` Mark Lord
2006-08-11 19:10 ` Mark Lord
2006-08-11 19:18 ` Andrew Morton
2006-08-12 8:52 ` Erik Slagter
2006-08-15 7:49 ` Thomas Renninger
2006-08-15 11:07 ` Carlos Garcia Campos [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-08-11 19:55 Pallipadi, Venkatesh
2006-08-11 20:29 ` Mark Lord
2006-08-11 20:39 ` Mark Lord
2006-08-11 21:01 ` Dave Jones
2006-08-11 21:09 ` Mark Lord
2006-08-11 21:15 ` Mark Lord
2006-08-11 21:17 ` Mark Lord
2006-08-11 21:25 ` Mark Lord
2006-08-18 15:11 ` Pavel Machek
2006-08-24 14:44 ` Mark Lord
2006-08-24 16:15 ` Matthew Garrett
2006-08-11 21:08 Pallipadi, Venkatesh
2006-08-11 21:38 Pallipadi, Venkatesh
2006-08-11 21:53 ` Mark Lord
2006-08-11 22:18 Pallipadi, Venkatesh
2006-08-15 13:27 Pallipadi, Venkatesh
2006-08-15 15:07 ` Carlos Garcia Campos
2006-08-16 19:28 ` Len Brown
2006-08-15 15:23 Pallipadi, Venkatesh
2006-08-15 17:46 ` Carlos Garcia Campos
2006-08-16 10:10 ` Carlos Garcia Campos
2006-08-16 13:27 Pallipadi, Venkatesh
2006-08-16 18:19 ` Carlos Garcia Campos
2006-08-17 10:46 ` Thomas Renninger
2006-08-17 10:58 ` Carlos Garcia Campos
2006-08-17 15:28 ` Thomas Renninger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1155640046.9205.12.camel@localhost.localdomain \
--to=carlosgc@gnome.org \
--cc=cpufreq@lists.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.