You are not logged in.

#1 2007-11-16 12:13:38

ploub
Member
Registered: 2007-05-16
Posts: 132

[SOLVED]cpufrequtils half working

Using T2300 Centrino Duo. I have acpi-cpufreq cpufreq_ondemand in rc.conf modules array and cpufreq in daemons.
On boot only cpu0 goes in to 'ondemand', cpu1 starts in 'performance' mode. I have to

sudo cpufreq-set -c1 -g ondemand

to get cpu1 to run 'on demand'.
Also I noticed that coming out of suspend both cpus revert to 'performance'.

My /etc/conf.d/cpufreq:

#configuration for cpufreq control

# valid governors:
#  ondemand, performance, powersave,
#  conservative, userspace
governor="ondemand"
# governor="powersave"
# governor="performance"

# valid suffixes: Hz, kHz (default), MHz, GHz, THz
max_freq="1.66GHz"
min_freq="996MHz"

cpufreq-info output:

analyzing CPU 0:
  driver: acpi-cpufreq
  CPUs which need to switch frequency at the same time: 0
  hardware limits: 996 MHz - 1.66 GHz
  available frequency steps: 1.66 GHz, 1.33 GHz, 996 MHz
  available cpufreq governors: powersave, ondemand, performance
  current policy: frequency should be within 996 MHz and 1.66 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 996 MHz.
analyzing CPU 1:
  driver: acpi-cpufreq
  CPUs which need to switch frequency at the same time: 1
  hardware limits: 996 MHz - 1.66 GHz
  available frequency steps: 1.66 GHz, 1.33 GHz, 996 MHz
  available cpufreq governors: powersave, ondemand, performance
  current policy: frequency should be within 996 MHz and 1.66 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 996 MHz.

Line 3 (& line 13) should end with '0 1' according to the wiki.
I'm fairly sure everything was ok before upgrading to 2.6.23.
How can I set both CPUs to 'on demand' on startup?

Last edited by ploub (2007-11-19 12:41:03)

Offline

#2 2007-11-16 17:40:35

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: [SOLVED]cpufrequtils half working

This might be a failing of the rc.d script - I don't know if it supports more than one cpu/core.

I just came to this realization, actually, so could you please put a bug in the bug tracker for this, and I can get to it.

Offline

#3 2007-11-16 22:08:07

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [SOLVED]cpufrequtils half working

I have a T7300 here, works just fine. Both cores on ondemand, and I didn't have to set anything regarding the cores...


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#4 2007-11-16 23:04:49

voidzero
Member
Registered: 2007-06-21
Posts: 109

Re: [SOLVED]cpufrequtils half working

I have some problems with this as well, on my single core laptop that is. I just would like to force 800Mhz (the minimum) on battery use, and 2000Mhz (the maximum) on AC use. Right now it's not doing that - it's switching. I want to be able and switch manually when needed but otherwise go with the defaults. Any hints?

Offline

#5 2007-11-17 08:04:42

ploub
Member
Registered: 2007-05-16
Posts: 132

Re: [SOLVED]cpufrequtils half working

Added bug report #8674. Has anyone else noticed this behaviour?

Offline

#6 2007-11-17 12:57:58

ploub
Member
Registered: 2007-05-16
Posts: 132

Re: [SOLVED]cpufrequtils half working

The answer lies in FS#6440 where there is a modified cpufreq script. Seems strange that not all multi-core cpus need it though.
Edit: how to add solved to title?

Last edited by ploub (2007-11-17 13:04:37)

Offline

Board footer

Powered by FluxBB