lkml.org 
[lkml]   [2005]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Problem with cpufreq on Geode GX1
Hi Hiroshi,

Here goes the extra info that you asked for:

$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
performance
$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
300759
$ cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
300759
$ echo powersave > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
powersave
$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
23042
$ cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
23042

One other strange thing that I've noticed is that I'll never get the same
frequency when switching to powersave govenor. It allways gets increased a
little bit. For example:

$ echo powersave > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
24453
$ echo powersave > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
27779
$ echo powersave > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
29947
$ echo powersave > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
32400

Thanks for checking this.

Jose Goncalves


Hiroshi Miura wrote:
> Hi,
>
> I will check code in several days, but I cannot re-produce a problem in a moment
> because I am away from home for business trip.
>
> In my understand, the driver recognize the CPU properly.
>
> At Fri, 26 Aug 2005 19:01:37 +0100,
> Jose Miguel Goncalves wrote:
>
>>Hi all,
>>
>>I'm trying to use cpufreq on my Geode GX1 board with linux-2.6.12.5, but,
>>while everything seems OK, i.e., I can change from performance to powersave
>>governor and back and /proc/cpuinfo reports me frequency changes, I can
>>get no effective frequency/CPU power change because I check it with
>>the Whetstone benchmark and it allways give me the same value (~100 MWIPS).
>>Any ideas from were could be the problem?
>
>
> Can you try to check also follows?
>
> /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
> /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
>
> With this driver, it will significantly slow down by setting powersave mode.
> It seems some bus in the driver.
>
> Thank you for report.
>
> Hiroshi
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-08-29 15:28    [W:0.097 / U:0.368 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site