Problem with cpufreq on Geode GX1
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 : 0vendor_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 KBfdiv_bug : nohlt_bug : nof00f_bug : nocoma_bug : no
fpu : yesfpu_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 : 0vendor_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 KBfdiv_bug : nohlt_bug : nof00f_bug : nocoma_bug : no
fpu : yesfpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu tsc msr cx8 cmov mmx cxmmx
bogomips : 73.02
Best regards,
Jose Goncalves
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,
Quoted 9 lines · Jose Miguel Goncalves
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/cpuinforeports 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
Signature · 5 lines
Hiroshi Miura --- [email protected], Mobile --- [email protected] NTTDATA Corp. OpenSource Software Center. --- [email protected] NTTDATA Intellilink Corp. OpenSource Engineering Dev. -- [email protected] Kobe Institute of Computing Graduate School of IT - Lecturer -- [email protected] Key id=04AB8617 fingerprint=9117 9407 5684 FBF1 4063 15B4 401D D077 04AB 8617
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
Quoted 32 lines · Hiroshi 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,
Quoted 8 lines · Jose Miguel Goncalves
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/cpuinforeports 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_freqWith this driver, it will significantly slow down by setting powersave mode. It seems some bus in the driver.
Thank you for report.
Hiroshi