[ZBX-9038] VMware item processing takes a lot of time Created: 2014 Nov 13 Updated: 2024 Apr 10 Resolved: 2018 Dec 02 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Proxy (P), Server (S) |
Affects Version/s: | None |
Fix Version/s: | 4.0.3rc1, 4.2.0alpha2, 4.2 (plan) |
Type: | Problem report | Priority: | Trivial |
Reporter: | Andris Zeila | Assignee: | Michael Veksler |
Resolution: | Fixed | Votes: | 1 |
Labels: | performance, vmware | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | vmware-optimized-requests.diff | ||||||||
Issue Links: |
|
||||||||
Team: | Team A | ||||||||
Sprint: | Sprint 46, Nov 2018 | ||||||||
Story Points: | 3 |
Description |
Currently most of the data retrieved from VMware service (vCenter or Hypervisor) are stored as were received - in XML format. The parsing is done every time a poller requests value. There are two problems with it:
To fix it vmware collector must parse the data upon receiving and store already parsed values. This will speed up the value retrieval process and also reduce the shared memory requirements. Another places to improve:
|
Comments |
Comment by Andris Zeila [ 2014 Nov 28 ] |
Based on VMware support response regarding "-1" performance counter values
We should ignore -1 values and store performance counter values as unsigned 64 bit integers. |
Comment by Andris Zeila [ 2015 Feb 02 ] |
Currently we are retrieving top level properties - for example overallStatus, name, vm, summary, parent, datastore are retrieved for hypervisors. However often we really need only small subset of retrieved data. For example we aren't using summary/runtime, which is quite large. So instead of retrieving whole summary property we should specify detalized property paths: <urn:propSet> <urn:type>HostSystem</urn:type> <urn:pathSet>overallStatus</urn:pathSet> <urn:pathSet>name</urn:pathSet> <urn:pathSet>vm</urn:pathSet> <urn:pathSet>summary.quickStats</urn:pathSet> <urn:pathSet>summary.config</urn:pathSet> <urn:pathSet>summary.hardware</urn:pathSet> <urn:pathSet>parent</urn:pathSet> <urn:pathSet>datastore</urn:pathSet> </urn:propSet> wiper The largest data requests were optimized in vmware-optimized-requests.diff patch. Tests showed that the retrieved configuration data size droped from 250k to 112k (1 hypervisor, 12 virtual machines). Given the simplicity of this patch - maybe we should move it to a separate issue and apply also to 2.2 version. |
Comment by Andris Zeila [ 2016 Jan 26 ] |
Hypervisor and virtual machine property lists were introduced in While
|
Comment by Glebs Ivanovskis (Inactive) [ 2017 Dec 05 ] |
vmware.eventlog took a step in the correct direction in |
Comment by Michael Veksler [ 2018 Nov 28 ] |
Available in:
|