Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-10313

Selmodule provider fetch loaded modules performance

    XMLWordPrintable

Details

    • Night's Watch
    • 1
    • NW - 2020-03-17, NW - 2020-04-01
    • Enhancement
    • Hide
      Improved performance on the selmodule provider
      The `selmodule` provider was calling `/usr/sbin/semodule —list` one or twice per resource. This results in a heavy duplication of effort and increased apply time.
      Thanks https://github.com/montaguethomas for for implementing a cache which improves the performance.
      Show
      Improved performance on the selmodule provider The `selmodule` provider was calling `/usr/sbin/semodule —list` one or twice per resource. This results in a heavy duplication of effort and increased apply time. Thanks https://github.com/montaguethomas for for implementing a cache which improves the performance.
    • Needs Assessment

    Description

      Creating PUP ticket for MODULES-7319.

      The selmodule provider ends up calling /usr/sbin/semodule --list one or twice per resource. This results in a heavy duplication of effort and increased apply time. By implementing a cache, apply times drop 50% or more.

      Attachments

        Issue Links

          Activity

            People

              montague.thomas Thomas Montague
              montague.thomas Thomas Montague
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support