You are not logged in.

#1 2007-05-24 23:22:33

pain of salvation
Member
Registered: 2007-05-22
Posts: 76

Frequency scaling on Intel Core 2 Duo 6300

May you help me setting up frequency scaling on a Intel Core 2 Duo E6300? I just don't know what module should I load. Also I don't know whats the min_freq and max_freq of my cpu.... tried cpufreq-info but only got this:



analyzing CPU 0:
  no or unknown cpufreq driver is active on this CPU
analyzing CPU 1:
  no or unknown cpufreq driver is active on this CPU
[alvaro@arch ~]$

Offline

#2 2007-05-25 00:20:38

hybrid
Member
Registered: 2007-02-05
Posts: 261

Re: Frequency scaling on Intel Core 2 Duo 6300

Well, this here should get you started and you also might be interested in that there.
To figure out which module you need to load just try to load them ('ls /lib/modules/*/kernel/arch/*/kernel/cpu/cpufreq' shows you the available modules) - if it's not the right one, it won't work. acpi_cpufreq works for my E6300.

smile

Offline

#3 2007-05-25 01:32:57

pain of salvation
Member
Registered: 2007-05-22
Posts: 76

Re: Frequency scaling on Intel Core 2 Duo 6300

Well, here is what I did:

1. Installed  cpufrequtils

2. Edited /etc/rc.d/cpufreq as said in that link you posted:

if [ "$params" != "" ]; then
                cpufreq-set -c 0 $params
                cpufreq-set -c 1 $params
                stat_done

3. Set governor="conservative" on the same file and commented out minimum & maximum frequencies lines.

4. Added on rc.conf cpufreq (in deamons) and speedstep_centrino (in modules)

But when I tried modprove speedstep-centrino, I got this error:

[root@arch alvaro]# modprobe speedstep-centrino
FATAL: Error inserting speedstep_centrino (/lib/modules/2.6.21-ARCH/kernel/arch/x86_64/kernel/cpufreq/speedstep-centrino.ko): Device or resource busy

Offline

#4 2007-05-25 01:40:21

pelle.k
Member
From: Åre, Sweden (EU)
Registered: 2006-04-30
Posts: 667

Re: Frequency scaling on Intel Core 2 Duo 6300

use acpi-cpufreq module. speedstep-centrino is deprecated.


"Your beliefs can be like fences that surround you.
You must first see them or you will not even realize that you are not free, simply because you will not see beyond the fences.
They will represent the boundaries of your experience."

SETH / Jane Roberts

Offline

#5 2007-05-25 01:52:27

pain of salvation
Member
Registered: 2007-05-22
Posts: 76

Re: Frequency scaling on Intel Core 2 Duo 6300

Ok...

Another thing... the wiki says:

"dditional to this its a good choice to install powersave and add it to your daemons in /etc/rc.conf (powersaved). Powersave contains some fixes for suspend to ram and standby as well some more tweaks for battery saving. Start it with

/etc/rc.d/powersaved start"

Do you guys use powesaved?

Offline

#6 2007-05-25 15:52:01

pelle.k
Member
From: Åre, Sweden (EU)
Registered: 2006-04-30
Posts: 667

Re: Frequency scaling on Intel Core 2 Duo 6300

Yes. I do, and it's freakin great! smile
It can control both cores _without_ editing it's init scripts. (i don't like hacks)
Everything is configured in /etc/powersave/

This is all i have done to /etc/powersave/cpufreq;

CPUFREQD_MODULE="acpi-cpufreq"
CPUFREQ_CONTROL="ondemand"

To suspend to ram i just run "powersave -u", allthough this is also available  from gnome "shutdown menu", and kpowersave (if you're a kde guy/girl) gives you some sweet features to play with...
Just note that you have to be a member of the power group, to control powersave as a regular "user".


"Your beliefs can be like fences that surround you.
You must first see them or you will not even realize that you are not free, simply because you will not see beyond the fences.
They will represent the boundaries of your experience."

SETH / Jane Roberts

Offline

#7 2007-05-25 16:07:54

Davigetto
Member
From: In your mind
Registered: 2007-05-10
Posts: 266

Re: Frequency scaling on Intel Core 2 Duo 6300

If you have a laptop, powersave is not the best solution for me. I don't know why, but it misterously consumes lot of resources (in debian it works correctly), so I use cpudyn, it's more simpler than powernowd or powersave, its dynamic scale commes only from minimal to maximal frecuency, but it is lighter and don't consumes lots of resources, so HD can sleep.

Here is http://wiki.archlinux.org/index.php/SpeedStep

I repeat, cpudyn is the better that worked on my laptop tongue

Greetings


Only deaths can see the end of battles.

Blog: http://djmartinez.co.cc -> The life of a Computer Engineer

Offline

#8 2007-05-25 16:25:42

pain of salvation
Member
Registered: 2007-05-22
Posts: 76

Re: Frequency scaling on Intel Core 2 Duo 6300

powersave is not on the repositories...

[root@arch alvaro]# pacman -Sy powersave gnome-power-manager
:: Sincronizando a base de dados de pacotes...
current está atualizado
extra está atualizado
community está atualizado
erro: 'powersave': não foi encontrado na base de dados de pacotes

Anyway, I think powersave is just for notebooks, am I wrong? I am not using a notebook...

Thank you guys!

Last edited by pain of salvation (2007-05-25 16:45:57)

Offline

#9 2007-05-25 22:48:25

pelle.k
Member
From: Åre, Sweden (EU)
Registered: 2006-04-30
Posts: 667

Re: Frequency scaling on Intel Core 2 Duo 6300

?!

$ pacman -Ss powersave
extra/powersave 0.14.0-4
    The powersave package provides global power management tasks. It supports battery monitoring, userspace workarounds for proper suspend/standby functionality and more.

And no, powersave is certainly not only for laptops. As the package name suggests, it's for saving power on any computer system. Why wouldn't i/we want to save energy in this world we live in for the better of future generations wink
The greenhouse effect and whatnot, does it ring a bell?

Last edited by pelle.k (2007-05-25 22:49:21)


"Your beliefs can be like fences that surround you.
You must first see them or you will not even realize that you are not free, simply because you will not see beyond the fences.
They will represent the boundaries of your experience."

SETH / Jane Roberts

Offline

#10 2007-05-25 22:54:47

pain of salvation
Member
Registered: 2007-05-22
Posts: 76

Re: Frequency scaling on Intel Core 2 Duo 6300

Maybe there is no powersave for arch64? I am using arch 64...

Offline

Board footer

Powered by FluxBB