Jake - USPS
2012-Jan-19 15:12 UTC
[Puppet Users] Investigating catalog compile times and cpu utilization
So recently I deployed some new puppet code in our environment and noticed CPU utilization on our puppetmasters went up a bit. This lead me to wonder what exactly did I add to cause catalog compiling to utilize more CPU? I was wondering if there is a way to check how long different parts in a recipe take to compile for a node(s) ... I know sometimes things I want to do can maybe be done in several different ways so if I was able to find a part in my recipe that is causing compiling to take longer maybe I can change it to be handled in a different way. I''ll obviously be going back to see exactly what changes I actually made, but just curious if there is some way to check into something like this. Thanks, Jake -- 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.
Dave Mangot
2012-Jan-20 17:33 UTC
[Puppet Users] Re: Investigating catalog compile times and cpu utilization
https://github.com/rodjek/puppet-profiler ? -Dave On Jan 19, 7:12 am, Jake - USPS <jacob.m.mcc...@usps.gov> wrote:> So recently I deployed some new puppet code in our environment and > noticed CPU utilization on our puppetmasters went up a bit. This lead > me to wonder what exactly did I add to cause catalog compiling to > utilize more CPU? I was wondering if there is a way to check how long > different parts in a recipe take to compile for a node(s) ... I know > sometimes things I want to do can maybe be done in several different > ways so if I was able to find a part in my recipe that is causing > compiling to take longer maybe I can change it to be handled in a > different way. > > I''ll obviously be going back to see exactly what changes I actually > made, but just curious if there is some way to check into something > like this. > > Thanks, > Jake-- 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.