On Fri, Sep 16, 2011 at 03:10:27PM -0400, no-re...@cfengine.com wrote:
>Forum: CFEngine Help
>Subject: Re: Long running shadow file edits?
>Author: sauer
>Link to topic: https://cfengine.com/forum/read.php?3,23516,23520#msg-23520
>
>Are there a relatively large number of users being edited?  I've noticed that 
>performance seems to drop substantially when looping results in a large number 
>of bundle calls, and assuming $index is a list iterator, that could be related.

I have *not* migrated to 3.2.0 yet.  But on my test hosts, version 3.2.0
seems to be noticiably slower than the current version we are running.
This is a qualitative measure only--if I get a chance I will try to post
something quantitaive later.


>
>By "large number" I'm talking about a couple hundred, which realistically 
>isn't a very large number.  But on systems where I have over 200-ish accounts, 
>it takes an additional minute+ to just iterate over the list of user homedirs 
>defined in an array.  This is significant given that a few thousand other 
>promises only take a minute or so to set/verify.  I saw similar behaviro when 
>trying to find a way to process ~14K files; performance went to the crapper 
>when I put the processing of each file into a parametrized bundle.  When I 
>modified the logic so I passed in the list rather than individual elements, 
>though... Well, it still wasn't great, but it was acceptable.  From those few 
>experiences, it seems that iteration within one bundle is ok, but iteration 
>over multiple bundles (which seems to include file editing) will kill you.
>
>_______________________________________________
>Help-cfengine mailing list
>Help-cfengine@cfengine.org
>https://cfengine.org/mailman/listinfo/help-cfengine

-- 
Jesse Becker
NHGRI Linux support (Digicon Contractor)
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to