Bug 1284473

Summary: RFE: [Director] [OOB] KSM Is not enabled by default on overcloud deployment
Product: Red Hat OpenStack Reporter: Udi Shkalim <ushkalim>
Component: rhosp-directorAssignee: Hugh Brock <hbrock>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Udi Shkalim <ushkalim>
Severity: high Docs Contact:
Priority: unspecified    
Version: 8.0 (Liberty)CC: jcoufal, mburns, pablo.iranzo, rhel-osp-director-maint
Target Milestone: ---Keywords: FutureFeature, Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-15 18:42:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Udi Shkalim 2015-11-23 12:35:42 UTC
Description of problem:
KSM is not enabled by default on overcloud nodes

Version-Release number of selected component (if applicable):
osp director 8

How reproducible:

Steps to Reproduce:
On a deployed overcloud run the following commands 
1. cat /sys/kernel/mm/ksm/run
2. grep -H '' /sys/kernel/mm/ksm/pages_*
3. systemctl status ksm

Actual results:

# cat /sys/kernel/mm/ksm/run
# grep -H '' /sys/kernel/mm/ksm/pages_*
# systemctl status ksm
● ksm.service - Kernel Samepage Merging
   Loaded: loaded (/usr/lib/systemd/system/ksm.service; enabled; vendor preset: enabled)
   Active: active (exited) since Fri 2015-11-20 12:43:50 EST; 2 days ago
 Main PID: 823 (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/ksm.service

Expected results:

[root@overcloud-controller-2 keystone]# cat /sys/kernel/mm/ksm/run
[root@overcloud-controller-2 keystone]# grep -H '' /sys/kernel/mm/ksm/pages_*

non-zero values

Additional info:

Comment 2 Mike Burns 2016-04-07 20:57:01 UTC
This bug did not make the OSP 8.0 release.  It is being deferred to OSP 10.

Comment 3 Jaromir Coufal 2016-09-30 08:10:06 UTC
Why is this needed? What is the impact for a user?

Comment 4 Jaromir Coufal 2017-01-15 18:42:01 UTC
Not enough info. Please re-open if still valid or needed.