mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 10:57:46 +00:00
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>
This commit is contained in:
parent
d072496155
commit
9ddfa69fb0
1 changed files with 11 additions and 0 deletions
|
@ -159,6 +159,17 @@ for each pass:
|
||||||
|
|
||||||
/sys/kernel/mm/transparent_hugepage/khugepaged/full_scans
|
/sys/kernel/mm/transparent_hugepage/khugepaged/full_scans
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
== Boot parameter ==
|
== Boot parameter ==
|
||||||
|
|
||||||
You can change the sysfs boot time defaults of Transparent Hugepage
|
You can change the sysfs boot time defaults of Transparent Hugepage
|
||||||
|
|
Loading…
Reference in a new issue