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

Selmodule provider fetch loaded modules performance

    XMLWordPrintable

    Details

    • Template:
    • Team:
      Night's Watch
    • Story Points:
      1
    • Sprint:
      NW - 2020-03-17, NW - 2020-04-01
    • Release Notes:
      Enhancement
    • Release Notes Summary:
      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.
    • QA Risk Assessment:
      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

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

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support