On Feb 1, 2009, at 12:22 PM, Brice Figureau wrote:

>
> On 29/01/09 20:43, Brice Figureau wrote:
>> First the facts:
>> For a moderate host with about 445 resources accross 30 modules.
>> This was tested on a macbook with sqlite3 (pending tests on mysql).
>>
>> * current master:
>> info: Stored catalog for debian in 10.08 seconds
>> notice: Compiled catalog for debian in 14.00 seconds
>>
>> * current master + this patch:
>> info: Stored catalog for debian in 3.89 seconds
>> notice: Compiled catalog for debian in 7.60 seconds
>>
>> There is clearly a benefit :-)
>> I still didn't had time to test on production, but the patch has  
>> now been
>> much more tested and seems to work.
>
> I tested on my production network (Yes not scared:-)), and here are  
> the
> results:
>
> This is for a moderate host with 562 resources. And the storeconfigs
> database is a tuned for read and write MySQL database.
>
> Before:
> info: Stored catalog for corp2.daysofwonder.com in 4.05 seconds
> notice: Compiled catalog for corp2.daysofwonder.com in 6.31 seconds
>
> After:
> info: Stored catalog for corp2.daysofwonder.com in 1.39 seconds
> notice: Compiled catalog for corp2.daysofwonder.com in 3.80 seconds
>
> So that's almost a 3 times speed-up for the storeconfigs part, and now
> storeconfigs in only 38% of the whole compilation time, whereas it was
> 64% of the compilation time.
>
> If possible, I'd like for other people on the dev/user-list to test  
> this
> before it gets merged.

For those interested in testing but who can't run the master branch,  
I've cherry-picked Brice's commits into a 0.24.7-derived branch:

http://github.com/lak/puppet/tree/features/0.24.7/storeconfigs-opt

-- 
Somebody has to do something, and it's just incredibly pathetic that it
has to be us. --Jerry Garcia
---------------------------------------------------------------------
Luke Kanies | http://reductivelabs.com | http://madstop.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to puppet-dev@googlegroups.com
To unsubscribe from this group, send email to 
puppet-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to