Uploaded image for project: 'Puppet Agent'
  1. Puppet Agent
  2. PA-3732

Improve Ruby Perf

    XMLWordPrintable

    Details

    • Type: Epic
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: puppet-agent 7.7.0
    • Component/s: None
    • Labels:
    • Epic Name:
      Improve Ruby Perf
    • Template:
    • Team/s:
      Coremunity
    • Epic Status:
      In Progress
    • Release Notes:
      Enhancement
    • Release Notes Summary:
      Puppet now loads and runs faster, especially on Windows, because we've eliminated between 50-90% of file IO.
    • QA Risk Assessment:
      Needs Assessment

      Description

      Running simple puppet --version and bolt commands can take several seconds on some platforms because ruby performs unnecessary file IO. The problem is acute on Windows, because ruby's File.open and File.stat calls are much slower on Windows than Linux. This link describes some of the reasons why. And this can be seen by measuring the number of file related syscalls to run puppet --version:

      RedHat 7 ~52k
      Windows ~250k

      For this epic, we want to patch ruby , facter and puppet to reduce unnecessary file IO.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              josh Josh Cooper
              Reporter:
              josh Josh Cooper
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support