Issue #14589 has been updated by Daniel Pittman.
For Telly this moved to https://github.com/puppetlabs/puppet/blob/master/lib/puppet/util/autoload.rb#L132 - and needs the equivalent caching optimization added, otherwise it restores the huge stat cost. ---------------------------------------- Bug #14589: Puppet performs excessive stats when loading types (and other things) https://projects.puppetlabs.com/issues/14589#change-63488 Author: Daniel Pittman Status: Investigating Priority: Normal Assignee: Category: performance Target version: 2.7.x Affected Puppet version: 2.6.15 Keywords: Branch: At MediaTemple we traced down excess stat calls for `.../type` directories to the autoloader: when evaluating the full set of paths to search it would directly stat all possible directories on the path *every time*, rather than using the existing file cache mechanisms in place. The fix, in 2.6.15, for this is here: https://gist.github.com/2727690#file_use_dir_cache.patch The second patch is the relevant one - it fixes the performance problem by using the existing autoloader `searchpath` implementation on the 2.6.x branch. It looks like some of this might port forward to at least 2.7.x, and master should also be checked. This is a substantial performance improvement for users who have slow file-systems. (eg: distributed FS, or EC2 nodes) -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" 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-bugs?hl=en.
