* [PATCH] thp: 'transparent_hugepage=' can also be specified on cmdline
@ 2012-02-22 16:13 ` Jiri Kosina
0 siblings, 0 replies; 6+ messages in thread
From: Jiri Kosina @ 2012-02-22 16:13 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-mm, linux-kernel, Andrea Arcangeli, Mel Gorman
Behavior of THP can either be toggled through sysfs in runtime or using a
kernel cmdline parameter 'transparent_hugepage='. Document the latter.
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
---
Documentation/kernel-parameters.txt | 7 +++++++
Documentation/vm/transhuge.txt | 3 +++
2 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index 033d4e6..a4de9b9 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -2629,6 +2629,13 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
to facilitate early boot debugging.
See also Documentation/trace/events.txt
+ transparent_hugepage=
+ [KNL]
+ Format: [always|madvise|never]
+ Can be used to control the default behavior of the system
+ with respect to transparent hugepages.
+ See Documentation/vm/transhuge.txt for more details.
+
tsc= Disable clocksource stability checks for TSC.
Format: <string>
[x86] reliable: mark tsc clocksource as reliable, this
diff --git a/Documentation/vm/transhuge.txt b/Documentation/vm/transhuge.txt
index 29bdf62..4a3816d 100644
--- a/Documentation/vm/transhuge.txt
+++ b/Documentation/vm/transhuge.txt
@@ -103,6 +103,9 @@ echo always >/sys/kernel/mm/transparent_hugepage/enabled
echo madvise >/sys/kernel/mm/transparent_hugepage/enabled
echo never >/sys/kernel/mm/transparent_hugepage/enabled
+The always/madvise/never value can also be specified on the kernel boot
+commandline using 'transparent_hugepage=' parameter.
+
It's also possible to limit defrag efforts in the VM to generate
hugepages in case they're not immediately free to madvise regions or
to never try to defrag memory and simply fallback to regular pages
--
1.7.3.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH] thp: 'transparent_hugepage=' can also be specified on cmdline
@ 2012-02-22 16:13 ` Jiri Kosina
0 siblings, 0 replies; 6+ messages in thread
From: Jiri Kosina @ 2012-02-22 16:13 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-mm, linux-kernel, Andrea Arcangeli, Mel Gorman
Behavior of THP can either be toggled through sysfs in runtime or using a
kernel cmdline parameter 'transparent_hugepage='. Document the latter.
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
---
Documentation/kernel-parameters.txt | 7 +++++++
Documentation/vm/transhuge.txt | 3 +++
2 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index 033d4e6..a4de9b9 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -2629,6 +2629,13 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
to facilitate early boot debugging.
See also Documentation/trace/events.txt
+ transparent_hugepage=
+ [KNL]
+ Format: [always|madvise|never]
+ Can be used to control the default behavior of the system
+ with respect to transparent hugepages.
+ See Documentation/vm/transhuge.txt for more details.
+
tsc= Disable clocksource stability checks for TSC.
Format: <string>
[x86] reliable: mark tsc clocksource as reliable, this
diff --git a/Documentation/vm/transhuge.txt b/Documentation/vm/transhuge.txt
index 29bdf62..4a3816d 100644
--- a/Documentation/vm/transhuge.txt
+++ b/Documentation/vm/transhuge.txt
@@ -103,6 +103,9 @@ echo always >/sys/kernel/mm/transparent_hugepage/enabled
echo madvise >/sys/kernel/mm/transparent_hugepage/enabled
echo never >/sys/kernel/mm/transparent_hugepage/enabled
+The always/madvise/never value can also be specified on the kernel boot
+commandline using 'transparent_hugepage=' parameter.
+
It's also possible to limit defrag efforts in the VM to generate
hugepages in case they're not immediately free to madvise regions or
to never try to defrag memory and simply fallback to regular pages
--
1.7.3.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/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
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] thp: 'transparent_hugepage=' can also be specified on cmdline
2012-02-22 16:13 ` Jiri Kosina
@ 2012-02-22 17:03 ` Andrea Arcangeli
-1 siblings, 0 replies; 6+ messages in thread
From: Andrea Arcangeli @ 2012-02-22 17:03 UTC (permalink / raw)
To: Jiri Kosina; +Cc: Andrew Morton, linux-mm, linux-kernel, Mel Gorman
On Wed, Feb 22, 2012 at 05:13:04PM +0100, Jiri Kosina wrote:
> Behavior of THP can either be toggled through sysfs in runtime or using a
> kernel cmdline parameter 'transparent_hugepage='. Document the latter.
>
> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
> ---
> Documentation/kernel-parameters.txt | 7 +++++++
> Documentation/vm/transhuge.txt | 3 +++
> 2 files changed, 10 insertions(+), 0 deletions(-)
>
> diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
> index 033d4e6..a4de9b9 100644
> --- a/Documentation/kernel-parameters.txt
> +++ b/Documentation/kernel-parameters.txt
> @@ -2629,6 +2629,13 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
> to facilitate early boot debugging.
> See also Documentation/trace/events.txt
>
> + transparent_hugepage=
> + [KNL]
> + Format: [always|madvise|never]
> + Can be used to control the default behavior of the system
> + with respect to transparent hugepages.
> + See Documentation/vm/transhuge.txt for more details.
> +
> tsc= Disable clocksource stability checks for TSC.
> Format: <string>
> [x86] reliable: mark tsc clocksource as reliable, this
Ok.
> diff --git a/Documentation/vm/transhuge.txt b/Documentation/vm/transhuge.txt
> index 29bdf62..4a3816d 100644
> --- a/Documentation/vm/transhuge.txt
> +++ b/Documentation/vm/transhuge.txt
> @@ -103,6 +103,9 @@ echo always >/sys/kernel/mm/transparent_hugepage/enabled
> echo madvise >/sys/kernel/mm/transparent_hugepage/enabled
> echo never >/sys/kernel/mm/transparent_hugepage/enabled
>
> +The always/madvise/never value can also be specified on the kernel boot
> +commandline using 'transparent_hugepage=' parameter.
> +
> It's also possible to limit defrag efforts in the VM to generate
This is a dup.
== Boot parameter ==
You can change the sysfs boot time defaults of Transparent Hugepage
Support by passing the parameter "transparent_hugepage=always" or
"transparent_hugepage=madvise" or "transparent_hugepage=never"
(without "") to the kernel command line.
> hugepages in case they're not immediately free to madvise regions or
> to never try to defrag memory and simply fallback to regular pages
> --
> 1.7.3.1
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] thp: 'transparent_hugepage=' can also be specified on cmdline
@ 2012-02-22 17:03 ` Andrea Arcangeli
0 siblings, 0 replies; 6+ messages in thread
From: Andrea Arcangeli @ 2012-02-22 17:03 UTC (permalink / raw)
To: Jiri Kosina; +Cc: Andrew Morton, linux-mm, linux-kernel, Mel Gorman
On Wed, Feb 22, 2012 at 05:13:04PM +0100, Jiri Kosina wrote:
> Behavior of THP can either be toggled through sysfs in runtime or using a
> kernel cmdline parameter 'transparent_hugepage='. Document the latter.
>
> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
> ---
> Documentation/kernel-parameters.txt | 7 +++++++
> Documentation/vm/transhuge.txt | 3 +++
> 2 files changed, 10 insertions(+), 0 deletions(-)
>
> diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
> index 033d4e6..a4de9b9 100644
> --- a/Documentation/kernel-parameters.txt
> +++ b/Documentation/kernel-parameters.txt
> @@ -2629,6 +2629,13 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
> to facilitate early boot debugging.
> See also Documentation/trace/events.txt
>
> + transparent_hugepage=
> + [KNL]
> + Format: [always|madvise|never]
> + Can be used to control the default behavior of the system
> + with respect to transparent hugepages.
> + See Documentation/vm/transhuge.txt for more details.
> +
> tsc= Disable clocksource stability checks for TSC.
> Format: <string>
> [x86] reliable: mark tsc clocksource as reliable, this
Ok.
> diff --git a/Documentation/vm/transhuge.txt b/Documentation/vm/transhuge.txt
> index 29bdf62..4a3816d 100644
> --- a/Documentation/vm/transhuge.txt
> +++ b/Documentation/vm/transhuge.txt
> @@ -103,6 +103,9 @@ echo always >/sys/kernel/mm/transparent_hugepage/enabled
> echo madvise >/sys/kernel/mm/transparent_hugepage/enabled
> echo never >/sys/kernel/mm/transparent_hugepage/enabled
>
> +The always/madvise/never value can also be specified on the kernel boot
> +commandline using 'transparent_hugepage=' parameter.
> +
> It's also possible to limit defrag efforts in the VM to generate
This is a dup.
== Boot parameter ==
You can change the sysfs boot time defaults of Transparent Hugepage
Support by passing the parameter "transparent_hugepage=always" or
"transparent_hugepage=madvise" or "transparent_hugepage=never"
(without "") to the kernel command line.
> hugepages in case they're not immediately free to madvise regions or
> to never try to defrag memory and simply fallback to regular pages
> --
> 1.7.3.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/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] thp: 'transparent_hugepage=' can also be specified on cmdline
2012-02-22 17:03 ` Andrea Arcangeli
@ 2012-02-22 17:12 ` Jiri Kosina
-1 siblings, 0 replies; 6+ messages in thread
From: Jiri Kosina @ 2012-02-22 17:12 UTC (permalink / raw)
To: Andrea Arcangeli, Andrew Morton; +Cc: linux-mm, linux-kernel, Mel Gorman
On Wed, 22 Feb 2012, Andrea Arcangeli wrote:
> > diff --git a/Documentation/vm/transhuge.txt b/Documentation/vm/transhuge.txt
> > index 29bdf62..4a3816d 100644
> > --- a/Documentation/vm/transhuge.txt
> > +++ b/Documentation/vm/transhuge.txt
> > @@ -103,6 +103,9 @@ echo always >/sys/kernel/mm/transparent_hugepage/enabled
> > echo madvise >/sys/kernel/mm/transparent_hugepage/enabled
> > echo never >/sys/kernel/mm/transparent_hugepage/enabled
> >
> > +The always/madvise/never value can also be specified on the kernel boot
> > +commandline using 'transparent_hugepage=' parameter.
> > +
> > It's also possible to limit defrag efforts in the VM to generate
>
> This is a dup.
I am blind and you are right.
v2 below. Thanks.
From: Jiri Kosina <jkosina@suse.cz>
Subject: [PATCH] thp: 'transparent_hugepage=' can also be specified on cmdline
Behavior of THP can either be toggled through sysfs in runtime or using a
kernel cmdline parameter 'transparent_hugepage='. Document the latter in
kernel-parameters.txt
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
---
Documentation/kernel-parameters.txt | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index 033d4e6..a4de9b9 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -2629,6 +2629,13 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
to facilitate early boot debugging.
See also Documentation/trace/events.txt
+ transparent_hugepage=
+ [KNL]
+ Format: [always|madvise|never]
+ Can be used to control the default behavior of the system
+ with respect to transparent hugepages.
+ See Documentation/vm/transhuge.txt for more details.
+
tsc= Disable clocksource stability checks for TSC.
Format: <string>
[x86] reliable: mark tsc clocksource as reliable, this
--
Jiri Kosina
SUSE Labs
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] thp: 'transparent_hugepage=' can also be specified on cmdline
@ 2012-02-22 17:12 ` Jiri Kosina
0 siblings, 0 replies; 6+ messages in thread
From: Jiri Kosina @ 2012-02-22 17:12 UTC (permalink / raw)
To: Andrea Arcangeli, Andrew Morton; +Cc: linux-mm, linux-kernel, Mel Gorman
On Wed, 22 Feb 2012, Andrea Arcangeli wrote:
> > diff --git a/Documentation/vm/transhuge.txt b/Documentation/vm/transhuge.txt
> > index 29bdf62..4a3816d 100644
> > --- a/Documentation/vm/transhuge.txt
> > +++ b/Documentation/vm/transhuge.txt
> > @@ -103,6 +103,9 @@ echo always >/sys/kernel/mm/transparent_hugepage/enabled
> > echo madvise >/sys/kernel/mm/transparent_hugepage/enabled
> > echo never >/sys/kernel/mm/transparent_hugepage/enabled
> >
> > +The always/madvise/never value can also be specified on the kernel boot
> > +commandline using 'transparent_hugepage=' parameter.
> > +
> > It's also possible to limit defrag efforts in the VM to generate
>
> This is a dup.
I am blind and you are right.
v2 below. Thanks.
From: Jiri Kosina <jkosina@suse.cz>
Subject: [PATCH] thp: 'transparent_hugepage=' can also be specified on cmdline
Behavior of THP can either be toggled through sysfs in runtime or using a
kernel cmdline parameter 'transparent_hugepage='. Document the latter in
kernel-parameters.txt
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
---
Documentation/kernel-parameters.txt | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index 033d4e6..a4de9b9 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -2629,6 +2629,13 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
to facilitate early boot debugging.
See also Documentation/trace/events.txt
+ transparent_hugepage=
+ [KNL]
+ Format: [always|madvise|never]
+ Can be used to control the default behavior of the system
+ with respect to transparent hugepages.
+ See Documentation/vm/transhuge.txt for more details.
+
tsc= Disable clocksource stability checks for TSC.
Format: <string>
[x86] reliable: mark tsc clocksource as reliable, this
--
Jiri Kosina
SUSE Labs
--
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/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-02-22 17:12 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-22 16:13 [PATCH] thp: 'transparent_hugepage=' can also be specified on cmdline Jiri Kosina
2012-02-22 16:13 ` Jiri Kosina
2012-02-22 17:03 ` Andrea Arcangeli
2012-02-22 17:03 ` Andrea Arcangeli
2012-02-22 17:12 ` Jiri Kosina
2012-02-22 17:12 ` Jiri Kosina
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.