ksm.rst (41c177cf354126a22443b5c80cec9fdd313e67e1) | ksm.rst (da51bbcdbace8f43adf6066934c3926b656376e5) |
---|---|
1======================= 2Kernel Samepage Merging 3======================= 4 5Overview 6======== 7 8KSM is a memory-saving de-duplication feature, enabled by CONFIG_KSM=y, --- 294 unchanged lines hidden (view full) --- 303scan-time. With none, no advisor is enabled. The default is none. 304 305The scan time advisor changes the ``pages_to_scan`` parameter based on the 306observed scan times. The possible values for the ``pages_to_scan`` parameter is 307limited by the ``advisor_max_cpu`` parameter. In addition there is also the 308``advisor_target_scan_time`` parameter. This parameter sets the target time to 309scan all the KSM candidate pages. The parameter ``advisor_target_scan_time`` 310decides how aggressive the scan time advisor scans candidate pages. Lower | 1======================= 2Kernel Samepage Merging 3======================= 4 5Overview 6======== 7 8KSM is a memory-saving de-duplication feature, enabled by CONFIG_KSM=y, --- 294 unchanged lines hidden (view full) --- 303scan-time. With none, no advisor is enabled. The default is none. 304 305The scan time advisor changes the ``pages_to_scan`` parameter based on the 306observed scan times. The possible values for the ``pages_to_scan`` parameter is 307limited by the ``advisor_max_cpu`` parameter. In addition there is also the 308``advisor_target_scan_time`` parameter. This parameter sets the target time to 309scan all the KSM candidate pages. The parameter ``advisor_target_scan_time`` 310decides how aggressive the scan time advisor scans candidate pages. Lower |
311values make the scan time advisor to scan more aggresively. This is the most | 311values make the scan time advisor to scan more aggressively. This is the most |
312important parameter for the configuration of the scan time advisor. 313 314The initial value and the maximum value can be changed with 315``advisor_min_pages_to_scan`` and ``advisor_max_pages_to_scan``. The default 316values are sufficient for most workloads and use cases. 317 318The ``pages_to_scan`` parameter is re-calculated after a scan has been completed. 319 320 321-- 322Izik Eidus, 323Hugh Dickins, 17 Nov 2009 | 312important parameter for the configuration of the scan time advisor. 313 314The initial value and the maximum value can be changed with 315``advisor_min_pages_to_scan`` and ``advisor_max_pages_to_scan``. The default 316values are sufficient for most workloads and use cases. 317 318The ``pages_to_scan`` parameter is re-calculated after a scan has been completed. 319 320 321-- 322Izik Eidus, 323Hugh Dickins, 17 Nov 2009 |