LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-13-2009, 06:38 PM   #1
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
changing kernel source


can i change the linux kernel source so the timer only runes 64 times per second to save power?
 
Old 10-13-2009, 07:11 PM   #2
cola
Senior Member
 
Registered: Sep 2007
Posts: 1,045

Rep: Reputation: 65
Red face

Quote:
Originally Posted by smeezekitty View Post
can i change the linux kernel source so the timer only runes 64 times per second to save power?
Compile.
 
Old 10-13-2009, 07:13 PM   #3
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by cola View Post
Compile.
i do not understand.
maybe you could respond with more then one word?
 
Old 10-13-2009, 07:32 PM   #4
cola
Senior Member
 
Registered: Sep 2007
Posts: 1,045

Rep: Reputation: 65
Quote:
Originally Posted by smeezekitty View Post
i do not understand.
maybe you could respond with more then one word?
Sorry,your question was not clear.
Please explain in details.
(compiling new kernel)

Last edited by cola; 10-13-2009 at 07:38 PM.
 
Old 10-13-2009, 07:35 PM   #5
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
There are many timers in the machine, and in the kernel. You would need to be more specific as to which timer you want to adjust.

Although I don't know that you could reduce any of them to 64Hz, you do have several options including "Tickless Kernel" which only causes clock interrupts when needed, and also there is the "latency" timer, which affects kernel response time, and has such settings as 250, 300, 1000, and one other Hz setting which I can't recall at this moment-- I think it's 100Hz, which may make your machine slow to respond to your input, but *might* save some small amount of power. I believe the intent of the timer speeds is more so the kernel itself reacts faster or slower to certain types of events, not necessarily to save power. To save power, you may want to look into CPU frequency throttling instead..

You would need to recompile your kernel to change one of these settings (I'm pretty sure, though you *might* be able to use the /sys interface to change this too.. Not sure) after having adjusted the setting in either xconfig or menuconfig or whatever interface you use to configure your kernel source code before compiling.

@ cola -- I agree, your one-word reply is pretty useless. Please take a moment next time to give an informative reply, or none at all. Thank you.

Cheers,
Sasha

Last edited by GrapefruiTgirl; 10-13-2009 at 07:42 PM.
 
  


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: Open Source: Changing Models, Changing Mindsets, Part 1 LXer Syndicated Linux News 0 08-23-2007 04:30 AM
apt-get kernel-source is installing the wrong kernel source. JordanH Ubuntu 10 07-08-2005 05:42 PM
Changing YOU source... Alvarez SUSE / openSUSE 1 01-19-2005 02:11 PM
changing kernel source transeunt Linux - Newbie 2 12-10-2003 07:07 PM
Changing kernel source folders chingasman Linux - General 2 01-07-2003 05:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:21 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