Bug 516164 - RHEL 5.4 snapshot 5: ksm shows no statistics.
Summary: RHEL 5.4 snapshot 5: ksm shows no statistics.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kvm
Version: 5.4
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Izik Eidus
QA Contact: Lawrence Lim
URL:
Whiteboard:
Depends On:
Blocks: RHEL5u4_relnotes
TreeView+ depends on / blocked
 
Reported: 2009-08-07 05:37 UTC by Wade Mealing
Modified: 2018-10-19 18:42 UTC (History)
7 users (show)

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.
Clone Of:
Environment:
Last Closed: 2009-09-29 12:18:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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)


Note You need to log in before you can comment on or make changes to this bug.