[
https://issues.apache.org/jira/browse/VCL-686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andy Kurth updated VCL-686:
---------------------------
Issue Type: Sub-task (was: Improvement)
Parent: VCL-774
> vSphere_SDK.pm::_get_file_info slow
> -----------------------------------
>
> Key: VCL-686
> URL: https://issues.apache.org/jira/browse/VCL-686
> Project: VCL
> Issue Type: Sub-task
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)