Bug 1435218
Summary: | [scale] - getAllVmIoTunePolicies hit the performance | ||
---|---|---|---|
Product: | [oVirt] vdsm | Reporter: | Eldad Marciano <emarcian> |
Component: | Core | Assignee: | Andrej Krejcir <akrejcir> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Ilanit Stein <istein> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | --- | CC: | akrejcir, bugs, lbopf, michal.skrivanek, stirabos |
Target Milestone: | ovirt-4.1.3 | Keywords: | Performance |
Target Release: | 4.19.16 | Flags: | rule-engine:
ovirt-4.1+
|
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | No Doc Update | |
Doc Text: |
undefined
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2017-07-06 13:31:28 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | SLA | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Eldad Marciano
2017-03-23 12:12:40 UTC
Mom executes this method once per 15 seconds. That is hardly unreasonable. MOM can't be optimized further, it needs the data and it needs them reasonably often. This can be probably improved on the vdsm/libvirt side so the method finishes faster. The feature design is problematic. VDSM has all configuration data, it doesn't need to go to libvirt for them (it's the only entity that sets them). Since mom is already using a bulk call for VM stats a trigger can be added to request iotune policies only when they actually change. I suggest to take into consideration Francesco's collectd monitoring work as well. In the short term you can increase the 15s interval I think a cache layer should indeed be in vdsm. verified on top of: vdsm-4.19.17-1.el7ev.x86_64 mom-0.5.9-1.el7ev.noarch with 500 vms. the overall CPU utilizaion @host is very stable. the response time for 'vdsm-client Host getAllVmIoTunePolicies' is in milliseconds due to the cache fix! (same response time by vdsm logs) what makes the CPU workload to be nicer and smoother. no 'TooManyTasks' were found as described https://bugzilla.redhat.com/show_bug.cgi?id=1435218#c0 moving to verified. |