trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: January 2013

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

From: Calvin Morrison <mutantturkey@...>
Date: Thu, 24 Jan 2013 13:01:10 -0500
You can send patches to the mailing list. Send a patch as an
attachment using git diff

Thanks!

On 24 January 2013 12:59, Russell Brown <russell@...> wrote:
> Quoth Russell Brown.....
>>
>>3.5.13 kdm_greet eats lots of CPU.
>
> As a followup to my own post (bad form I know :-)....
>
> I've made a change to kdm that adds an option 'UseKDMCTL' (like UseSAK)
> in kdmrc that can turn off the monitoring of the kdmctl FIFO (defaults
> to true so it won't change anything).
>
> Turning off this monitoring (and thence the loop where Tim's 500usec
> sleep was inserted to try and reduce the load) drops the CPU usage of
> idle kdm_greet processes from significant to undetectable (as background
> I'm trying to configure a 30+ Xterminal system and having 30 kdm_greets
> trying to eat ~10% CPU each isn't good).
>
> The downside is that with this option set to 'true', kdmctl will
> obviously no longer work; but at least folk have the option and it's
> pretty clear what the choices are.
>
> The files modified are:  config.def, kfrontend/kgapp.cpp and
> kfrontend/kgreeter.cpp
>
> Where and in what format should I send the patches for review?
>
> --
>  Regards,
>      Russell
>  --------------------------------------------------------------------
> | Russell Brown          | MAIL: russell@... PHONE: 01780 471800 |
> | Lady Lodge Systems     | WWW Work: http://www.lls.com              |
> | Peterborough, England  | WWW Play: http://www.ruffle.me.uk         |
>  --------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: trinity-devel-unsubscribe@...
> For additional commands, e-mail: trinity-devel-help@...
> Read list messages on the web archive: http://trinity-devel.pearsoncomputing.net/
> Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
>