Re: [Puppet Users] Re: Magazine article comparing CPU usage of Puppet vs. Cfengine

Brice Figureau
2010-02-24T08:32:09Z

On Wed, 2010-02-24 at 01:10 +0100, Thomas Bellman wrote:
> Trevor Vaughan top-posted:
>
> > Just out of curiosity, do the ones that take longer happen to be 64
bit?
>
> Well, yes, they are indeed 64 bit (x86_64).  But that doesn''t
> distinguish them from the quicker ones.  They are all running
> CentOS 5.4 for x86_64, and they all have identical quad-core
> Opteron CPUs and identical motherboards, RAID controllers, and
> disks.
>
> There are differences though; some machines have dual processors
> (i.e. 8 cores) with 32 Gbyte RAM and run Xen, while some have
> single processors with 16 Gbyte RAM and do not run Xen.  I haven''t
> seen any *obvious* correlation between speed and non-Xen, dom0 or
> domU, or with amount of virtual CPU:s or RAM assigned to the
> domains, but as I said I haven''t really had time to analyze the
> problem properly.

It would be interesting in finding where (when?) the time is taken. I''m
wondering if it comes from the master or puppetd itself. Does running
with --debug gives more information.

I know Ohad found an issue around 0.24.5 about puppetd scanning $PATH to
find executables each time it needed to run yum/rpm (and possibly other
executables).
On his machines this was taking a lot of time (don''t ask why).
This has been fixed in 0.25, if I remember correctly, but maybe that''s
what you''re seeing.
--
Brice Figureau
Follow the latest Puppet Community evolutions on www.planetpuppet.org!