Opened 4 years ago

Last modified 4 years ago

#187 accepted

Speed up puppet

Reported by: Scott Wales Owned by: Scott Wales
Priority: trivial Component: Accessdev Server
Keywords: Cc:

Description

Puppet runs are annoyingly slow, perhaps some of this can be sped up:

  time: 
    vcsrepo: 52.220822
    service: 6.782042
    resources: 0.000167
    firewall: 0.008287
    filebucket: 0.000397
    package: 0.738574
    file: 19.4422419999999
    augeas: 1.046394
    ini_setting: 0.085322
    file_line: 0.038554
    yumrepo: 0.357354
    total: 125.003366
    config_retrieval: 16.300388
    mount: 0.01383
    exec: 27.944886
    last_run: 1430366855
    schedule: 0.001174
    postgresql_conf: 0.00034
    notify: 0.000987
    cron: 0.003765
    user: 0.001009
    host: 0.007327
    group: 0.007755
    anchor: 0.00175

Particularly checking repositories takes nearly a minute

Change History (2)

comment:1 Changed 4 years ago by Scott Wales

Owner: set to Scott Wales
Priority: majortrivial
Status: newaccepted

comment:2 Changed 4 years ago by Scott Wales

More timing info, items that take > 1s

Exec[/home/trac config set ldap/host sfldap0.anu.edu.au] 1.043154
Exec[/home/trac add /scratch/puppet.git] 1.10474
Exec[new-admin /home/trac rmb548] 1.106186
Service[denyhosts] 1.152382
Exec[/home/trac config set ldap/user_rdn ou=People] 1.225232
Exec[yum groupinstall fonts] 1.246107
Exec[/home/trac config set trac/permission_policies LDAPAuthzPolicy, DefaultPermissionPolicy, LegacyAttachmentPolicy] 1.291546
Service[rpcidmapd] 1.352713
Service[postgresqld] 1.669172
Exec[/home/trac config set ldap/basedn dc=apac,dc=edu,dc=au] 2.003196
Exec[/home/trac config set ldap/group_rdn ou=Group] 2.006735
Vcsrepo[/opt/remote-job-submission] 2.586915
Vcsrepo[/usr/local/cylc/cylc-5.4.14] 2.626473
Vcsrepo[/usr/local/rose/2014-05] 2.667509
Vcsrepo[/usr/local/rose/2015.02.0] 2.686843
Vcsrepo[/projects/access] 2.711497
Vcsrepo[/usr/local/cylc/cylc-6.3.0] 3.009551
Exec[yum groupinstall desktop-platform] 3.668508
Exec[build-trac-ldap-plugin] 4.248456
Vcsrepo[/usr/local/fcm] 4.647104
Note: See TracTickets for help on using tickets.