Bug 1343109
| Summary: | Memory Page sharing does not work if Datacenter & Cluster compatibility is 3.5 in a RHEV 3.6 Environment. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Koutuk Shukla <kshukla> | ||||
| Component: | ovirt-engine | Assignee: | Roy Golan <rgolan> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | meital avital <mavital> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 3.6.6 | CC: | dfediuck, gklein, kshukla, lsurette, mgoldboi, michal.skrivanek, rbalakri, rgolan, Rhev-m-bugs, srevivo, ykaul | ||||
| Target Milestone: | ovirt-3.6.8 | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2016-06-29 11:36:11 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: | |||||||
| Attachments: |
|
||||||
|
Description
Koutuk Shukla
2016-06-06 14:14:25 UTC
This is supported for 3.5 cluster. What happens most probably is that we didn't switched ksm on because the machine isn't under pressure. Enabling ksm incur some overhead so we chose to do it on demand.
Please supply mom.log vdsm.log and engine.log
Also, here is a snip from doc/ksm.rules:
# Methodology: Since running KSM does incur some overhead, try to run it only
# when necessary. If the amount of committed KSM shareable memory is high or if
# free memory is low, enable KSM to try to increase free memory. Large memory
# machines should scan more often than small ones. Likewise, machines under
# memory pressure should scan more aggressively then more idle machines.
(defvar ksm_pressure_threshold (* Host.mem_available ksm_free_percent))
(defvar ksm_committed Host.ksm_shareable)
(if (and (< (+ ksm_pressure_threshold ksm_committed) Host.mem_available)
(> (Host.StatAvg "mem_free") ksm_pressure_threshold))
(Host.Control "ksm_run" 0)
Created attachment 1166217 [details]
mom.log vdsm.log and engine.log attached.
Hello,
engine.log from rhevm server attached.
mom.log and vdsm.log from Host sidat-nodo1 attached.
File vdsm.log.27.xz -- We can se MOM policy related logs.
Thanks,
Koutuk Shukla
*** This bug has been marked as a duplicate of bug 1339126 *** (In reply to Martin Sivák from comment #3) > > *** This bug has been marked as a duplicate of bug 1339126 *** Hello Martin, Looking at the Description of bug 1339126. It seems this was raised for removing the error " ERROR - Policy error: undefined symbol ksmMergeAcrossNodes" in /var/log/vdsm/mom.log. I have already asked Customer to follow the below workaround to remove the above errors in /var/log/vdsm/mom.log. -- add the following to 00-defines.policy (defvar ksmMergeAcrossNodes 0) (defvar ioTuneEnabled 0) Does this workaround resolve the issue raised in this bug 1343109 ? ( Of Memory page sharing not working with RHEL/RHEV-H 6 host in RHEVM 3.6 with DC and Cluster Compatibility 3.5 ) Please clarify. Thanks, Koutuk Shukla |