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

Reading services on Mac is very slow

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • PUP 3.8.5, PUP 4.3.2
    • None
    • None
    • 2
    • Client 2015-12-02, Client 2015-12-16
    • Bug Fix
    • Querying service enablement status on Mac OS X is now significantly faster.

    Description

      Currently Puppet runs `plutil -convert xml1` on EVERY plist it encounters because it has no way of supporting binary plist files. This occurs even if the plist is a text file.

      Speed up reading plists so it doesn't take 30 seconds to do so. The most promising approach to this is to first try reading the plist file as text, and if that fails (which happens immediately with binary plists) pipe it through plutil.

      Measurements demonstrating that this gives significant performance improvements are attached to PUP-1455.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              michael.smith Michael Smith
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support