On Wed, 11 May 2005 13:59:02 -0400
Matt Sergeant <[EMAIL PROTECTED]> wrote:

> On 11 May 2005, at 13:05, Brian Grossman wrote:
> 
> >> The biggest slow down though was the per-object post-loop-callbacks.
> >> Iterating through each object every time through our event loop was a
> >> killer. I have a patch for that where I use an external variable to 
> >> keep
> >> track of whether there are any PLCs which puts the performance back to
> >> normal.
> >
> > Oh, please please post (or commit so I can pull).  I was hoping the 
> > high
> > cpu load wasn't inherent in pollserver.
> 
> OK, here it is. Let me know how it runs for you now. I think high CPU 
> load may be inherent although to be fair my spamtrap may not exactly be 
> the best test bed for seeing whether you can get low load.

It does work for me.  I think I saw a cpu load drop with the @ToClose
change, but not with the PLC change.  I have PLCs registered almost
constantly from new connections that use check_earlytalker.

Brian

Reply via email to