-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 356583 b: refs/heads/master c: f00dc0e h: refs/heads/master i: 356581: 6480b74 356579: 0194d63 356575: d7d0fcf v: v3
- Loading branch information
Petr Holasek
authored and
Linus Torvalds
committed
Feb 24, 2013
1 parent
abedfe1
commit 871769a
Showing
2 changed files
with
53 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 90bd6fd31c8097ee4ddcb74b7e08363134863de5 | ||
refs/heads/master: f00dc0ee5a8e7fd513b05a2446c26be203c05004 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
What: /sys/kernel/mm/ksm | ||
Date: September 2009 | ||
KernelVersion: 2.6.32 | ||
Contact: Linux memory management mailing list <linux-mm@kvack.org> | ||
Description: Interface for Kernel Samepage Merging (KSM) | ||
|
||
What: /sys/kernel/mm/ksm/full_scans | ||
What: /sys/kernel/mm/ksm/pages_shared | ||
What: /sys/kernel/mm/ksm/pages_sharing | ||
What: /sys/kernel/mm/ksm/pages_to_scan | ||
What: /sys/kernel/mm/ksm/pages_unshared | ||
What: /sys/kernel/mm/ksm/pages_volatile | ||
What: /sys/kernel/mm/ksm/run | ||
What: /sys/kernel/mm/ksm/sleep_millisecs | ||
Date: September 2009 | ||
Contact: Linux memory management mailing list <linux-mm@kvack.org> | ||
Description: Kernel Samepage Merging daemon sysfs interface | ||
|
||
full_scans: how many times all mergeable areas have been | ||
scanned. | ||
|
||
pages_shared: how many shared pages are being used. | ||
|
||
pages_sharing: how many more sites are sharing them i.e. how | ||
much saved. | ||
|
||
pages_to_scan: how many present pages to scan before ksmd goes | ||
to sleep. | ||
|
||
pages_unshared: how many pages unique but repeatedly checked | ||
for merging. | ||
|
||
pages_volatile: how many pages changing too fast to be placed | ||
in a tree. | ||
|
||
run: write 0 to disable ksm, read 0 while ksm is disabled. | ||
write 1 to run ksm, read 1 while ksm is running. | ||
write 2 to disable ksm and unmerge all its pages. | ||
|
||
sleep_millisecs: how many milliseconds ksm should sleep between | ||
scans. | ||
|
||
See Documentation/vm/ksm.txt for more information. | ||
|
||
What: /sys/kernel/mm/ksm/merge_across_nodes | ||
Date: January 2013 | ||
KernelVersion: 3.9 | ||
Contact: Linux memory management mailing list <linux-mm@kvack.org> | ||
Description: Control merging pages across different NUMA nodes. | ||
|
||
When it is set to 0 only pages from the same node are merged, | ||
otherwise pages from all nodes can be merged together (default). |