LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   changing kernel source (https://www.linuxquestions.org/questions/linux-newbie-8/changing-kernel-source-761697/)

smeezekitty 10-13-2009 06:38 PM

changing kernel source
 
can i change the linux kernel source so the timer only runes 64 times per second to save power?

cola 10-13-2009 07:11 PM

Quote:

Originally Posted by smeezekitty (Post 3718185)
can i change the linux kernel source so the timer only runes 64 times per second to save power?

Compile.

smeezekitty 10-13-2009 07:13 PM

Quote:

Originally Posted by cola (Post 3718223)
Compile.

i do not understand.
maybe you could respond with more then one word?

cola 10-13-2009 07:32 PM

Quote:

Originally Posted by smeezekitty (Post 3718226)
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)

GrapefruiTgirl 10-13-2009 07:35 PM

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


All times are GMT -5. The time now is 11:58 PM.