LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 09-20-2007, 01:46 PM   #1
toasty_ghosty
Member
 
Registered: Aug 2007
Posts: 69

Rep: Reputation: 15
CPU Scaling


Hey,
I'm trying to get cpu scaling to work. Heres my print out. Which ones correct? If any...

root@slackware:~/Desktop# /sbin/modprobe powernow-k8
FATAL: Error inserting powernow_k8 (/lib/modules/2.6.21.5-smp/kernel/arch/i386/kernel/cpu/cpufreq/powernow-k8.ko): No such device
root@slackware:~/Desktop# dmesg | tail
bcm43xx: core_up for active 802.11 core failed (-2)
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
eth0: no IPv6 routers present
cpufreq: No nForce2 chipset.
powernow: This module only works with AMD K7 CPUs
powernow-k8: Found 1 AMD Opteron(tm) Processor 148 processors (version 2.00.00)
powernow-k8: BIOS error - no PSB or ACPI _PSS objects
powernow-k8: Found 1 AMD Opteron(tm) Processor 148 processors (version 2.00.00)
powernow-k8: BIOS error - no PSB or ACPI _PSS objects
root@slackware:~/Desktop# /sbin/modprobe speedstep-lib
root@slackware:~/Desktop#
root@slackware:~/Desktop# dmesg | tail
bcm43xx: core_up for active 802.11 core failed (-2)
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
eth0: no IPv6 routers present
cpufreq: No nForce2 chipset.
powernow: This module only works with AMD K7 CPUs
powernow-k8: Found 1 AMD Opteron(tm) Processor 148 processors (version 2.00.00)
powernow-k8: BIOS error - no PSB or ACPI _PSS objects
powernow-k8: Found 1 AMD Opteron(tm) Processor 148 processors (version 2.00.00)
powernow-k8: BIOS error - no PSB or ACPI _PSS objects
root@slackware:~/Desktop#


FYI Even though it says, I have an Opteron 148.

Last edited by toasty_ghosty; 09-20-2007 at 01:47 PM.
 
Old 09-20-2007, 02:03 PM   #2
b0uncer
Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Quote:
FATAL: Error inserting powernow_k8 (/lib/modules/2.6.21.5-smp/kernel/arch/i386/kernel/cpu/cpufreq/powernow-k8.ko): No such device
Try powernow-k6, -k7 too..you probably can't load anything except the module that works with your cpu, so trying doesn't hurt
 
Old 09-20-2007, 02:04 PM   #3
ghostdancer
Member
 
Registered: Apr 2002
Distribution: Slackware
Posts: 266

Rep: Reputation: 30
What CPU you are using? Please do 'cat /proc/cpuinfo'.

CPU scaling is usually for mobile, don't waste your time with desktop or server.

Last edited by ghostdancer; 09-20-2007 at 02:06 PM.
 
Old 09-20-2007, 02:07 PM   #4
toasty_ghosty
Member
 
Registered: Aug 2007
Posts: 69

Original Poster
Rep: Reputation: 15
root@slackware:~/Desktop# cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 39
model name : AMD Opteron(tm) Processor 148
stepping : 1
cpu MHz : 2640.182
cache size : 1024 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt lm 3dnowext 3dnow up pni lahf_lm ts fid vid ttp
bogomips : 5283.66
clflush size : 64
 
Old 09-20-2007, 02:10 PM   #5
b0uncer
Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Quote:
CPU scaling is usually for mobile, don't waste your time with desktop or server.
True, but in addition to consuming less energy, a scaled-down cpu also produces less heat. On a server it's not necessarily sensible to scale the CPU down (if the server didn't need that big a CPU, one shouldn't have bought it), but on a desktop you don't use all the time, but do like to keep up and running, it could be convenient to have the cpu produce less heat, and probably be more quiet (some desktop machines start extra cooling fans etc. when a lot of heat is produced, and cause a lot of noise then).

It's meant for laptops of course, but if it works for a desktop, I don't see why it couldn't be used.
 
Old 09-20-2007, 02:15 PM   #6
toasty_ghosty
Member
 
Registered: Aug 2007
Posts: 69

Original Poster
Rep: Reputation: 15
The only kernel that doesn't give me some sort of error would be the speedstep-lib. I take it that its correct then:

root@slackware:~/Desktop# /sbin/modprobe speedstep-lib
root@slackware:~/Desktop# dmesg | tail
cpufreq: No nForce2 chipset.
powernow: This module only works with AMD K7 CPUs
powernow-k8: Found 1 AMD Opteron(tm) Processor 148 processors (version 2.00.00)
powernow-k8: BIOS error - no PSB or ACPI _PSS objects
powernow-k8: Found 1 AMD Opteron(tm) Processor 148 processors (version 2.00.00)
powernow-k8: BIOS error - no PSB or ACPI _PSS objects
NET: Registered protocol family 4
NET: Registered protocol family 3
NET: Registered protocol family 5
powernow: This module only works with AMD K7 CPUs
root@slackware:~/Desktop#
 
Old 09-20-2007, 02:21 PM   #7
ghostdancer
Member
 
Registered: Apr 2002
Distribution: Slackware
Posts: 266

Rep: Reputation: 30
Quote:
Originally Posted by b0uncer View Post
True, but in addition to consuming less energy, a scaled-down cpu also produces less heat. On a server it's not necessarily sensible to scale the CPU down (if the server didn't need that big a CPU, one shouldn't have bought it), but on a desktop you don't use all the time, but do like to keep up and running, it could be convenient to have the cpu produce less heat, and probably be more quiet (some desktop machines start extra cooling fans etc. when a lot of heat is produced, and cause a lot of noise then).

It's meant for laptops of course, but if it works for a desktop, I don't see why it couldn't be used.
Sure. However, unless one uses a mobile CPU for desktop. AFAIK, if we are using a CPU that is design for desktop, there won't be such feature. So, there is no point configure it.

AFAIK, Opteron 148 does not support CPU scaling (I think is call Optimize Power Management for newer Opteron only. For older Opteron, it does not support CPU scaling).
 
Old 09-20-2007, 02:23 PM   #8
toasty_ghosty
Member
 
Registered: Aug 2007
Posts: 69

Original Poster
Rep: Reputation: 15
Quote:
AFAIK, Opteron 148 does not support CPU scaling (I think is call Optimize Power Management for newer Opteron only. For older Opteron, it does not support CPU scaling).
So I take it then this will never work on this Opteron?
 
Old 09-20-2007, 02:37 PM   #9
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 45
most of the nicer desktop boards come with this feature automatically , they scale up the speed when they see it is required and slow it down when not (many a times switching off the fans in later case)
 
Old 09-20-2007, 02:42 PM   #10
ghostdancer
Member
 
Registered: Apr 2002
Distribution: Slackware
Posts: 266

Rep: Reputation: 30
Quote:
Originally Posted by duryodhan View Post
most of the nicer desktop boards come with this feature automatically , they scale up the speed when they see it is required and slow it down when not (many a times switching off the fans in later case)
It does? Well, it never occur me to setup CPU scaling for desktop. My system can do suspend, but that is not CPU scaling.

Just curious, do you know any particular desktop CPU support CPU scaling? I did a little google search, I can't find one. Whenever I search for Intel Speedstep or AMD PowerNOW, I gets mobile CPU listing.

Last edited by ghostdancer; 09-20-2007 at 02:58 PM.
 
Old 09-20-2007, 03:21 PM   #11
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,295

Rep: Reputation: Disabled
I have a P4 desktop (HP) which I use CPU scaling on. I thought most modern chips supported scaling.

Brian
 
Old 09-20-2007, 03:45 PM   #12
toasty_ghosty
Member
 
Registered: Aug 2007
Posts: 69

Original Poster
Rep: Reputation: 15
I think most Intel chips do, but looking online I can't seem to find many AMD chips that do as well.
 
Old 09-20-2007, 04:43 PM   #13
syvy
Member
 
Registered: Sep 2005
Location: Germany
Distribution: slackware64 13.37
Posts: 105

Rep: Reputation: 16
My AMD Opteron 175 does, too. CPU scaling works well.
 
Old 09-20-2007, 05:43 PM   #14
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Arch64,Slackware64 -current
Posts: 1,132

Rep: Reputation: 52
My desktop has AMD64 X2 4200+ and I use ondemand cpu freq scaling all the time. I have a mythtv box has AMD64 3700+ single core and that uses the ondemand scaling all the time.
 
Old 09-20-2007, 05:48 PM   #15
toasty_ghosty
Member
 
Registered: Aug 2007
Posts: 69

Original Poster
Rep: Reputation: 15
What are you using in the single core kernel wise?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CPU Frequency Scaling runa Linux - Hardware 5 04-24-2011 11:23 AM
CPU frequency scaling PatrickMay16 General 10 07-10-2007 08:07 PM
cpu scaling gui geeyathink General 5 05-08-2007 06:08 AM
CPU Scaling StevenO General 7 02-15-2006 07:28 PM
cpu frequency scaling....anyone? alaios Linux - General 3 06-07-2005 10:51 AM


All times are GMT -5. The time now is 05:57 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration