Re: Problem with cpufreq on Geode GX1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux