All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] doc: add information about max_ptes_none
@ 2015-02-26 21:34 ` Ebru Akagunduz
  0 siblings, 0 replies; 6+ messages in thread
From: Ebru Akagunduz @ 2015-02-26 21:34 UTC (permalink / raw)
  To: linux-mm
  Cc: riel, mgorman, hughd, kirill.shutemov, akpm, dave, aulmcquad,
	sasha.levin, xemul, linux-kernel, Ebru Akagunduz

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>
---
 Documentation/vm/transhuge.txt | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/Documentation/vm/transhuge.txt b/Documentation/vm/transhuge.txt
index 6b31cfb..8143b9e 100644
--- a/Documentation/vm/transhuge.txt
+++ b/Documentation/vm/transhuge.txt
@@ -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
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH] doc: add information about max_ptes_none
@ 2015-02-26 21:34 ` Ebru Akagunduz
  0 siblings, 0 replies; 6+ messages in thread
From: Ebru Akagunduz @ 2015-02-26 21:34 UTC (permalink / raw)
  To: linux-mm
  Cc: riel, mgorman, hughd, kirill.shutemov, akpm, dave, aulmcquad,
	sasha.levin, xemul, linux-kernel, Ebru Akagunduz

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>
---
 Documentation/vm/transhuge.txt | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/Documentation/vm/transhuge.txt b/Documentation/vm/transhuge.txt
index 6b31cfb..8143b9e 100644
--- a/Documentation/vm/transhuge.txt
+++ b/Documentation/vm/transhuge.txt
@@ -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
-- 
1.9.1

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] doc: add information about max_ptes_none
  2015-02-26 21:34 ` Ebru Akagunduz
@ 2015-02-27 22:14   ` Jonathan Corbet
  -1 siblings, 0 replies; 6+ messages in thread
From: Jonathan Corbet @ 2015-02-27 22:14 UTC (permalink / raw)
  To: Ebru Akagunduz
  Cc: linux-mm, riel, mgorman, hughd, kirill.shutemov, akpm, dave,
	aulmcquad, sasha.levin, xemul, linux-kernel

On Thu, 26 Feb 2015 23:34:36 +0200
Ebru Akagunduz <ebru.akagunduz@gmail.com> wrote:

> 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.

Applied to the docs tree, thanks.

jon

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] doc: add information about max_ptes_none
@ 2015-02-27 22:14   ` Jonathan Corbet
  0 siblings, 0 replies; 6+ messages in thread
From: Jonathan Corbet @ 2015-02-27 22:14 UTC (permalink / raw)
  To: Ebru Akagunduz
  Cc: linux-mm, riel, mgorman, hughd, kirill.shutemov, akpm, dave,
	aulmcquad, sasha.levin, xemul, linux-kernel

On Thu, 26 Feb 2015 23:34:36 +0200
Ebru Akagunduz <ebru.akagunduz@gmail.com> wrote:

> 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.

Applied to the docs tree, thanks.

jon

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] doc: add information about max_ptes_none
  2015-02-27 22:14   ` Jonathan Corbet
@ 2015-03-02 12:56     ` Sasha Levin
  -1 siblings, 0 replies; 6+ messages in thread
From: Sasha Levin @ 2015-03-02 12:56 UTC (permalink / raw)
  To: Jonathan Corbet, Ebru Akagunduz
  Cc: linux-mm, riel, mgorman, hughd, kirill.shutemov, akpm, dave,
	aulmcquad, xemul, linux-kernel

On 02/27/2015 05:14 PM, Jonathan Corbet wrote:
>> Value of max_ptes_none can waste cpu time very little, you can
>> ignore it.

This phrase could use rewording I think.


Thanks,
Sasha

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] doc: add information about max_ptes_none
@ 2015-03-02 12:56     ` Sasha Levin
  0 siblings, 0 replies; 6+ messages in thread
From: Sasha Levin @ 2015-03-02 12:56 UTC (permalink / raw)
  To: Jonathan Corbet, Ebru Akagunduz
  Cc: linux-mm, riel, mgorman, hughd, kirill.shutemov, akpm, dave,
	aulmcquad, xemul, linux-kernel

On 02/27/2015 05:14 PM, Jonathan Corbet wrote:
>> Value of max_ptes_none can waste cpu time very little, you can
>> ignore it.

This phrase could use rewording I think.


Thanks,
Sasha

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-03-02 13:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-26 21:34 [PATCH] doc: add information about max_ptes_none Ebru Akagunduz
2015-02-26 21:34 ` Ebru Akagunduz
2015-02-27 22:14 ` Jonathan Corbet
2015-02-27 22:14   ` Jonathan Corbet
2015-03-02 12:56   ` Sasha Levin
2015-03-02 12:56     ` Sasha Levin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.