Otherwise i work on Puppet optimizations and i have seen some strange things too. I work on big catalog (more than 1000 resources) and i want to reduce the application time (around 20 sec).
I have seen two kind of things:
- First, recent Puppet versions are slowest (see PuppetVersions.png in attachment), mainly the last one: 2.7.12.

I can confirm that.

It's one of the reasons I'm still on 2.6 at a lot of places, as I have a 10-20% catalog compilation time increase with 2.7. Even with a master pre-2.7.12 (might have been 2.7.1 or so), which is what I tested and I never read it got better, hence I never retested it.

- Second, ruby 1.9.3 is very slow compare to ruby EE (see PuppetRuby.png in attachment). I think the problem come from the yaml library: caching catalog is very slow.

It is interesting that 1.9 is slower.

But anyway I remember that caching the catalog (read serializing it as yaml to disk) has been very slow for years and also known. It usually makes the agent look like it's hanging. This especially happens on huge catalogs - I have catalogs with up to 10k resources.

Having a puppet release focused on stability and performance would really be appreciated. I think there could some room for improvements at various places.

~pete

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

Reply via email to