* Problem with cpufreq on Geode GX1
@ 2005-08-26 18:01 Jose Miguel Goncalves
2005-08-28 11:11 ` Hiroshi Miura
0 siblings, 1 reply; 3+ messages in thread
From: Jose Miguel Goncalves @ 2005-08-26 18:01 UTC (permalink / raw)
To: linux-kernel; +Cc: miura
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?
Some additional info follows:
$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
performance
$ cat /proc/cpuinfo
processor : 0
vendor_id : CyrixInstead
cpu family : 5
model : 9
model name : Geode(TM) Integrated Processor by National Semi
stepping : 2
cpu MHz : 300.672
cache size : 16 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu tsc msr cx8 cmov mmx cxmmx
bogomips : 591.87
$ echo powersave > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
$ cat /proc/cpuinfo
processor : 0
vendor_id : CyrixInstead
cpu family : 5
model : 9
model name : Geode(TM) Integrated Processor by National Semi
stepping : 2
cpu MHz : 37.095
cache size : 16 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu tsc msr cx8 cmov mmx cxmmx
bogomips : 73.02
Best regards,
Jose Goncalves
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problem with cpufreq on Geode GX1
2005-08-26 18:01 Problem with cpufreq on Geode GX1 Jose Miguel Goncalves
@ 2005-08-28 11:11 ` Hiroshi Miura
2005-08-29 13:25 ` Jose Miguel Goncalves
0 siblings, 1 reply; 3+ messages in thread
From: Hiroshi Miura @ 2005-08-28 11:11 UTC (permalink / raw)
To: Jose Miguel Goncalves; +Cc: linux-kernel, miura
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
--
Hiroshi Miura --- miura@da-cha.org, Mobile --- himo@da-cha.org
NTTDATA Corp. OpenSource Software Center. --- miurahr@nttdata.co.jp
NTTDATA Intellilink Corp. OpenSource Engineering Dev. -- miurahr@intellilink.co.jp
Kobe Institute of Computing Graduate School of IT - Lecturer -- miurahr@kic.ac.jp
Key id=04AB8617 fingerprint=9117 9407 5684 FBF1 4063 15B4 401D D077 04AB 8617
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problem with cpufreq on Geode GX1
2005-08-28 11:11 ` Hiroshi Miura
@ 2005-08-29 13:25 ` Jose Miguel Goncalves
0 siblings, 0 replies; 3+ messages in thread
From: Jose Miguel Goncalves @ 2005-08-29 13:25 UTC (permalink / raw)
To: Hiroshi Miura; +Cc: linux-kernel
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
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-08-29 13:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-26 18:01 Problem with cpufreq on Geode GX1 Jose Miguel Goncalves
2005-08-28 11:11 ` Hiroshi Miura
2005-08-29 13:25 ` Jose Miguel Goncalves
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox