diff options
| author | Stefan Roesch <[email protected]> | 2023-12-18 15:10:52 -0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-12-29 11:58:27 -0800 |
| commit | 66790e9a735b5c42349c48881e496b6946a55c05 (patch) | |
| tree | 1d2b5102c4d320a6418f00ed22e4653b110497ba /tools/perf/scripts/python/bin | |
| parent | 4e5fa4f5eff66ac654c5f3aa1b6f94d242ccae03 (diff) | |
mm/ksm: add sysfs knobs for advisor
This adds four new knobs for the KSM advisor to influence its behaviour.
The knobs are:
- advisor_mode:
none: no advisor (default)
scan-time: scan time advisor
- advisor_max_cpu: 70 (default, cpu usage percent)
- advisor_min_pages_to_scan: 500 (default)
- advisor_max_pages_to_scan: 30000 (default)
- advisor_target_scan_time: 200 (default in seconds)
The new values will take effect on the next scan round.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Stefan Roesch <[email protected]>
Acked-by: David Hildenbrand <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Rik van Riel <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions