LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 07-10-2007, 12:26 PM   #1
PatrickMay16
Member
 
Registered: Apr 2005
Location: London, England.
Distribution: Debian oldstable
Posts: 56

Rep: Reputation: 53
CPU frequency scaling


BENIS DENIS! DENNACE DENNACE DENNACE.

Alright. Now let's get to business.
Do you use CPU frequency scaling in linux? I do, on my laptop and desktop computers.

In my desktop, I have an Athlon64 3800+, and I have enabled the 'cool'n'quiet' function. It didn't work at first, but it worked fine after I updated my bios to the most recent version available.

In my laptop, an Asus Z35FM with the Celeron M processor, I didn't know what to do to get it working. After asking for help amongst some people, I found that loading the 'p4_clockmod' module would enable it. It works very well now.

Do you use it? And laptop users, do you notice any increase in battery life when you use it?
 
Old 07-10-2007, 12:49 PM   #2
Jorophose
Member
 
Registered: Oct 2006
Location: Ontario, Canada
Distribution: Xubuntu 6.06!! =D
Posts: 137

Rep: Reputation: 15
Erm... What's CPU frequency scaling? *flees from various thrown objects*
 
Old 07-10-2007, 12:57 PM   #3
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 47
i use cpufreq on my laptop, works great.

i have an A64 3200+ -- how do you enable "cool'n'quiet"? is it a bios option only in certain motherboards, or a kernel + software capability?
 
Old 07-10-2007, 01:10 PM   #4
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
I use speedstep_centrino (Intel M) and enable powersaving (thanks to this amazing tool from Intel) for some devices that support it. With only X-Window loaded, I get +5h of autonomy at 600Mhz using governor ondemand. With several dozens of windows open, firefox, music, gkrellm it stays very often in lower speed. If I want quick response, I will set profile performance (applet klaptop in kde).

Before I was using http://cpufreqd.sourceforge.net/ but I haven't reinstalled it yet. With this, you can define complex profiles: when temperature goes too high, lower freq; when xine is running, set the higher freq,..)


It works quite well!
 
Old 07-10-2007, 01:20 PM   #5
PatrickMay16
Member
 
Registered: Apr 2005
Location: London, England.
Distribution: Debian oldstable
Posts: 56

Original Poster
Rep: Reputation: 53
Quote:
Originally Posted by slackhack
i use cpufreq on my laptop, works great.

i have an A64 3200+ -- how do you enable "cool'n'quiet"? is it a bios option only in certain motherboards, or a kernel + software capability?
Check the power management area of your bios. There should be an option to enable or disable it... there is in mine. If it doesn't work even when the option is enabled, you might need to update your bios; that was the case for me.

I dunno much about the kernel stuff... but it is the 'powernow-k8' module which does the cool'n'quiet stuff, I think.
 
Old 07-10-2007, 02:26 PM   #6
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 47
Quote:
Originally Posted by PatrickMay16
Check the power management area of your bios. There should be an option to enable or disable it... there is in mine. If it doesn't work even when the option is enabled, you might need to update your bios; that was the case for me.

I dunno much about the kernel stuff... but it is the 'powernow-k8' module which does the cool'n'quiet stuff, I think.
excellent! i just installed powernow-k8 and it works. bios was set to auto, so i just assumed it didn't work in linux. thanks!
 
Old 07-10-2007, 02:29 PM   #7
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Real (Wo)Men dont need CPU frequency scaling...whatever that is.
 
Old 07-10-2007, 02:55 PM   #8
charle97
Member
 
Registered: Nov 2006
Location: hawaii, usa
Distribution: slackware 14
Posts: 80

Rep: Reputation: 16
i use cpu frequency scaling on my desktop to lower electricity usage.
 
Old 07-10-2007, 04:35 PM   #9
Crito
Senior Member
 
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168

Rep: Reputation: 53
To make full use of AMD's "Cool 'N' Quiet" you need a special four pin PWM (pulse width modulation) fan. The high-end retail processors come with them. My boxed 64-bit Sempron 3000+ didn't.

Anyway, the objective isn't to get the lowest temp possible, believe it or not. The objective is to get the smallest difference between min and max temps, thereby minimizing thermal "stress". So you might actually see higher idle temps when enabled. Heck, if you live in Norway the CPU fan might not even turn on! Don't be alarmed! It's supposed to work that way.
 
Old 07-10-2007, 06:11 PM   #10
PatrickMay16
Member
 
Registered: Apr 2005
Location: London, England.
Distribution: Debian oldstable
Posts: 56

Original Poster
Rep: Reputation: 53
Quote:
Originally Posted by slackhack
excellent! i just installed powernow-k8 and it works. bios was set to auto, so i just assumed it didn't work in linux. thanks!
YES! Congratulations, man. And here's to a world of coolar processors.
 
Old 07-10-2007, 08:07 PM   #11
SlowCoder
Senior Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Debian based
Posts: 1,250

Rep: Reputation: 164Reputation: 164
Quote:
Originally Posted by Jorophose
Erm... What's CPU frequency scaling? *flees from various thrown objects*
Frequency Scaling is the act of changing the operating speed of your processor, which in turn saves electricity and reduces heat, allowing fans to run slower. Sort of like overclocking, but reverse, with the intent on increasing the overall lifespan of your system.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
CPU Frequency Scaling runa Linux - Hardware 5 04-24-2011 11:23 AM
FC6 CPU Frequency Scaling acdc Fedora 1 05-08-2007 11:06 AM
P4 and CPU Frequency scaling tkalfaoglu Linux - Kernel 3 05-31-2006 09:56 AM
CPU frequency-scaling cccc Linux - Hardware 1 03-22-2006 12:13 AM
cpu frequency scaling....anyone? alaios Linux - General 3 06-07-2005 10:51 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 06:16 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration