diff options
author | Ebru Akagunduz <ebru.akagunduz@gmail.com> | 2015-02-26 16:34:36 -0500 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2015-03-20 09:41:55 -0400 |
commit | 9ddfa69fb073081882505a4f69d3f0c344d9bcaf (patch) | |
tree | b4f3b523268b2f0fca2288ee6f259576521e73a4 | |
parent | d0724961552f2b7da89e4b822b985f3c9fd13b79 (diff) |
doc: add information about max_ptes_none
max_ptes_none specifies how many extra small pages (that are
not already mapped) can be allocated when collapsing a group
of small pages into one large page.
/sys/kernel/mm/transparent_hugepage/khugepaged/max_ptes_none
A higher value leads to use additional memory for programs.
A lower value leads to gain less thp performance. Value of
max_ptes_none can waste cpu time very little, you can
ignore it.
Signed-off-by: Ebru Akagunduz <ebru.akagunduz@gmail.com>
Reviewed-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
-rw-r--r-- | Documentation/vm/transhuge.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/vm/transhuge.txt b/Documentation/vm/transhuge.txt index 6b31cfbe2a9a..8143b9e8373d 100644 --- a/Documentation/vm/transhuge.txt +++ b/Documentation/vm/transhuge.txt | |||
@@ -159,6 +159,17 @@ for each pass: | |||
159 | 159 | ||
160 | /sys/kernel/mm/transparent_hugepage/khugepaged/full_scans | 160 | /sys/kernel/mm/transparent_hugepage/khugepaged/full_scans |
161 | 161 | ||
162 | max_ptes_none specifies how many extra small pages (that are | ||
163 | not already mapped) can be allocated when collapsing a group | ||
164 | of small pages into one large page. | ||
165 | |||
166 | /sys/kernel/mm/transparent_hugepage/khugepaged/max_ptes_none | ||
167 | |||
168 | A higher value leads to use additional memory for programs. | ||
169 | A lower value leads to gain less thp performance. Value of | ||
170 | max_ptes_none can waste cpu time very little, you can | ||
171 | ignore it. | ||
172 | |||
162 | == Boot parameter == | 173 | == Boot parameter == |
163 | 174 | ||
164 | You can change the sysfs boot time defaults of Transparent Hugepage | 175 | You can change the sysfs boot time defaults of Transparent Hugepage |