Hi,
while trying to find things in our puppet setup I could tune I had a look
into /var/lib/puppet/state/last_run_summary.yaml and saw the time consumed
by "config_retrieval" which is always around 11 sec.
> cat /var/lib/puppet/state/last_run_summary.yaml
---
resources:
total: 983
scheduled: 0
restarted: 0
changed: 2
skipped: 6
failed: 0
out_of_sync: 2
failed_to_restart: 0
events:
total: 2
success: 2
failure: 0
changes:
total: 2
time:
user: 0.015028
total: 27.2075000184937
mount: 0.005127
group: 0.004601
cron: 0.001611
package: 1.009123
exec: 11.764566
filebucket: 0.000147
last_run: 1369400811
service: 0.405391
file: 2.528648
config_retrieval: 11.4732580184937
version:
config: 1369400578
puppet: "3.1.1"
Here -
http://grokbase.com/t/gg/puppet-dev/1253sjpxkb/trying-to-isolate-performance-issues-with-config-retrieval
- I
read about catalog caching and that it might take a while. So I inserted
the recommended extra bit of debug lines to find out how long catalog
caching takes and gave it a try...
> puppet agent --debug --no-daemonize --onetime
[...]
Debug: Finishing transaction 70300385894840
Debug: Loaded state in 0.04 seconds
Debug: node supports formats: b64_zlib_yaml pson raw yaml; using pson
Debug: Using cached certificate for ca
Debug: Using cached certificate for ktn-staging-vector.mercateo.lan
Debug: Using cached certificate_revocation_list for ca
Info: Retrieving plugin
Debug: file_metadata supports formats: b64_zlib_yaml pson raw yaml; using
pson
Debug: Finishing transaction 70300399434100
Debug: catalog supports formats: b64_zlib_yaml dot pson raw yaml; using
pson
###
### Between these 2 lines is whatever takes about 8 - 10 sec.
###
Debug: Executing '/bin/rpm --version'
Debug: Executing '/bin/rpm -ql rpm'
Debug: Executing '/bin/rpm -ql rpm'
Debug: Executing '/bin/rpm --version'
Info: Caching catalog for <a host>
Debug: Caching catalog time: 1.641726 ### Catalog caching takes less than
2 sec.
[...]
So catalog caching takes less than 2 sec. but there's something else
indicated by three lines starting with "###" that takes up a big part of
the 11 sec. Can you tell me what this is or how I can find it out?
Thanks in advance,
Your help is highly appreciated,
Christian
--
You received this message because you are subscribed to the Google Groups
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-dev?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.