FAQ
Puppet is taking about 5 minutes per run on a Windows 2008 R2 server.
Here's the breakdown:

config_retrieval 1.638
exec 1.0764
file 320.1297
Total 322.8441

There are only 13 file resources:

4 are directories
2 are small powershell scripts
6 are relatively small text files
1 image file (9K png file)

Puppet version is 2.7.19

Why so long ensuring these files are correct?

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/sxstGOvzln0J.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.

Search Discussions

  • Calvin Walton at Aug 30, 2012 at 3:03 pm

    On Tue, 2012-08-28 at 14:59 -0700, Roger wrote:
    Puppet is taking about 5 minutes per run on a Windows 2008 R2 server.
    Here's the breakdown:

    config_retrieval 1.638
    exec 1.0764
    file 320.1297
    Total 322.8441

    There are only 13 file resources:

    4 are directories
    2 are small powershell scripts
    6 are relatively small text files
    1 image file (9K png file)
    Are you recursively copying the contents of the directories?

    Doing this in puppet can be extremely slow, because puppet has to travel
    through the directory trees and create a file resource for each
    subdirectory and file in the tree, then sync each file separately.

    If you have the ability to put the directories in packages and install
    them, or even just put them in a zip archive and unzip them to install
    them, you will see much better performance.

    --
    Calvin Walton <calvin.walton@kepstin.ca>

    --
    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+unsubscribe@googlegroups.com.
    For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
  • Josh Cooper at Aug 30, 2012 at 7:28 pm
    Hi Roger,
    On Tue, Aug 28, 2012 at 2:59 PM, Roger wrote:
    Puppet is taking about 5 minutes per run on a Windows 2008 R2 server.
    Here's the breakdown:

    config_retrieval 1.638
    exec 1.0764
    file 320.1297
    Total 322.8441

    There are only 13 file resources:

    4 are directories
    2 are small powershell scripts
    6 are relatively small text files
    1 image file (9K png file)

    Puppet version is 2.7.19

    Why so long ensuring these files are correct?
    Are these on a local filesystem? Or vm shared folder (hgfs)? Or smb/cifs?

    Are you managing owner/group/mode? If so, can you try omitting those properties?

    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+unsubscribe@googlegroups.com.
    For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
  • Josh Cooper at Oct 2, 2012 at 12:28 am

    On Thu, Aug 30, 2012 at 12:28 PM, Josh Cooper wrote:
    Hi Roger,
    On Tue, Aug 28, 2012 at 2:59 PM, Roger wrote:
    Puppet is taking about 5 minutes per run on a Windows 2008 R2 server.
    Here's the breakdown:

    config_retrieval 1.638
    exec 1.0764
    file 320.1297
    Total 322.8441

    There are only 13 file resources:

    4 are directories
    2 are small powershell scripts
    6 are relatively small text files
    1 image file (9K png file)

    Puppet version is 2.7.19

    Why so long ensuring these files are correct?
    Are these on a local filesystem? Or vm shared folder (hgfs)? Or smb/cifs?

    Are you managing owner/group/mode? If so, can you try omitting those properties?

    Josh

    --
    Josh Cooper
    Developer, Puppet Labs
    I've discovered some performance issues with how we're using WMI to
    resolve usernames into SIDs when managing file owner and group, see
    [1]. Is your Windows server joined to a domain? Do you have multiple
    domains? forests?

    Josh

    [1] https://projects.puppetlabs.com/issues/16681

    --
    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+unsubscribe@googlegroups.com.
    For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppuppet-users @
categoriespuppet
postedAug 28, '12 at 9:59p
activeOct 2, '12 at 12:28a
posts4
users3
websitepuppetlabs.com

People

Translate

site design / logo © 2022 Grokbase