Message: previous - next
Month: March 2014

Re: [trinity-devel] BUG - tdepowersave Grabbing 97% of CPU - overheating laptop

From: "David C. Rankin" <drankinatty@...>
Date: Thu, 06 Mar 2014 13:06:11 -0600
On 03/06/2014 12:55 PM, David C. Rankin wrote:
> On 03/06/2014 12:29 PM, Timothy Pearson wrote:
>>> On 03/06/2014 10:52 AM, Dr. Nikolaus Klepp wrote:
>>>> Am Donnerstag, 6. März 2014 schrieb David C. Rankin:
>>>>> All,
>>>>>   Testing the new soft-freeze packages has disclosed a horrible problem
>>>>> with
>>>>> tdepowersave taking nearly 100% of the CPU. My laptop was nearly on
>>>>> fire this
>>>>> morning:
>>>>> [screenshot]
>>>>>   Earlier in development I saw tdepowesave in the 20-40% range, but
>>>>> never at
>>>>> near 100% of CPU. What to try?
>>>> What kernel do you use? I had the same problem on wheezy with
>>>> tdepowersave took 100% of one core. It occured after tdepowersave put
>>>> the x61 to powersave the second time. It looks like the problem went
>>>> away after changing to kernel 3.12-0.bpo.1.
>>>> nik
>>> Kernel is 3.13-5.1 (just a few days old), So this is happening with
>>> current kernels.
>>> --
>>> David C. Rankin, J.D.,P.E.
>> Try attaching gdb to the runaway tdepowersave process--that should at
>> least show you where it is stuck.
>> Tim
> Will do - and report back.


  On attaching the debugger to the launch, you get some interesting output, but
then tdepowersave goes back to taking its normal 5-7% of CPU instead of 97% of
CPU. Maybe this just happens on initial startup? Is its failure to register with
systemd the problem? Here is the output:

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/".
[FIXME] UNCLASSIFIED DEVICE name: broadcast type: (null) subsystem: clockevents
driver: (null) [Node Path: (null)] [Syspath:
/sys/devices/system/clockevents/broadcast] [(null):(null)]
[FIXME] UNCLASSIFIED DEVICE name: clockevent0 type: (null) subsystem:
clockevents driver: (null) [Node Path: (null)] [Syspath:
/sys/devices/system/clockevents/clockevent0] [(null):(null)]
TQSocketNotifier: Multiple socket notifiers for same socket 12 and type read
tdepowersave: WARNING: The session is not registered with systemd
[Inferior 1 (process 31672) exited normally]

  Is there a way I can configure it to start with the debugger attached on tde

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