sysfs-kernel-mm-ksm 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. What: /sys/kernel/mm/ksm
  2. Date: September 2009
  3. KernelVersion: 2.6.32
  4. Contact: Linux memory management mailing list <linux-mm@kvack.org>
  5. Description: Interface for Kernel Samepage Merging (KSM)
  6. What: /sys/kernel/mm/ksm/full_scans
  7. What: /sys/kernel/mm/ksm/pages_shared
  8. What: /sys/kernel/mm/ksm/pages_sharing
  9. What: /sys/kernel/mm/ksm/pages_to_scan
  10. What: /sys/kernel/mm/ksm/pages_unshared
  11. What: /sys/kernel/mm/ksm/pages_volatile
  12. What: /sys/kernel/mm/ksm/run
  13. What: /sys/kernel/mm/ksm/sleep_millisecs
  14. Date: September 2009
  15. Contact: Linux memory management mailing list <linux-mm@kvack.org>
  16. Description: Kernel Samepage Merging daemon sysfs interface
  17. full_scans: how many times all mergeable areas have been
  18. scanned.
  19. pages_shared: how many shared pages are being used.
  20. pages_sharing: how many more sites are sharing them i.e. how
  21. much saved.
  22. pages_to_scan: how many present pages to scan before ksmd goes
  23. to sleep.
  24. pages_unshared: how many pages unique but repeatedly checked
  25. for merging.
  26. pages_volatile: how many pages changing too fast to be placed
  27. in a tree.
  28. run: write 0 to disable ksm, read 0 while ksm is disabled.
  29. write 1 to run ksm, read 1 while ksm is running.
  30. write 2 to disable ksm and unmerge all its pages.
  31. sleep_millisecs: how many milliseconds ksm should sleep between
  32. scans.
  33. See Documentation/vm/ksm.txt for more information.
  34. What: /sys/kernel/mm/ksm/merge_across_nodes
  35. Date: January 2013
  36. KernelVersion: 3.9
  37. Contact: Linux memory management mailing list <linux-mm@kvack.org>
  38. Description: Control merging pages across different NUMA nodes.
  39. When it is set to 0 only pages from the same node are merged,
  40. otherwise pages from all nodes can be merged together (default).