Bug 516164

Summary: RHEL 5.4 snapshot 5: ksm shows no statistics.
Product: Red Hat Enterprise Linux 5 Reporter: Wade Mealing <wmealing>
Component: kvmAssignee: Izik Eidus <ieidus>
Status: CLOSED NOTABUG QA Contact: Lawrence Lim <llim>
Severity: medium Docs Contact:
Priority: low    
Version: 5.4CC: aron.griffis, ehabkost, tao, tburke, tools-bugs, virt-maint, ykaul
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
The KSM module shipped in this release is a different version from the KSM module found on the latest upstream kernel versions. Newer features, such as exporting statistics on the /sys filesystem, that are implemented upstream are not in the version shipped in this release.
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-29 12:18:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 468301    

Description Wade Mealing 2009-08-07 05:37:18 UTC
Description of problem:

When using the ksm module, as per the LWN (http://lwn.net/Articles/328013/ ) news article, the customer believes that there should be some statistics shown for it in the /sys directory.

http://lwn.net/Articles/328013/

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

How reproducible:

Every time.

Steps to Reproduce:
1. modprobe ksm 
2. find -iname ksm*
3. wait.
  
Actual results:

No files found.

Expected results:

Tunables/statics reported as per the LWN document.

Additional info:

This problem was visible in 5.4 snap5.

Comment 3 Eduardo Habkost 2009-08-19 20:01:06 UTC
Changing component to kvm, where the ksm module is shipped.

Comment 4 Izik Eidus 2009-08-19 21:12:51 UTC
The version of ksm inside rhel 5.4 doesnt show statistics...
it is little bit diffrent version than what the mainline have
and does not have sysfs support...


Is this a really bug after all?

Comment 5 Eduardo Habkost 2009-08-19 21:18:05 UTC
(In reply to comment #4)
> 
> Is this a really bug after all?  

Not necessarily. It was reported so it can be at least documented in case the users refer to the upstream KSM guide.

Comment 6 Eduardo Habkost 2009-08-19 21:20:43 UTC
Release note added. If any revisions are required, please set the 
"requires_release_notes" flag to "?" and edit the "Release Notes" field accordingly.
All revisions will be proofread by the Engineering Content Services team.

New Contents:
The shipped version of the KSM module is a different version from the KSM module found on the latest upstream kernel versions. It doesn't have some features, such as exporting statistics on the /sys filesystem.

Comment 7 Izik Eidus 2009-08-19 22:10:23 UTC
Wade, btw if customer want to see the sharing, he can run top and see the SHR feild...

Comment 8 Wade Mealing 2009-08-20 01:29:48 UTC
Thanks Ezik,

Will relay this to them.

Comment 10 Ryan Lerch 2009-08-27 01:35:32 UTC
Release note updated. If any revisions are required, please set the 
"requires_release_notes"  flag to "?" and edit the "Release Notes" field accordingly.
All revisions will be proofread by the Engineering Content Services team.

Diffed Contents:
@@ -1 +1 @@
-The shipped version of the KSM module is a different version from the KSM module found on the latest upstream kernel versions. It doesn't have some features, such as exporting statistics on the /sys filesystem.+The KSM module shipped in this release is a different version from the KSM module found on the latest upstream kernel versions. Newer features, such as exporting statistics on the /sys filesystem, that are implemented upstream are not in the version shipped in this release.

Comment 11 Dor Laor 2009-09-29 12:18:16 UTC
So I'm closing this issue (see comment #7,8)