Bug 1408652
| Summary: | [scale][performance] Limit DWH heap size | |||
|---|---|---|---|---|
| Product: | [oVirt] ovirt-engine-dwh | Reporter: | Shirly Radco <sradco> | |
| Component: | Services | Assignee: | Shirly Radco <sradco> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Lukas Svaty <lsvaty> | |
| Severity: | high | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 4.1.0 | CC: | bugs, eberman, juan.hernandez, lsvaty, masayag, pstehlik, sradco, ylavi | |
| Target Milestone: | ovirt-4.1.0-beta | Keywords: | Performance | |
| Target Release: | 4.1.0 | Flags: | rule-engine:
ovirt-4.1+
rule-engine: planning_ack+ sradco: devel_ack+ pstehlik: testing_ack+ |
|
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: |
Cause:
Until now we did not set the Java heap size explicitly.
Consequence:
This meant that the Java virtual machine will use the default size, which may be as large as 1/4th of the total memory of the machine.
Fix:
We added DWH_HEAP_MIN and DWH_HEAP_MAX parameters to the dwh conf file and set it to 1g.
Result:
The heap size is limited to 1g, and it is configurable.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 1416427 (view as bug list) | Environment: | ||
| Last Closed: | 2017-03-16 14:49:56 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | Metrics | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | 1397833, 1405114 | |||
| Bug Blocks: | ||||
|
Description
Shirly Radco
2016-12-26 08:40:58 UTC
IF you plan to backport to 4.0.z please change the milestone as well. 4.0.6 has been the last oVirt 4.0 release, please re-target this bug. Sanity done [root ~]# ps aux -ww | grep java ovirt 8790 8.5 11.7 3093244 214004 ? Sl 15:24 0:19 ovirt-engine-dwhd -Dorg.ovirt.engine.dwh.settings=/tmp/tmpldlQmZ/settings.properties -Xms1g -Xmx1g -Xms1g -Xmx1g -classpath /usr/share/ovirt-engine-dwh/lib/*::/usr/share/java/dom4j.jar:/usr/share/java/apache-commons-collections.jar:/usr/share/java/postgresql-jdbc.jar ovirt_engine_dwh.historyetl_4_1.HistoryETL --context=Default per comment#3 and conversation with scale in other team, sanity is done moving to them System team in the end did the performence tests, this is the environment: 1. 1 DC 1 CL 1 SD(nfs) 3 rhel hosts 120VMs 2. Multiple CRED actions were executed on the setup as these are stored in dwh 3. No performence issues were found during this period nor afterwards (1 day) Keep in mind this does not inclease performence of dwh, just limit the stack to 1GB which was verified in comment#4. As all the focused components (dwh, dashboard) were working correctly during this period moving to VERIFIED. |