-Jeff On Jan 7, 2011, at 6:51 AM, Brice Figureau <[email protected]> wrote:
> On Fri, 2011-01-07 at 15:33 +0100, Sébastien Barthélémy wrote: >> Hello again, >> >> thank you for your answers. I use puppet 2.6.4. >> I don't think I have a site.pp >> >> On Wed, 5 Jan 2011, Patrick wrote: >>> I'm finding that with my version of puppet (2.6.4), the checksum line >> has no effect on the run time when run on a directory containing 10 files >> that total 7.5GB. I am not >>> using the source parameter and it takes just over 2 seconds to run with >> "checksum => none" or "checksum => md5". My test computer is a Core 2 Duo >> running on a laptop. I am >>> not using a puppetmaster to test. >>> I'm still interested to see if adding that line helps though. >> >> I think the line does not help. >> >> Here are subsequent calls to puppet. >> The 3 first runs are with the line, the last line without. >> >> The first call is really long because it had work to do >> (perms to fix), the subsequents were no-ops. >> >> $ sudo time puppet -l /tmp/puppet.log ~/puppet/respeer.pp >> 38779.74 real 38230.77 user 153.85 sys >> $ sudo time puppet -l /tmp/puppet.log ~/puppet/respeer.pp >> 388.47 real 380.06 user 4.00 sys >> $ sudo time puppet -l /tmp/puppet.log ~/puppet/respeer.pp >> 398.06 real 390.21 user 4.08 sys >> $ sudo time puppet -l /tmp/puppet.log ~/puppet/respeer.pp >> 385.04 real 376.70 user 4.00 sys > > It would be interesting to try with 0.25.5 (and still use checksum => > none), to compare times and see if we have a regression or not. I think checksumming is a red herring. > How many files do you have in total? This is the primary issue think. Puppet models all of the files and Directories as resources and adds dependency relationships among them. It then sorts the graph. I suspect the sorting of the resource graph is your performance issue here. -Jeff > > And if you run with --debug, is there a part of the log where it looks > like it is spending most of its time? > > We used to have some problems with recursive file resources back in the > 0.24/0.25 days that we fixed in the latest 0.25 releases. It is possible > some of them re-surfaced in 2.6... > -- > Brice Figureau > Follow the latest Puppet Community evolutions on www.planetpuppet.org! > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" 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-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "Puppet Users" 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-users?hl=en.
