Bug 1769463
Summary: | [Scale] Slow performance for api/clusters when many networks devices are present | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | mlehrer | ||||
Component: | ovirt-engine | Assignee: | eraviv | ||||
Status: | CLOSED ERRATA | QA Contact: | mlehrer | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 4.3.6 | CC: | bugs, dagur, dholler, eraviv, gveitmic, mtessun, rdlugyhe, rgolan | ||||
Target Milestone: | ovirt-4.4.0 | Keywords: | Performance | ||||
Target Release: | --- | Flags: | lsvaty:
testing_plan_complete-
|
||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | rhv-4.4.0-28 | Doc Type: | Bug Fix | ||||
Doc Text: |
Previously, in a large environment, the oVirt's REST API's response to a request for the cluster list was slow: This slowness was caused by processing a lot of surplus data from the engine database about out-of-sync hosts on the cluster which eventually was not included in the response. The current release fixes this issue. The query excludes the surplus data, and the API responds quickly.
|
Story Points: | --- | ||||
Clone Of: | Environment: | ||||||
Last Closed: | 2020-08-04 13:21:16 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | Network | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1766815 | ||||||
Attachments: |
|
Description
mlehrer
2019-11-06 16:49:09 UTC
The code introduced to address UI bug 1613702 added the expensive calculation of hosts, which are out of sync, to searchClusters(). The problem in this bug is that the searchClusters() is triggered not only by UI code, but also by REST API implementation. The fix of this bug would be to avoid the expensive calculation of hosts, which are out of sync, during GET /ovirt-engine/api/clusters. INFO: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason: [Open patch attached] For more info please contact: infra INFO: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason: [Open patch attached] For more info please contact: infra Dominik, seeing the amount of changes here I'm afraid it is unlikely that these can be back-ported to 4.3. Can you comment if there is any chance? #Env: 150 Hosts with 100 networks 4.4.0-0.31.master.el8 HE environment with 200 nested hosts of which 150 hosts have 100 networks per host. DWH separated and JVM set to 4G with engine set with with 200 pool connections / 250 db connections. # /usr/share/ovirt-engine/dbscripts/engine-psql.sh -c ""SELECT count(*) from vds_interface_view"" count ------- 15825 (1 row)" Cluster API: ovirt-engine/api/clusters takes 0.4s previously this took minutes. Response time and engine resources used in acceptable range. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: RHV Manager (ovirt-engine) 4.4 security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:3247 |