Issue #16581 has been updated by David Carr.

I tried running the manifests on another machine (in this case, Puppet 
3.0.0-rc6).  Running puppet as a domain user on that machine had a "File" time 
for puppet_perms.pp of 1.37, which is substantially less than on the original 
machine, but still more than I would have expected.

Looking at the callstacks I posted earlier, it looks like a fair amount of the 
time is spent in Puppet::Property#safe_insync?, almost all of which is in 
<Module::Puppet::Util::ADSI>#sid_for_account.  It's a total of 64.25% of the 
time for the domain user, and 15.13% for the local user.  Based on that, I 
think your analysis under Bug #16681 that the slowness if caused by SID 
resolution performance is accurate... and it may just be that on this 
particular machine, resolving against the domain is very slow (probably due to 
issues unrelated to Puppet, but impacting it nonetheless).
----------------------------------------
Bug #16581: Windows file permission management very slow
https://projects.puppetlabs.com/issues/16581#change-73712

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