Bug 840114

Summary: [RFE] NUMA aware KSM support in RHEV-M
Product: Red Hat Enterprise Virtualization Manager Reporter: Karen Noel <knoel>
Component: RFEsAssignee: Dudi Maroshi <dmaroshi>
Status: CLOSED ERRATA QA Contact: Artyom <alukiano>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aburden, dfediuck, iheim, istein, jentrena, knoel, lpeer, mtessun, perfbz, pholasek, rbalakri, rgolan, sherold, tburke
Target Milestone: ovirt-3.6.0-rcKeywords: FutureFeature, Triaged
Target Release: 3.6.0Flags: sgrinber: Triaged+
Hardware: x86_64   
OS: Unspecified   
URL: http://www.ovirt.org/NumaAwareKsmSupport
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Kernel SamePage Merging (KSM) can now be configured to obey or ignore Non-Uniform Memory Access (NUMA) topology constraints in the Red Hat Enterprise Virtualization Manager. KSM can now either merge pages across the whole machine, ignoring NUMA topology, or merge pages only inside NUMA nodes while obeying the NUMA boundaries.
Story Points: ---
Clone Of: 840113 Environment:
Last Closed: 2016-03-09 20:27:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: SLA RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 743643, 840113, 852657, 947944, 949244, 977627, 1098010    
Bug Blocks: 767187, 801095, 832572    

Comment 3 Dudi Maroshi 2015-03-02 14:48:40 UTC
Following conversation with rgolan
This is the planned actions solving this RFE.

1. Use NOTT11 host (Numa capable) to enable kernels 'boolean knob /sys/kernel/mm/ksm/merge_nodes'. Test its configuration at runtime.
1.2 Design programmatic solution to config  'boolean knob /sys/kernel/mm/ksm/merge_nodes' with vdsm deploy mechanism.
2. Append 'boolean knob /sys/kernel/mm/ksm/merge_nodes' boolean constant to Ovirt Engine config mechanism.
3. Program automatic configuration of  'boolean knob /sys/kernel/mm/ksm/merge_nodes' on vdsm deploy mechanism.
4. Test automatic configuration of  'boolean knob /sys/kernel/mm/ksm/merge_nodes' on vdsm deploy mechanism.
5. Program a unit test for  'boolean knob /sys/kernel/mm/ksm/merge_nodes'  effective install.

Please comment.

Comment 4 Roy Golan 2015-03-03 08:13:13 UTC
- an /etc/modprobe.d/ovirt-ksm.conf should be
created if not already exist (maybe under different name) instead of altering /proc at runtime as the host-deploy is rebooting the host.

- special care for oVirt Node - by design oVirt Node config is stateless so need to make sure that is persisted - consult with Fabian Deutsch fdeutsch

Comment 7 Max Kovgan 2015-06-28 14:12:56 UTC
ovirt-3.6.0-3 release

Comment 8 Artyom 2015-09-06 12:01:36 UTC
Verified on rhevm-3.6.0-0.12.master.el6.noarch According to polarion plan https://polarion.engineering.redhat.com/polarion/#/project/RHEVM3/testrun?id=3%5F6%5FSLA%5FNuma%5FAware%5FKsm%5FSupport%5Frun

Comment 10 errata-xmlrpc 2016-03-09 20:27:09 UTC
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://rhn.redhat.com/errata/RHEA-2016-0376.html