Skip to contentSkip to conversation

doc: Document the relax_domain_level kernel boot argument

PATCH In review Paul Jackson 4 participants 8 messages Jun 30, 2008 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: Document the relax_domain_level kernel boot argument

From: Paul Jackson <[email protected]>

Document the kernel boot parameter: relax_domain_level=.

---
 Documentation/cpusets.txt           |    3 +++
 Documentation/kernel-parameters.txt |    4 ++++
 2 files changed, 7 insertions(+)
Documentation/cpusets.txt +3 -0
@@ -546,6 +546,9 @@ otherwise initial value -1 that indicate
  ( 4  : search nodes in a chunk of node [on NUMA system] )
  ( 5~ : search system wide [on NUMA system])
 
+The system default is 0 (no search).  The system default can be
+changed using the relax_domain_level= boot parameter.
+
 This file is per-cpuset and affect the sched domain where the cpuset
 belongs to.  Therefore if the flag 'sched_load_balance' of a cpuset
 is disabled, then 'sched_relax_domain_level' have no effect since
Documentation/kernel-parameters.txt +4 -0
@@ -1732,6 +1732,10 @@ and is between 256 and 4096 characters. 
 			Format: <reboot_mode>[,<reboot_mode2>[,...]]
 			See arch/*/kernel/reboot.c or arch/*/kernel/process.c			
 
+	relax_domain_level=
+			[KNL, SMP] Set schedulers default relax_domain_level.
+			See Documentation/cpusets.txt.
+
 	reserve=	[KNL,BUGS] Force the kernel to ignore some iomem area
 
 	reservetop=	[X86-32]
Signature · 3 lines
                          I won't rest till it's the best ...
                          Programmer, Linux Scalability
                          Paul Jackson <[email protected]> 1.650.933.1373
Reviewed-by on v1 1/1
#1 lore raw
Quoted 26 lines · Paul Jackson

From: Paul Jackson <[email protected]>

Document the kernel boot parameter: relax_domain_level=.

---
 Documentation/cpusets.txt           |    3 +++
 Documentation/kernel-parameters.txt |    4 ++++
 2 files changed, 7 insertions(+)
Documentation/cpusets.txt +3 -0
@@ -546,6 +546,9 @@ otherwise initial value -1 that indicate
  ( 4  : search nodes in a chunk of node [on NUMA system] )
  ( 5~ : search system wide [on NUMA system])
 
+The system default is 0 (no search).  The system default can be
+changed using the relax_domain_level= boot parameter.
+
 This file is per-cpuset and affect the sched domain where the cpuset
 belongs to.  Therefore if the flag 'sched_load_balance' of a cpuset
 is disabled, then 'sched_relax_domain_level' have no effect since

Documentation/kernel-parameters.txt and is between 256 and 4096 characters. · line 1738

Quoted 7 lines
Documentation/kernel-parameters.txt +4 -0
@@ -1732,6 +1732,10 @@ and is between 256 and 4096 characters. 
 			Format: <reboot_mode>[,<reboot_mode2>[,...]]
 			See arch/*/kernel/reboot.c or arch/*/kernel/process.c			
 
+	relax_domain_level=
+			[KNL, SMP] Set schedulers default relax_domain_level.
+			See Documentation/cpusets.txt.
+

is [KNL,SMP] more consistent ?

and s/schedulers/scheduler's/

but maybe I'm wrong due to my English skill.

Documentation/kernel-parameters.txt and is between 256 and 4096 characters. · line 1741

Quoted 4 lines
Documentation/kernel-parameters.txt +0 -0
 	reserve=	[KNL,BUGS] Force the kernel to ignore some iomem area
 
 	reservetop=	[X86-32]
#2 lore raw
Quoted 37 lines · Li Zefan
Quoted 26 lines · Paul Jackson

From: Paul Jackson <[email protected]>

Document the kernel boot parameter: relax_domain_level=.

---
 Documentation/cpusets.txt           |    3 +++
 Documentation/kernel-parameters.txt |    4 ++++
 2 files changed, 7 insertions(+)
Documentation/cpusets.txt 2008-06-29 21:49:53.984674621 -0700 renamed from Documentation/cpusets.txt 2008-06-27 06:55:34.000000000 -0700 +3 -0
@@ -546,6 +546,9 @@ otherwise initial value -1 that indicate
  ( 4  : search nodes in a chunk of node [on NUMA system] )
  ( 5~ : search system wide [on NUMA system])
 
+The system default is 0 (no search).  The system default can be
+changed using the relax_domain_level= boot parameter.
+
 This file is per-cpuset and affect the sched domain where the cpuset
 belongs to.  Therefore if the flag 'sched_load_balance' of a cpuset
 is disabled, then 'sched_relax_domain_level' have no effect since

Documentation/kernel-parameters.txt 2008-06-29 21:51:10.477997208 -0700 and is between 256 and 4096 characters. · line 1738

Quoted 7 lines
Documentation/kernel-parameters.txt 2008-06-29 21:51:10.477997208 -0700 renamed from Documentation/kernel-parameters.txt 2008-06-27 06:28:26.000000000 -0700 +4 -0
@@ -1732,6 +1732,10 @@ and is between 256 and 4096 characters.
                      Format: <reboot_mode>[,<reboot_mode2>[,...]]
                      See arch/*/kernel/reboot.c or arch/*/kernel/process.c
 
+     relax_domain_level=
+                     [KNL, SMP] Set schedulers default relax_domain_level.
+                     See Documentation/cpusets.txt.
+

is [KNL,SMP] more consistent ?

Quoted 3 lines

and s/schedulers/scheduler's/

but maybe I'm wrong due to my English skill.

You are right. (Paul doesn't like apostrophes ;-).)

Quoted 8 lines

Documentation/kernel-parameters.txt 2008-06-29 21:51:10.477997208 -0700 and is between 256 and 4096 characters. · line 1741

Quoted 4 lines
Documentation/kernel-parameters.txt 2008-06-29 21:51:10.477997208 -0700 renamed from Documentation/kernel-parameters.txt 2008-06-27 06:28:26.000000000 -0700 +0 -0
      reserve=        [KNL,BUGS] Force the kernel to ignore some iomem area
 
      reservetop=     [X86-32]
Signature · 4 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
man-pages online: http://www.kernel.org/doc/man-pages/online_pages.html
Found a bug? http://www.kernel.org/doc/man-pages/reporting_bugs.html
#3 lore raw
Quoted 1 line · Michael

Paul doesn't like apostrophes ;-)

You got that right -- I hate them ;).

Signature · 3 lines
                  I won't rest till it's the best ...
                  Programmer, Linux Scalability
                  Paul Jackson <[email protected]> 1.940.382.4214
#4 lore raw
In reply to Paul Jackson

Hi Paul,

Quoted 14 lines · Paul Jackson

From: Paul Jackson <[email protected]>

Document the kernel boot parameter: relax_domain_level=.

---
 Documentation/cpusets.txt           |    3 +++
 Documentation/kernel-parameters.txt |    4 ++++
 2 files changed, 7 insertions(+)

Documentation/cpusets.txt otherwise initial value -1 that indicate · line 550

Quoted 5 lines
Documentation/cpusets.txt +2 -0
@@ -546,6 +546,9 @@ otherwise initial value -1 that indicate
  ( 4  : search nodes in a chunk of node [on NUMA system] )
  ( 5~ : search system wide [on NUMA system])
 
+The system default is 0 (no search).  The system default can be
+changed using the relax_domain_level= boot parameter.

The system default is architecture dependent. You can change your system's default using the relax_domain_level= boot parameter.

Thanks,
H.Seto

#5 lore raw
Quoted 20 lines · Hidetoshi Seto

Hi Paul,

Quoted 17 lines · Paul Jackson

From: Paul Jackson <[email protected]>

Document the kernel boot parameter: relax_domain_level=.

---
 Documentation/cpusets.txt           |    3 +++
 Documentation/kernel-parameters.txt |    4 ++++
 2 files changed, 7 insertions(+)
Documentation/cpusets.txt +0 -0
@@ -546,6 +546,9 @@ otherwise initial value -1 that indicate
  ( 4  : search nodes in a chunk of node [on NUMA system] )
  ( 5~ : search system wide [on NUMA system])
 
Quoted 6 lines

Documentation/cpusets.txt otherwise initial value -1 that indicate · line 550

Quoted 2 lines
Documentation/cpusets.txt +2 -0
+The system default is 0 (no search).  The system default can be
+changed using the relax_domain_level= boot parameter.

The system default is architecture dependent. You can change your system's default using the relax_domain_level= boot parameter.

but the system default is 0 by default. and 0 means no search no matter what architecture is. ;)

Quoted 4 lines

Thanks,
H.Seto

#6 lore raw
Quoted 6 lines · Li Zefan
Quoted 2 lines · Hidetoshi Seto

The system default is architecture dependent. You can change your system's default using the relax_domain_level= boot parameter.

but the system default is 0 by default. and 0 means no search no matter what architecture is. ;)

If my git pull works correctly, it seems that the default is still -1...

[kernel/sched.c]

Quoted 1 line

static int default_relax_domain_level = -1;

AFAIK, for example, x86(SMT) search siblings by default.

Thanks,
H.Seto

#7 lore raw
Quoted 9 lines · Hidetoshi Seto
Quoted 5 lines · Li Zefan
Quoted 2 lines · Hidetoshi Seto

The system default is architecture dependent. You can change your system's default using the relax_domain_level= boot parameter.

but the system default is 0 by default. and 0 means no search no matter what architecture is. ;)

If my git pull works correctly, it seems that the default is still -1...

Ah, yes, it's my mistake. :(

Quoted 5 lines

[kernel/sched.c]

Quoted 1 line

static int default_relax_domain_level = -1;

AFAIK, for example, x86(SMT) search siblings by default.

So the system default is architecture depentdent.

Quoted 4 lines

Thanks,
H.Seto