Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ondemand is not my friend
View unanswered posts
View posts from last 24 hours

Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message

Joined: 14 May 2003
Posts: 437
Location: Dresden, Deutschland

PostPosted: Sun May 14, 2006 11:34 pm    Post subject: Ondemand is not my friend Reply with quote

Hello all i have a little problem with ondemand:

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, 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
View user's profile Send private message
Retired Dev
Retired Dev

Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon May 15, 2006 12:09 am    Post subject: Reply with quote

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:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

Jump to:  
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