Bug 1548205
| Summary: | Very slow UI if Host has many (~64) elements (VFs or dummies or networks) | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Germano Veit Michel <gveitmic> | ||||
| Component: | ovirt-engine | Assignee: | Ales Musil <amusil> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Michael Burman <mburman> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 4.1.9 | CC: | dagur, jwoods, lsurette, mburman, Rhev-m-bugs, srevivo | ||||
| Target Milestone: | ovirt-4.3.0 | Keywords: | Performance, ZStream | ||||
| Target Release: | 4.3.0 | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | ovirt-engine-4.3.0_alpha | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | |||||||
| : | 1552025 1583579 (view as bug list) | Environment: | |||||
| Last Closed: | 2019-05-08 12:36:59 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: | 1552025, 1583579 | ||||||
| Attachments: |
|
||||||
|
Description
Germano Veit Michel
2018-02-23 00:11:59 UTC
Created attachment 1399660 [details]
vdsm hook to simulate 64 VFs
VDSM hooks to reproduce the problem
after_get_caps:
10_fakesriov # place this hook to reproduce the problem
after_hostdev_list_by_caps:
10_fakesriov # place this hook to reproduce the problem
We need to research into this, and backport to 4.2 if possible. So to sum up what I have discovered: 1) Host -> Network Interfaces This panel is slow because PatternflyListView is doing too much expensive updates too quickly. And after certain number of interfaces this updates are produced quicker than their computation is done. This leads to very rapid slow down after some point. E.g. For me it was ~128 interfaces. To prevent those issues we should disable updating every element on selection change. We could also set lower refresh rate (currently 5s) but this wouldn't help that much. IMO the best thing we could possibly do is implement differential update. Because I think that not every interface is updated in the 5 sec interval. This might be tricky to implement but will save us a lot of time later. 2) Host -> Network Interfaces -> Setup Host Networks This is pretty straightforward. I have introduced redraw problem with my LLDP patch which can be observed only with a lot a interfaces. I am working on patch that should deal with this problem. Another thing that is taking a lot of time is ordering the interface commands by name (IMO this can be disabled). That's for the initial rendering part. Once this dialog is rendered there is no further update and the dialog should be smooth. It isn't because of the problems I have mentioned in 1). The network interfaces are always redrawn in the background behind the dialog. So to solve slowdown after render in the dialog we have to solve the issues in 1). WARN: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:
[Found non-acked flags: '{'rhevm-4.2.z': '?'}', ]
For more info please contact: rhv-devops: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:
[Found non-acked flags: '{'rhevm-4.2.z': '?'}', ]
For more info please contact: rhv-devops
Verified on - 4.3.0-0.0.master.20180819104048.git932969e.el7 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, 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/RHEA-2019:1085 |