Profiling puppetmasterd with ruby-prof
So I’m not hugely happy with the CPU consumption of puppetmasterd under heavy load, and so I’ve been trying to work out where the bottlenecks lie.
Unfortunately I’ve yet to find a smoking gun, but here’s a reasonably simple way to produce profiles of puppetmasterd.
Install ruby-prof from gems.
Stop any apache/mongrel/nginx instances of puppetmasterd you may [...]