LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 07-26-2007, 06:37 PM   #1
Peterius
Member
 
Registered: May 2004
Distribution: Gentoo, Debian, OpenBSD, NetBSD
Posts: 158

Rep: Reputation: 16
cpufreq governors side effects?


In an attempt to curb the high battery usage of my thinkpad x60, I added a script to each of /etc/acpi/ac.d and /etc/acpi/battery.d to call "cpufreq-set -g performance" and "cpufreq-set -g powersave" respectively.

Are there any downsides to doing this every time the ac is unplugged and plugged back in and so immediately? I've heard spinning your hard drive up and down degrades it and I'm wondering if changing governors degrades the processor or if the governor scales the frequency up slowly to avoid this, etc. Also is this the right way to do something like this? And can I expect my battery life to increase from an hour and a half to something closer to the 4 hours claimed by manufacturer?
 
Old 07-27-2007, 01:55 AM   #2
merer
LQ Newbie
 
Registered: Jul 2007
Location: Vilnius,Lithuania
Distribution: Slackware 12.2
Posts: 20

Rep: Reputation: 1
I don't think there are any downsides. In fact, those processors are built to scale.
Although I can see one quirk in your choice of governors. On AC power in some cases you could overheat (or to be more precise, reach critical temperature) your processor after long time of 100% usage. If your notebook has a fast processor and inadequate cooling system, as performance governor always runs the CPU at maximum available frequency. I personally prefer conservative governor, which scales frequency one step at a time although some say, that ondemand is better (http://www.bughost.org/pipermail/pow...ay/000071.html) as far as energy efficiency goes.

Last edited by merer; 07-27-2007 at 01:58 AM.
 
Old 07-28-2007, 11:29 PM   #3
Peterius
Member
 
Registered: May 2004
Distribution: Gentoo, Debian, OpenBSD, NetBSD
Posts: 158

Original Poster
Rep: Reputation: 16
/proc/cpuinfo

Thanks for the info, I'll maybe start using ondemand.

But actually it may be too late. I hadn't rebooted in a while and did so last night and checking /proc/cpuinfo today reveals 1st of the Intel Core 2 CPU processors with 4049.49 bogomips and the 2nd with 3990.02 bogomips! Why would they be different? I'm pretty certain yesterday these were both 3995. Anyone know what would cause this?
 
  


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
LXer: Top Linux photo managers side-by-side LXer Syndicated Linux News 0 12-14-2006 06:33 PM
LXer: Coding without side effects LXer Syndicated Linux News 0 07-19-2006 11:54 PM
Odd Side effects of using gnu.io.SerialPort.setSerialPortParams (from RxTx v2.1.7) Tuatha Linux - Software 1 04-19-2006 09:09 AM
side effects of removing certain services tom_from_van Linux - Security 2 07-21-2005 09:33 AM
USB Mouse randomly freezes with new 2.6.x Kernels + funny side effects phrog Linux - Hardware 0 11-23-2004 12:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 04:54 PM.

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