Message: previous - next
Month: January 2013

Re: [trinity-devel] kdm_greet using lots and lots of CPU

From: russell@... (Russell Brown)
Date: Fri, 25 Jan 2013 12:32:07 +0000 (GMT)
Quoth Timothy Pearson.....
>> Quoth Russell Brown.....
>>>3.5.13 kdm_greet eats lots of CPU.
>Thank you for tracing the problem.  Given the high CPU load observed I
>probably have no choice but to rework the SAK pipe code in tdm to use a
>TQSocketNotifier to avoid busywaiting.  

That would be the 'proper' solution but I'm not familiar enough with QT
to even attempt that!

In the meantime, the silly little changes I made allow folk to get
around the issue and won't effect a future 'proper' solution.

It's also worth commenting that for most people with a single machine
it's not really a big issue in the first place; I'm unusual in have lots
of kdm_greets running.

>Opening a bug report on this issue
>would help us track the problem and any potential fixes that are committed
>to GIT; you can also attach your patch to the new bug report.

Reopened Bug 690 and added the patch to that.

| Russell Brown          | MAIL: russell@... PHONE: 01780 471800 |
| Lady Lodge Systems     | WWW Work:              |
| Peterborough, England  | WWW Play:         |