This is a VM with 1GB RAM and almost nothing running on it. It takes
10s to read a manifest that defines one node, one class, and checks
whether puppet package is installed...

Where is all the time going? Is something wrong?

Details -

  # cat /etc/redhat-release
  CentOS release 6.4 (Final)

  # vmstat
  procs -----------memory---------- ---swap-- -----io---- --system--
-----cpu-----
   r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us
sy id wa st
   0  0      0 705996  32180 207476    0    0     2     2   16    4  0
 0 100  0  0

  # time ruby -e 'puts "1"'
  1
  real 0m0.012s
  user 0m0.003s
  sys 0m0.007s

Just shy of 6s to display help!

  # time puppet help | head -n1
  Usage: puppet <subcommand> [options] <action> [options]

  real 0m5.990s
  user 0m0.764s
  sys 0m0.212s

And 10s to do nothing!
  # time puppet apply --noop --verbose manifests/site.pp
  Info: Applying configuration version '1369325470'
  Notice: Finished catalog run in 0.29 seconds

  real 0m10.226s
  user 0m3.065s
  sys 0m1.981s

[root@rl01m-puppet puppet]# rpm -qi puppet
Name        : puppet                       Relocations: (not relocatable)
Version     : 3.2.1                             Vendor: Puppet Labs
Release     : 1.el6                         Build Date: Wed 22 May
2013 12:29:05 PM CDT
Install Date: Wed 22 May 2013 04:09:54 PM CDT      Build Host:
verne-builder-1.delivery.puppetlabs.net
Group       : System Environment/Base       Source RPM:
puppet-3.2.1-1.el6.src.rpm
Size        : 3239292                          License: ASL 2.0
Signature   : RSA/SHA1, Wed 22 May 2013 02:14:33 PM CDT, Key ID 1054b7a24bd6ec30
URL         : http://puppetlabs.com

[root@rl01m-puppet puppet]# rpm -qi ruby
Name        : ruby                         Relocations: (not relocatable)
Version     : 1.8.7.352                         Vendor: CentOS
Release     : 10.el6_4                      Build Date: Fri 08 Mar
2013 08:27:43 AM CST
Install Date: Wed 22 May 2013 04:09:51 PM CDT      Build Host:
c6b10.bsys.dev.centos.org
Group       : Development/Languages         Source RPM:
ruby-1.8.7.352-10.el6_4.src.rpm
Size        : 1897682                          License: Ruby or GPLv2
Signature   : RSA/SHA1, Fri 08 Mar 2013 10:50:23 AM CST, Key ID 0946fca2c105b9de
Packager    : CentOS BuildSystem <http://bugs.centos.org>
URL         : http://www.ruby-lang.org/


cheers,



m
--
 martin.langh...@gmail.com
 -  ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 ~ http://docs.moodle.org/en/User:Martin_Langhoff

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to