Issue #16581 has been updated by Josh Cooper.

I'm not able to reproduce slowness to the extent that you are seeing. For 
comparison, on my 2008R2 VM, puppet can perform 1000 WMI queries to resolve the 
Administrator SID in about 45 seconds, but you are seeing a single file 
resource (owner & group) take more than that.

I'm guessing that your Windows 7 box is domain joined (so the `Administrator` 
user account is a domain account). If so, can you try specifying the owner of 
the directory as a local account, e.g. `SYSTEM`? The `Administrators` group is 
local so that should be fine.

Do you have any AV scanners running?

Could you remove the custom facts and see if you get the same slowness?

Do you see the same slowness in 2.7.19?

Can you try a different machine and see if you get the same behavior?
----------------------------------------
Bug #16581: Windows file permission management very slow
https://projects.puppetlabs.com/issues/16581#change-73628

Author: David Carr
Status: Accepted
Priority: Normal
Assignee: Josh Cooper
Category: windows
Target version: 2.7.20
Affected Puppet version: 2.7.6
Keywords: windows file permissions user group sid slow performance
Branch: 


I'm trying to write some Puppet manifests that support both Darwin and Windows. 
 So far, it's been going pretty well, but I noticed that my manifests were 
running much more slowly on Windows.  I believe that the majority of the 
slow-down is caused by File resources with owner/group/mode specified.  I'm 
able to reproduce a substantial performance difference between a manifest to 
create a single empty directory with/without permissions specified.  Manifests 
and output from "puppet apply --debug --verbose --no-daemonize --summarize 
--color=false --onetime MANIFEST" attached.  The machine I'm running these on 
is a Dell Latitude E6500 running Windows 7 64-bit with Puppet 3.0.0-rc7 
installed.


-- 
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.

Reply via email to