Details
-
Sub-task
-
Status: Closed
-
Minor
-
Resolution: Duplicate
-
2.3
-
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
- duplicates
-
VCL-774 _get_file_info is unnecessarily slow for vSphere provisioning
- Resolved