On Wed, Nov 30, 2011 at 6:48 AM, Felix Frank < felix.fr...@alumni.tu-berlin.de> wrote:
> Hi, > > On 11/01/2011 02:42 PM, Luke Bigum wrote: > > It also has to do with Puppet's implementation of File resources: it > > creates in memory Ruby objects for every file and directory it finds > > recursively, so combine that with the md5 summing and you'll blow out > > your CPU and memory usage very quickly. I've done something like this > > in the past: > > seeing as this isn't mentioned in this thread yet: > > When recursing through directory trees, you most likely want to specify > > checksum => "none" > > in your file resource. This didn't help in puppet 0.25, but since 2.6 > I've used it to great benefit. > > Still, large-ish trees with lots of (small) files will still take a very > long time due to the other effect noted above. > Also if you are running 2.7.0 to 2.7.6, we recently fixed a performance issue, which you'd see when recursing large numbers of files: https://projects.puppetlabs.com/issues/9671 It's fixed in 2.7.7 Josh -- Josh Cooper Developer, Puppet Labs -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.