You are not logged in.

#1 2009-09-24 18:54:23

entel
Member
Registered: 2008-09-13
Posts: 13

cpufreq "CPUs which need to switch frequency at the same time"

Hi!
In my vostro 1500, with a T7250..,. cpufreq-info shows..

....
  driver: acpi-cpufreq
  CPUs which need to switch frequency at the same time: 0
  hardware limits: 800 MHz - 2.00 GHz
....
analyzing CPU 1:
  driver: acpi-cpufreq
  CPUs which need to switch frequency at the same time: 1

....


1) How I can set that both cores switch his freq. at the same time?
2) When I unplug the power, the cpu runs at 800 mhz (!) but I have configured that the minimal speed should be 1.2Ghz, and when I plug the power again, the CPU still works at 800Mhz. I have configured the daemon, and seems to be correct.... but does not work. They set "current policy: frequency should be within 800 MHz and 800 MHz." automatically (!) and does not re-set to ondemand, when plugged again.
3) cpufreq-info shows that I have 2 governors, performance and ondemand... but I have only one (ondemand) loaded as module..
"available cpufreq governors: ondemand, performance"

bash-4.0# lsmod | grep cpu
cpufreq_ondemand        7672  2
acpi_cpufreq            8624  0
freq_table              3716  2 cpufreq_ondemand,acpi_cpufreq
processor              35864  3 acpi_cpufreq



My cpufreq.conf

bash-4.0# cat /etc/conf.d/cpufreq
#configuration for cpufreq control

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

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

my rc.d/cpufreq  (not modified by me)
http://pastebin.ca/1578210



Thanks for you patience!

Last edited by entel (2009-09-24 18:56:46)

Offline

#2 2009-09-24 19:06:40

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: cpufreq "CPUs which need to switch frequency at the same time"

You could try to change

min_freq="1.2GHz"
max_freq="2GHz"

to

#min_freq="1.2GHz"
#max_freq="2GHz"

because
1. these values are wrong
2. they usually don't need to be set, see here

Offline

#3 2009-09-24 20:10:07

entel
Member
Registered: 2008-09-13
Posts: 13

Re: cpufreq "CPUs which need to switch frequency at the same time"

Army wrote:

You could try to change

min_freq="1.2GHz"
max_freq="2GHz"

to

#min_freq="1.2GHz"
#max_freq="2GHz"

because
1. these values are wrong
2. they usually don't need to be set, see here

Army, thx for your answer.
I did that, then, I restarted the service and shows 800 to 800Mhz.
Then I wrote it again, restarted the service.. and shows 1.2 to 2ghz.
My kernel is 2.6.30-ARCH #1

Last edited by entel (2009-09-24 20:13:01)

Offline

#4 2009-09-24 22:37:12

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,354

Re: cpufreq "CPUs which need to switch frequency at the same time"

Your 'performance' is compiled in to the kernel, therefore will not show on a lsmod (because its not a module). My custom kernel has ondemand compiled in as well...

Are you using laptop-mode?


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#5 2009-09-27 04:51:32

entel
Member
Registered: 2008-09-13
Posts: 13

Re: cpufreq "CPUs which need to switch frequency at the same time"

Yes, I'm using laptop mode
I'm still having trouble with cpufreq

Offline

#6 2009-09-27 07:00:59

entel
Member
Registered: 2008-09-13
Posts: 13

Re: cpufreq "CPUs which need to switch frequency at the same time"

entel wrote:

Hi!
1) How I can set that both cores switch his freq. at the same time?

Still unsolved

entel wrote:

2) When I unplug the power, the cpu runs at 800 mhz (!) but I have configured that the minimal speed should be 1.2Ghz, and when I plug the power again, the CPU still works at 800Mhz. I have configured the daemon, and seems to be correct.... but does not work. They set "current policy: frequency should be within 800 MHz and 800 MHz." automatically (!) and does not re-set to ondemand, when plugged again.

Solved, I jus had to enable /etc/laptop-mode/conf.d/cpufreq.conf  (wiki does not says this)


entel wrote:

3) cpufreq-info shows that I have 2 governors, performance and ondemand... but I have only one (ondemand) loaded as module..
"available cpufreq governors: ondemand, performance"

solved.

Thanks a lot for your answers.

And... I found a weird behavior with "auto-hibernate" (laptop mode tools)
If I have my computer with running on battery,  when i boot up my laptop, it turns inmediatley  to hibernation mode (Battery 100%; 40% to hibernate)

Last edited by entel (2009-09-27 07:01:21)

Offline

Board footer

Powered by FluxBB