Details
-
Epic
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
Improve Ruby Perf
-
Coremunity
-
In Progress
-
Enhancement
-
Puppet now loads and runs faster, especially on Windows, because we've eliminated between 50-90% of file IO.
-
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.