On Tue, 2009-02-03 at 17:54 -0600, Luke Kanies wrote: > 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. > > > This is totally awesome, Brice.
I'm opening a ticket if you want to merge the patch, so far it survived my production environment. > Blake is starting to do some experimentation with other approaches, > too - we've gotten a lot of new interest in this, for whatever reason, > so it's great to have movement. Can you elaborate on the other approaches? I'd really like to help on this subject, as that's something I'm really interested into. Maybe we could join our efforts on this topic. -- Brice Figureau My Blog: http://www.masterzen.fr/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---