Andy Kurth created VCL-686:
------------------------------
Summary: vSphere_SDK.pm::_get_file_info slow
Key: VCL-686
URL: https://issues.apache.org/jira/browse/VCL-686
Project: VCL
Issue Type: Improvement
Components: vcld (backend)
Affects Versions: 2.3
Reporter: Andy Kurth
Priority: Minor
Fix For: 2.4
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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira