sidux.com
Menu

News

Give back
Last 3 Contributions
30-11-2008 20.00
25-11-2008 100.00
25-11-2008 20.00

Donate


Sponsor
hetzner.de

Languages
Preferred language:



Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
infinitycircuit
Post subject: Stuck in C0 after upgrade to 2.6.23.1 kernel  PostPosted: Oct 28, 2007 - 08:04 PM



Joined: Oct 28, 2007
Posts: 147
Location: California
Status: Offline
Hello! (I want to preface this by saying the kernel system in sidux is excellent--the ability to pull in and patch the vanilla source automatically is very nice!)

I'm having some trouble with the new 2.6.23.1 kernel. When I boot sidux on my laptop with the default 2.6.22.3-rc1-slh-smp-2 kernel, I get battery life than on the newer kernel, despite the addition of the HPET timer patches by slh.

When I run PowerTOP with the old kernel, I get excellent power usage statistics--I stay in C4 ~75% of the time and use about 9W of power. However, it complains that a bunch of kernel changes would improve battery life. (In particular: unsetting CONFIG_IRQ_BALANCE, setting CONFIG_USB_SUSPEND, setting CONFIG_TIMER_STATS, adding HPET timer patches.)

Thus, I upgraded to the new 2.6.23.1-slh-smp-18 kernel, which has the HPET patches, and changed the other three settings. When I boot off my new kernel, PowerTOP stops recommending all those things--but I am always stuck in C0 100% of the time and my power usage jumps to 10.5W.

Does anyone have any advice why the newer kernel is harming my efficiency?
 
 View user's profile Send private message AIM Address  
Reply with quote Back to top
dan0ne
Post subject: Stuck in C0 after upgrade to 2.6.23.1 kernel  PostPosted: Oct 28, 2007 - 09:41 PM



Joined: Dec 01, 2006
Posts: 117

Status: Offline
I just had the same problem using 2.6.23.1-slh-smp-18. slh recommended to try the experimental version: http://sidux.com/files/kernel/experimental/ (2.6.23.1-slh*-smp-19) and it worked for me!
dan0ne
 
 View user's profile Send private message  
Reply with quote Back to top
infinitycircuit
Post subject: RE: Stuck in C0 after upgrade to 2.6.23.1 kernel  PostPosted: Oct 28, 2007 - 10:24 PM



Joined: Oct 28, 2007
Posts: 147
Location: California
Status: Offline
Thanks for the advice! The new experimental kernel brings my power usage down to 8.8W without a recompile with the other power-saving options enabled.

EDIT: I also see that hpet is now disabled. I wonder if that was causing the problems.
 
 View user's profile Send private message AIM Address  
Reply with quote Back to top
infinitycircuit
Post subject: RE: Stuck in C0 after upgrade to 2.6.23.1 kernel  PostPosted: Nov 12, 2007 - 03:47 AM



Joined: Oct 28, 2007
Posts: 147
Location: California
Status: Offline
For those who are curious, the power saving keeps coming with newer kernels. If you are in need of battery life, I highly recommend compiling from source.

I just compiled 2.6.24-rc2-git2 with powertop patches, hpet, usbcore, timer stats, group scheduler, cfq (the first four things are not in default slh kernels) and I now idle at 7.8W, with 99.9% of the time in C4.

_________________
http://qa.debian.org/developer.php?logi ... 0gmail.com
 
 View user's profile Send private message AIM Address  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
 
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2006-2008 by sidux e.V., 10407 Berlin, Kniprodestr. 104. sidux e.V. is a Berlin, Germany based non-profit foundation. Consult Impressum and Legal Terms for details. sidux™ is Free Software released under the GNU/GPL license and other compatible licenses.
powered by Zikula & Zafenio