puppet resource very slow ...
Comparing with the last versions of puppet enterprise, puppet resource get's slower and slower
Compared to a mco run, it's factor 2 slower !!!
Now i debugged and found out that the ruby interpreter search all gem directories in /opt/puppetlabs/puppet/lib/ruby/gems/2.1.0 ?!?
All vendor plugins for puppet are located in /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet !!!
I think the developer should fix the path issue ASAP, because every puppet resource run will produce more than 11000 stat syscalls !
Using the right library directory will speed up the run more than 50%
Will file a support ticket ;-)
E.g: local users 43
strace -f -e trace=stat puppet resource --types 2> out grep "stat(" out |wc -l 11366