Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1430876 - [RFE] Increase supported per-manager host limit
[RFE] Increase supported per-manager host limit
Status: CLOSED ERRATA
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine (Show other bugs)
unspecified
Unspecified Unspecified
high Severity high
: ovirt-4.2.2
: ---
Assigned To: Daniel Gur
Daniel Gur
: FutureFeature, Performance
Depends On:
Blocks: 1520566
  Show dependency treegraph
 
Reported: 2017-03-09 13:44 EST by Ashton Davis
Modified: 2018-05-17 01:52 EDT (History)
22 users (show)

See Also:
Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-05-15 13:41:09 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Infra
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 3448491 None None None 2018-05-17 01:52 EDT
oVirt gerrit 77969 master ABANDONED engine: Improve HostMonitoring by using non blocking threads 2018-02-07 10:23 EST
oVirt gerrit 84184 master MERGED engine : Refactor HostMonitoring and VdsManager code 2018-02-07 04:03 EST
oVirt gerrit 84400 master MERGED engine: Make additional changes needed to use non blocking threads 2018-02-07 04:03 EST
oVirt gerrit 84401 master MERGED engine : Make Async getCapabilities calls in HostMonitoring 2018-02-07 04:03 EST
oVirt gerrit 84402 master MERGED engine : Make Async getStats calls in HostMonitoring 2018-02-07 04:03 EST
oVirt gerrit 84403 master MERGED engine : Refactor getHardwareInfo code to make easier async calls 2018-02-07 04:04 EST
oVirt gerrit 84404 master MERGED engine : Make Async getHardwareInfo calls in HostMonitoring 2018-02-07 04:04 EST
oVirt gerrit 87269 ovirt-engine-4.2 MERGED engine : Refactor HostMonitoring and VdsManager code 2018-02-08 05:11 EST
oVirt gerrit 87270 ovirt-engine-4.2 MERGED engine: Make additional changes needed to use non blocking threads 2018-02-08 05:11 EST
oVirt gerrit 87271 ovirt-engine-4.2 MERGED engine : Make Async getCapabilities calls in HostMonitoring 2018-02-08 05:11 EST
oVirt gerrit 87272 ovirt-engine-4.2 MERGED engine : Make Async getStats calls in HostMonitoring 2018-02-08 05:11 EST
oVirt gerrit 87273 ovirt-engine-4.2 MERGED engine : Refactor getHardwareInfo code to make easier async calls 2018-02-08 05:11 EST
oVirt gerrit 87274 ovirt-engine-4.2 MERGED engine : Make Async getHardwareInfo calls in HostMonitoring 2018-02-08 05:11 EST
Red Hat Product Errata RHEA-2018:1488 None None None 2018-05-15 13:42 EDT

  None (edit)
Description Ashton Davis 2017-03-09 13:44:17 EST
Description of problem:
According to our documentation [1] we only support 200 hypervisors on one RHV-M. In today's infrastructure sizes, that's a low number and should be higher. I have at least one real-world example where 200 is too low for a production deployment.

[1] https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.0/html-single/technical_reference/#Data_center_limitations

Additional info:

A limit of 400 or 500 is more reasonable (this would better match our competition - vCenter can do up to 500 hosts in a cluster).
Comment 3 Yaniv Kaul 2017-06-07 00:00:37 EDT
Roy, did we understand what were the bottlenecks QE saw, or was it in their environment?
Comment 4 Roy Golan 2017-07-05 03:25:26 EDT
After continuous profiling sessions it is clear that most of the engine effort is put on host and vms statistics collection. Even though my env is mostly with fake vms and hosts, it simulates the load on the engine without a problem. I looks like we can increase the number of hosts with no real problem, and with the help of Postgresql 9.5 which is coming in 4.2 and of course a decent drive for it, it is doable.

What I still want to do is do decrease the polling interval of the statistics to 30 seconds instead of the current 15s. This is essentially a config option change. With just a tiny effort we can leave the vms monitoring still polling the vm list on 15s just to cover gaps and to keep the system behaving as is (ahadas's advice).

Over all the cpu consumption of the engine on this big setup didn't surpass 40% and was mostly at 15%
Over all memory consumption was fluctuating between 200-1200 Mb but with frequent GC cycles (every ~30s) - most of the garbage is young objects created by monitoring code.

Supporting large number of hosts should also take into consideration the VM density. High density is usually a VDI deployment, thin VMs and this means more effort on VDSM side to monitor disk watermark - should be better by libvirt event in 4.2 as well. There is nothing preventing deploying lots of hosts with high density but we usually don't see this (cmiiw here)
Comment 5 Yaniv Kaul 2017-07-05 09:14:20 EDT
I'm fine with decreasing the polling. I wonder if we should do it by default or only to large environments. Please send an email to devel mailing list asking about the pros/cons.
Comment 6 Yaniv Lavi 2017-07-06 08:24:37 EDT
Can we please estimate the improvement from this change, so we can decide the benefit on that base?
Comment 9 Yaniv Kaul 2017-08-21 08:01:31 EDT
This bug should be moved to MODIFIED or ON_QA as soon as:
1. PG 9.5 is in. (https://gerrit.ovirt.org/#/q/status:open+project:ovirt-engine+branch:master+topic:postgres9.5 )
2. Ravi's native threads is in (https://gerrit.ovirt.org/#/q/status:merged+project:ovirt-engine+branch:master+topic:threading ) - already is.
2. Ravi's 2nd part of the series for threads is in (https://gerrit.ovirt.org/#/q/status:open+project:ovirt-engine+branch:master+topic:threading )
Comment 20 Martin Perina 2018-02-08 08:54:23 EST
Reverting changes done by automatic bots
Comment 22 Yaniv Kaul 2018-02-28 02:33:49 EST
We've completed all the work that we've intended to perform for RHV 4.2 in this RFE. We've already seen QE running with 400 hosts and we believe we can get to higher numbers with additional improvements we've had in 4.2.2. Moving to ON_QA for QE to verify.
Comment 25 Daniel Gur 2018-04-25 05:25:48 EDT
Removing Need Info as this bug is already closed. And info provided
Comment 28 errata-xmlrpc 2018-05-15 13:41:09 EDT
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-2018:1488

Note You need to log in before you can comment on or make changes to this bug.