Skip to content

Commit

Permalink
doc: add information about max_ptes_none
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Rik van Riel <[email protected]>
Signed-off-by: Jonathan Corbet <[email protected]>
  • Loading branch information
ebruAkagunduz authored and Jonathan Corbet committed Mar 20, 2015
1 parent d072496 commit 9ddfa69
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Documentation/vm/transhuge.txt
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,17 @@ for each pass:

/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 ==

You can change the sysfs boot time defaults of Transparent Hugepage
Expand Down

0 comments on commit 9ddfa69

Please sign in to comment.