Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.3
    • Fix Version/s: 2.4
    • Component/s: vcld (backend)
    • Labels:
      None

      Description

      The _get_file_info in vSphere_SDK.pm seems to run slow under some circumstances. I have noticed it on a vCenter 5.0 environment. It isn't always slow. I don't know what factors affect speed.

      This subroutine is called in a few places, one of which is where the code attempts to locate existing VMs. The vcld.log output will hang for several seconds after this line appears:

      vSphere_SDK.pm:_get_file_info(2525)|searching for matching file paths: base directory path: '[DC1-960-0-I-H000-L152-VCL]', search pattern: '*.vmx'

      There may not be a solution for this. A few things to explore:

      • Check the arguments being passed to the vSphere SDK to see if there is a quicker way
      • Figure out what affects the speed (# of files, # of directories, type of storage)
      • Try different versions of the SDK to compare performance

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                acoburn Aaron Coburn
                Reporter:
                arkurth Andrew Kurth
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: