Message: previous - next
Month: February 2014

Re: [trinity-devel] tdepowersave - continually grinding away 3.6%-6% of CPU -- confirm?

From: "David C. Rankin" <drankinatty@...>
Date: Sat, 01 Feb 2014 12:57:57 -0600
On 02/01/2014 12:29 PM, Darrell Anderson wrote:
>>  On your R14 install, open a 'top' or 'htop' window and tell me 
>> what your
>> 'tdepowersave' use is.
>>  By far -- tdepowersave is the top CPU user on my build 
>> continually taking more
>> than any other process. This is not right. It is using 2x-3x more 
>> CPU than X or
>> kded and is continually at the top of the list. It never stops.
>>  What do you see?
> I see dead people. I see dead people everywhere....
> I don't see high numbers. tdepowersave is at the top of my top list 
> at about 3%.
> Traditionally kmix and knotification-daemon always have been at the 
> top of top too, at about 2%.
> I'm sure our tdepowersaverc files are different. Perhaps post your 
> tdepowersaverc. Here is mine:
> [General]
> ActionOnS2DiskButton=
> ActionOnSleepButton=
> AlreadyStarted=true
> Autostart=false
> AutostartNeverAsk=true
> batteryLow=4
> batteryLowAction=SUSPEND2RAM
> batteryWarning=10
> batteryWarningAction=BRIGHTNESS
> batteryWarningActionValue=10
> lockOnSuspend=false
> [Notification Messages]
> systemtrayquitTDEPowersave=false
> [Performance]
> autoDimm=true
> autoDimmAfter=4
> autoInactiveActionAfter=10
> blankSs=false
> brightnessPercent=60
> disableNotifications=false
> disableSs=false
> powerOffAfter=8
> specPMSettings=false
> standbyAfter=6
> suspendAfter=7
> [Powersave]
> autoDimmAfter=4
> autoDimmSchemeBlacklistEnabled=false
> autoDimmTo=25
> autoInactiveAction=Suspend to RAM
> autoInactiveActionAfter=10
> brightnessPercent=60
> disableNotifications=false
> disableSs=true
> powerOffAfter=7
> standbyAfter=5
> suspendAfter=6
> I don't use the tdepowersave much, even when on battery. Mostly 
> because of bug report 1623. Typically I press Fn+F4 (Thinkpad T400) 
> or close the lid. I'm not a comfortable laptop user anyway. I hate 
> laptop keyboards and trackpads. Right now I use the laptop as my 
> guinea pig with all of the help handbook patching I have been 
> doing. Having the laptop next to me on my desk next to my 
> production system is convenient. I've disabled the trackpad and 
> attached a wired mouse, but I still I hate the keyboard. Generally, 
> laptops suck and I'm amazed at how awful they are designed from a 
> usability perspective yet people use them and then convince 
> themselves they are pigs in mud. :)
> Darrell

You are correct that the CPU use is in the 3-5% range, that in itself isn't the
problem. The problem is that it is ALWAYS 3-5% and ALWAYS at the top of the
list. That signifies a runaway process in tdepowersave that is not playing
nicely. tdepowersave should only require 3-5% of the cpu when it does something,
not continually. tdepowersave should only be monitoring input and starting
timers, screensavers, suspend, etc.... Those are all negligible and darn sure
less that was X is doing. So there is a live Gremlin in tdepowersave somewhere....

Here is my tdepowersaverc:


That's it....

Strangely, it does blank the screen at some pre-defined interval, but it is
definitely spinning its wheels an awful lot...

David C. Rankin, J.D.,P.E.