FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 05-01-2012, 02:30 PM
Joost Kraaijeveld
 
Default cpu frequency management opteron lost?

Hi,

I used to have my CPU frequency scaled back to 1000 Mz (from 2200 MHz)
which I could see in my Gnome2 applet.

1. Is there an application with which I can check the actual speed?
2. Can I manage the speed?
3. If so, how?

Running "/etc/init.d/cpufreqd start" just reports:
panoramix:/home/jkr# /etc/init.d/cpufreqd start
Starting CPU Frequency daemon: cpufreqd failed!

I have looked at the output of "cpufreqd -D -V 7" but that did not help.

cpufreq-utils:
panoramix:/home/jkr# cpufreq-info
cpufrequtils 007: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
no or unknown cpufreq driver is active on this CPU
maximum transition latency: 4294.55 ms.
analyzing CPU 1:
no or unknown cpufreq driver is active on this CPU
maximum transition latency: 4294.55 ms

lsmod:
panoramix:/home/jkr# lsmod | grep cpu
cpufreq_userspace 12576 0
cpufreq_conservative 13147 0
cpufreq_stats 12866 0
cpufreq_powersave 12454 0

TIA


--
Groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
web: www.askesis.nl


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1335882612.3554.9.camel@panoramix.Askesis.nl">http ://lists.debian.org/1335882612.3554.9.camel@panoramix.Askesis.nl
 
Old 05-01-2012, 05:29 PM
Camaleón
 
Default cpu frequency management opteron lost?

On Tue, 01 May 2012 16:30:12 +0200, Joost Kraaijeveld wrote:

> I used to have my CPU frequency scaled back to 1000 Mz (from 2200 MHz)
> which I could see in my Gnome2 applet.
>
> 1. Is there an application with which I can check the actual speed?

cpufreq-info -e

> 2. Can I manage the speed?

Mmm... yes.

> 3. If so, how?

cpufreq-set

> Running "/etc/init.d/cpufreqd start" just reports:
> panoramix:/home/jkr# /etc/init.d/cpufreqd start
> Starting CPU Frequency daemon: cpufreqd failed!

I don't seem to have that service (in lenny and wheezy I've got
"cpufrequtils" instead) but if I were you, I'd take a look into these two
files:

/usr/share/doc/cpufreqd/README.Debian
/etc/default/cpufreqd

Maybe is that you need to configure something :-?

> I have looked at the output of "cpufreqd -D -V 7" but that did not help.
>
> cpufreq-utils:
> panoramix:/home/jkr# cpufreq-info
> cpufrequtils 007: cpufreq-info (C) Dominik Brodowski 2004-2009 Report
> errors and bugs to cpufreq@vger.kernel.org, please. analyzing
> CPU 0: no or unknown cpufreq driver is active on this CPU
^^^^^^^^^^^^^^^^^^^^^^^^^^^^

(...)

This can give you some clue.

> lsmod:
> panoramix:/home/jkr# lsmod | grep cpu
> cpufreq_userspace 12576 0
> cpufreq_conservative 13147 0
> cpufreq_stats 12866 0
> cpufreq_powersave 12454 0

I can't see "acpi_cpufreq" loaded... hum, wait, for AMD should be
"powernow-k8" insetad, right? Is it loaded?

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: jnp6h6$d12$11@dough.gmane.org">http://lists.debian.org/jnp6h6$d12$11@dough.gmane.org
 
Old 05-01-2012, 05:57 PM
Ralf Mardorf
 
Default cpu frequency management opteron lost?

I'm a pro-audio Linux user. CPU freq scaling is important for me.

Debian has a script that runs on startup, it will force ondemand. I
don't remember the location, but it must be some rc.

On Tue, 2012-05-01 at 17:29 +0000, Camaleón wrote:
> On Tue, 01 May 2012 16:30:12 +0200, Joost Kraaijeveld wrote:
>
> > I used to have my CPU frequency scaled back to 1000 Mz (from 2200 MHz)
> > which I could see in my Gnome2 applet.
> >
> > 1. Is there an application with which I can check the actual speed?
>
> cpufreq-info -e

hwinfo

> > 2. Can I manage the speed?
>
> Mmm... yes.

Mmm... yes too.

> > 3. If so, how?
>
> cpufreq-set
>
> > Running "/etc/init.d/cpufreqd start" just reports:
> > panoramix:/home/jkr# /etc/init.d/cpufreqd start
> > Starting CPU Frequency daemon: cpufreqd failed!
>
> I don't seem to have that service (in lenny and wheezy I've got
> "cpufrequtils" instead) but if I were you, I'd take a look into these two
> files:
>
> /usr/share/doc/cpufreqd/README.Debian
> /etc/default/cpufreqd
>
> Maybe is that you need to configure something :-?
>
> > I have looked at the output of "cpufreqd -D -V 7" but that did not help.
> >
> > cpufreq-utils:
> > panoramix:/home/jkr# cpufreq-info
> > cpufrequtils 007: cpufreq-info (C) Dominik Brodowski 2004-2009 Report
> > errors and bugs to cpufreq@vger.kernel.org, please. analyzing
> > CPU 0: no or unknown cpufreq driver is active on this CPU
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> (...)
>
> This can give you some clue.
>
> > lsmod:
> > panoramix:/home/jkr# lsmod | grep cpu
> > cpufreq_userspace 12576 0
> > cpufreq_conservative 13147 0
> > cpufreq_stats 12866 0
> > cpufreq_powersave 12454 0
>
> I can't see "acpi_cpufreq" loaded... hum, wait, for AMD should be
> "powernow-k8" insetad, right? Is it loaded?
>
> Greetings,

Hmm? What kernel do you use. The config of the kernel is important.
As superuser run
grep CONFIG_CPU_FREQ_GOV /boot/config-$(uname -r)

Ralf


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1335895020.7190.63.camel@precise">http://lists.debian.org/1335895020.7190.63.camel@precise
 
Old 05-01-2012, 07:24 PM
Joost Kraaijeveld
 
Default cpu frequency management opteron lost?

On di, 2012-05-01 at 17:29 +0000, Camaleón wrote:
> On Tue, 01 May 2012 16:30:12 +0200, Joost Kraaijeveld wrote:
>
> > I used to have my CPU frequency scaled back to 1000 Mz (from 2200 MHz)
> > which I could see in my Gnome2 applet.
> >
> > 1. Is there an application with which I can check the actual speed?
>
> cpufreq-info -e
panoramix:~# cpufreq-info -e
cpufrequtils 007: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
no or unknown cpufreq driver is active on this CPU
maximum transition latency: 4294.55 ms.
analyzing CPU 1:
no or unknown cpufreq driver is active on this CPU
maximum transition latency: 4294.55 ms.

>
> > lsmod:
> > panoramix:/home/jkr# lsmod | grep cpu
> > cpufreq_userspace 12576 0
> > cpufreq_conservative 13147 0
> > cpufreq_stats 12866 0
> > cpufreq_powersave 12454 0
>
> I can't see "acpi_cpufreq" loaded... hum, wait, for AMD should be
> "powernow-k8" insetad, right? Is it loaded?
Not according to lsmod. Loading it manually gives:
modprobe -vv powernow-k8
insmod /lib/modules/3.2.0-2-amd64/kernel/drivers/cpufreq/powernow-k8.ko
libkmod: INFO ../libkmod/libkmod-module.c:829 kmod_module_insert_module: Failed to insert module '/lib/modules/3.2.0-2-amd64/kernel/drivers/cpufreq/powernow-k8.ko': No such device
ERROR: could not insert 'powernow_k8': No such device
libkmod: INFO ../libkmod/libkmod.c:319 kmod_unref: context 0x7f9a84800210 released

It could be that something changed, but with kernel < 3.0 it worked!?

--
Met vriendelijke groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
web: www.askesis.nl



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1335900259.4433.9.camel@asterix.Askesis.nl">http://lists.debian.org/1335900259.4433.9.camel@asterix.Askesis.nl
 
Old 05-01-2012, 07:27 PM
Joost Kraaijeveld
 
Default cpu frequency management opteron lost?

On di, 2012-05-01 at 19:57 +0200, Ralf Mardorf wrote:
> I'm a pro-audio Linux user. CPU freq scaling is important for me.
>
> Debian has a script that runs on startup, it will force ondemand. I
> don't remember the location, but it must be some rc.
If you remember, please let me know. I really would appreciate that.

> Hmm? What kernel do you use. The config of the kernel is important.
> As superuser run
> grep CONFIG_CPU_FREQ_GOV /boot/config-$(uname -r)
3.2.0

panoramix:~# grep CONFIG_CPU_FREQ_GOV /boot/config-$(uname -r)
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=m
CONFIG_CPU_FREQ_GOV_USERSPACE=m
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m

Doe this say anything to you?

--
Met vriendelijke groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
web: www.askesis.nl



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1335900452.4433.12.camel@asterix.Askesis.nl">http://lists.debian.org/1335900452.4433.12.camel@asterix.Askesis.nl
 
Old 05-02-2012, 01:08 AM
Ralf Mardorf
 
Default cpu frequency management opteron lost?

On Tue, 2012-05-01 at 21:27 +0200, Joost Kraaijeveld wrote:
> On di, 2012-05-01 at 19:57 +0200, Ralf Mardorf wrote:
> > I'm a pro-audio Linux user. CPU freq scaling is important for me.
> >
> > Debian has a script that runs on startup, it will force ondemand. I
> > don't remember the location, but it must be some rc.
> If you remember, please let me know. I really would appreciate that.

I guess it's
/etc/init.d/cpufrequtils
http://lists.debian.org/debian-user/2011/11/msg01696.html


>
> > Hmm? What kernel do you use. The config of the kernel is important.
> > As superuser run
> > grep CONFIG_CPU_FREQ_GOV /boot/config-$(uname -r)
> 3.2.0
>
> panoramix:~# grep CONFIG_CPU_FREQ_GOV /boot/config-$(uname -r)
> CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
> CONFIG_CPU_FREQ_GOV_POWERSAVE=m
> CONFIG_CPU_FREQ_GOV_USERSPACE=m
> CONFIG_CPU_FREQ_GOV_ONDEMAND=y
> CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m
>
> Doe this say anything to you?

Yes you're able to choose between performance and ondemand without
loading a module.

Regards,
Ralf


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1335920889.7190.73.camel@precise">http://lists.debian.org/1335920889.7190.73.camel@precise
 
Old 05-02-2012, 01:14 AM
Ralf Mardorf
 
Default cpu frequency management opteron lost?

On Tue, 2012-05-01 at 21:00 +0000, debian-user wrote:

>
> > I can't see "acpi_cpufreq" loaded... hum, wait, for AMD should be
> > "powernow-k8" insetad, right? Is it loaded?
> Not according to lsmod. Loading it manually gives:
> modprobe -vv powernow-k8
> insmod /lib/modules/3.2.0-2-amd64/kernel/drivers/cpufreq/powernow-k8.ko
> libkmod: INFO ../libkmod/libkmod-module.c:829
> kmod_module_insert_module: Failed to insert module
> '/lib/modules/3.2.0-2-amd64/kernel/drivers/cpufreq/powernow-k8.ko': No
> such device
> ERROR: could not insert 'powernow_k8': No such device
> libkmod: INFO ../libkmod/libkmod.c:319 kmod_unref: context
> 0x7f9a84800210 released
>

> Running "/etc/init.d/cpufreqd start" just reports:
> panoramix:/home/jkr# /etc/init.d/cpufreqd start
> Starting CPU Frequency daemon: cpufreqd failed!


Indeed, this is strange and something seems to be missing.




--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1335921248.7190.75.camel@precise">http://lists.debian.org/1335921248.7190.75.camel@precise
 
Old 05-02-2012, 03:39 PM
Camaleón
 
Default cpu frequency management opteron lost?

On Tue, 01 May 2012 21:24:19 +0200, Joost Kraaijeveld wrote:

> On di, 2012-05-01 at 17:29 +0000, Camaleón wrote:

>> > lsmod:
>> > panoramix:/home/jkr# lsmod | grep cpu cpufreq_userspace 12576 0
>> > cpufreq_conservative 13147 0
>> > cpufreq_stats 12866 0
>> > cpufreq_powersave 12454 0
>>
>> I can't see "acpi_cpufreq" loaded... hum, wait, for AMD should be
>> "powernow-k8" insetad, right? Is it loaded?

> Not according to lsmod. Loading it manually gives:
> modprobe -vv powernow-k8
> insmod /lib/modules/3.2.0-2-amd64/kernel/drivers/cpufreq/powernow-k8.ko
> libkmod: INFO ../libkmod/libkmod-module.c:829 kmod_module_insert_module: Failed to insert module '/lib/modules/3.2.0-2-amd64/kernel/drivers/cpufreq/powernow-k8.ko': No such device
> ERROR: could not insert 'powernow_k8': No such device
> libkmod: INFO ../libkmod/libkmod.c:319 kmod_unref: context 0x7f9a84800210 released

Mmm... I get the same error in my wheezy (intel/32 bits) when loading
the module.

> It could be that something changed, but with kernel < 3.0 it worked!?

At least from the changelog of cpufrequtils I can't guess what could
have happened :-?

http://packages.debian.org/changelogs/pool/main/c/cpufrequtils/cpufrequtils_007-2/changelog

So maybe this is something coming from the kernel side but I don't know
what it could be. Anyway, if it was supported before (with no additional
intercation from your part) it has to work now, maybe you should report it.

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: jnrkf4$iv6$5@dough.gmane.org">http://lists.debian.org/jnrkf4$iv6$5@dough.gmane.org
 
Old 05-02-2012, 06:30 PM
Curt
 
Default cpu frequency management opteron lost?

On 2012-05-01, Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl> wrote:
>
> Running "/etc/init.d/cpufreqd start" just reports:
> panoramix:/home/jkr# /etc/init.d/cpufreqd start
> Starting CPU Frequency daemon: cpufreqd failed!
>

On my machine the powernow-k8 module was not getting loaded automatically for
some reason. The cpufreq utilities don't work without it.

I put 'powernow-k8' into /etc/modules so it would get loaded at boot
time. Have you tried loading the module manually to see if your 'puter
explodes when you do, taking with it Amsterdam and vast sections of its
suburbs?


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: slrnjq2vau.3m3.curty@einstein.electron.org">http://lists.debian.org/slrnjq2vau.3m3.curty@einstein.electron.org
 

Thread Tools




All times are GMT. The time now is 10:49 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org