View previous topic :: View next topic |
Author |
Message |
g0su Guru
Joined: 14 May 2003 Posts: 437 Location: Dresden, Deutschland
|
Posted: Sun May 14, 2006 11:34 pm Post subject: Ondemand is not my friend |
|
|
Hello all i have a little problem with ondemand:
Code: | HightTemplar ~ # lsmod | grep cpu
cpufreq_ondemand 7548 0
HightTemplar ~ # cpufreq-info
cpufrequtils 0.4: cpufreq-info (C) Dominik Brodowski 2004
Report errors and bugs to linux@brodo.de, please.
analyzing CPU 0:
driver: powermac
CPUs which need to switch frequency at the same time: 0
hardware limits: 750 MHz - 1.50 GHz
available frequency steps: 1.50 GHz, 750 MHz
available cpufreq governors: ondemand, userspace
current policy: frequency should be within 750 MHz and 1.50 GHz.
The governor "userspace" may decide which speed to use
within this range.
current CPU frequency is 1.50 GHz (asserted by call to hardware).
HightTemplar ~ # cpufreq-set -g ondemand
Error setting new values. Common errors:
- Do you have proper administration rights? (super-user?)
- Is the governor you requested available and modprobed?
- Trying to set an invalid policy?
- Trying to set a specific frequency, but userspace governor is not available,
for example because of hardware which cannot be set to a specific frequency
or because the userspace governor isn't loaded?
HightTemplar ~ # cd /sys/devices/system/cpu/cpu0/cpufreq/
HightTemplar cpufreq # echo ondemand > scaling_governor
-su: echo: write error: Invalid argument
HightTemplar cpufreq # cd /usr/src/linux
HightTemplar linux # make menuconfig
[*] Apple PowerMac based machines │ │
│ │ [*] CPU Frequency scaling │ │
│ │ [*] Enable CPUfreq debugging │ │
│ │ <*> CPU frequency translation statistics │ │
│ │ [*] CPU frequency translation statistics details │ │
│ │ Default CPUFreq governor (userspace) ---> │ │
│ │ < > 'performance' governor │ │
│ │ < > 'powersave' governor │ │
│ │ --- 'userspace' governor for userspace frequency scaling │ │
│ │ <M> 'ondemand' cpufreq policy governor
| | [*] Support for Apple PowerBooks |
Thx a lot _________________ Busco desarrollador con complejo de proxy, interesados MP |
|
Back to top |
|
|
JoseJX Retired Dev
Joined: 28 Apr 2002 Posts: 2774
|
Posted: Mon May 15, 2006 12:09 am Post subject: |
|
|
On-demand does not work on 7xx/74xx processors because of the time required to switch speeds. The only really usable speed switching mode on PPC is userspace, along with powernowd, cpufreq, etc. You can use performance and powersave, but I'd recommend userspace as an On-demand replacement. _________________ Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|