Skip to contentSkip to conversation

change CONFIG_NUMA description

PATCH Applied KOSAKI Motohiro 5 participants 12 messages Nov 4, 2008 – Nov 9, 2008 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 change CONFIG_NUMA description

CONFIG_NUMA description talk about a bit old thing. So, following changes are better.

o CONFIG_NUMA is no longer EXPERIMENTAL
o Opteron is not the only processor of NUMA topology on x86_64 no longer, but also Intel Core7i has it.

---
 arch/x86/Kconfig |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
arch/x86/Kconfig +3 -4
Index: b/arch/x86/Kconfig
===================================================================
@@ -951,7 +951,7 @@ config ARCH_PHYS_ADDR_T_64BIT
 
 # Common NUMA Features
 config NUMA
-	bool "Numa Memory Allocation and Scheduler Support (EXPERIMENTAL)"
+	bool "Numa Memory Allocation and Scheduler Support"
 	depends on SMP
 	depends on X86_64 || (X86_32 && HIGHMEM64G && (X86_NUMAQ || X86_BIGSMP || X86_SUMMIT && ACPI) && EXPERIMENTAL)
 	default n if X86_PC
@@ -964,9 +964,8 @@ config NUMA
 
 	  For 32-bit this is currently highly experimental and should be only
 	  used for kernel development. It might also cause boot failures.
-	  For 64-bit this is recommended on all multiprocessor Opteron systems.
-	  If the system is EM64T, you should say N unless your system is
-	  EM64T NUMA.
+	  For 64-bit this is recommended if the system is Intel Core 7i or later or AMD Opteron.
+	  Otherwise, you should say N unless your system is EM64T NUMA.
 
 comment "NUMA (Summit) requires SMP, 64GB highmem support, ACPI"
 	depends on X86_32 && X86_SUMMIT && (!HIGHMEM64G || !ACPI)
#1 lore raw
Quoted 8 lines · KOSAKI Motohiro

CONFIG_NUMA description talk about a bit old thing. So, following changes are better.

o CONFIG_NUMA is no longer EXPERIMENTAL
o Opteron is not the only processor of NUMA topology on x86_64 no longer, but also Intel Core7i has it.

a) It's Core i7, not Core 7i
b) Core i7 is, at least so far, the single-socket version, so NUMA doesn't apply.

I think we should let Intel write the CONFIG_NUMA description for Nehalem processors.

-- Chris

#2 lore raw
Quoted 7 lines · Chris Snook
Quoted 5 lines · KOSAKI Motohiro

CONFIG_NUMA description talk about a bit old thing.
So, following changes are better.
o CONFIG_NUMA is no longer EXPERIMENTAL
o Opteron is not the only processor of NUMA topology on x86_64 no longer, but also Intel Core7i has it.

Quoted 6 lines

a) It's Core i7, not Core 7i
b) Core i7 is, at least so far, the single-socket version, so NUMA doesn't apply.

I think we should let Intel write the CONFIG_NUMA description for Nehalem processors.

The recommendation should be imho just to always enable it. Back when I wrote the description it was still experimental, but it really isn't anymore.

-Andi

Signature · 1 line
[email protected]
#3 lore raw
In reply to KOSAKI Motohiro
Quoted 9 lines · KOSAKI Motohiro

CONFIG_NUMA description talk about a bit old thing. So, following changes are better.

o CONFIG_NUMA is no longer EXPERIMENTAL
Index: b/arch/x86/Kconfig
===================================================================

arch/x86/Kconfig 2008-11-05 02:09:38.000000000 +0900 config ARCH_PHYS_ADDR_T_64BIT · line 956

Quoted 7 lines
arch/x86/Kconfig 2008-11-05 02:09:38.000000000 +0900 renamed from arch/x86/Kconfig 2008-11-05 01:11:24.000000000 +0900 +1 -1
@@ -951,7 +951,7 @@ config ARCH_PHYS_ADDR_T_64BIT
 
 # Common NUMA Features
 config NUMA
-       bool "Numa Memory Allocation and Scheduler Support (EXPERIMENTAL)"
+       bool "Numa Memory Allocation and Scheduler Support"
       depends on SMP
       depends on X86_64 || (X86_32 && HIGHMEM64G && (X86_NUMAQ || X86_BIGSMP || X86_SUMMIT && ACPI) && EXPERIMENTAL)

You might want to remove the dependency to CONFIG_EXPERIMENTAL as well.

Quoted 21 lines
arch/x86/Kconfig 2008-11-05 02:09:38.000000000 +0900 renamed from arch/x86/Kconfig 2008-11-05 01:11:24.000000000 +0900 +2 -4
       default n if X86_PC
@@ -964,9 +964,8 @@ config NUMA
 
         For 32-bit this is currently highly experimental and should be only
         used for kernel development. It might also cause boot failures.
-         For 64-bit this is recommended on all multiprocessor Opteron systems.
-         If the system is EM64T, you should say N unless your system is
-         EM64T NUMA.
+         For 64-bit this is recommended if the system is Intel Core 7i or later or AMD Opteron.
+         Otherwise, you should say N unless your system is EM64T NUMA.
 
 comment "NUMA (Summit) requires SMP, 64GB highmem support, ACPI"
       depends on X86_32 && X86_SUMMIT && (!HIGHMEM64G || !ACPI)
 
 
--

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Applied
#4 lore raw
In reply to KOSAKI Motohiro
Quoted 4 lines · KOSAKI Motohiro

CONFIG_NUMA description talk about a bit old thing. So, following changes are better.

Quoted 8 lines

o CONFIG_NUMA is no longer EXPERIMENTAL o Opteron is not the only processor of NUMA topology on x86_64 no longer, but also Intel Core7i has it.

---
 arch/x86/Kconfig |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

applied to tip/x86/doc, thanks! I've updated a few other details as well, see the final commit below.

Ingo

------------->

Quoted 1 line

From fd51b2d7d5df932767b89e00d0871a38a2c53e74 Mon Sep 17 00:00:00 2001

From: KOSAKI Motohiro <[email protected]>
Date: Wed, 5 Nov 2008 02:27:19 +0900
Subject: [PATCH] x86: update CONFIG_NUMA description

Impact: clarify/update CONFIG_NUMA text

CONFIG_NUMA description talk about a bit old thing. So, following changes are better.

o CONFIG_NUMA is no longer EXPERIMENTAL

o Opteron is not the only processor of NUMA topology on x86_64 no longer, but also Intel Core7i has it.

---
 arch/x86/Kconfig |   16 ++++++++++------
 1 files changed, 10 insertions(+), 6 deletions(-)
arch/x86/Kconfig +10 -6
index 350bee1..38ae04b 100644
@@ -951,22 +951,26 @@ config ARCH_PHYS_ADDR_T_64BIT
 
 # Common NUMA Features
 config NUMA
-	bool "Numa Memory Allocation and Scheduler Support (EXPERIMENTAL)"
+	bool "Numa Memory Allocation and Scheduler Support"
 	depends on SMP
 	depends on X86_64 || (X86_32 && HIGHMEM64G && (X86_NUMAQ || X86_BIGSMP || X86_SUMMIT && ACPI) && EXPERIMENTAL)
 	default n if X86_PC
 	default y if (X86_NUMAQ || X86_SUMMIT || X86_BIGSMP)
 	help
 	  Enable NUMA (Non Uniform Memory Access) support.
+
 	  The kernel will try to allocate memory used by a CPU on the
 	  local memory controller of the CPU and add some more
 	  NUMA awareness to the kernel.
 
-	  For 32-bit this is currently highly experimental and should be only
-	  used for kernel development. It might also cause boot failures.
-	  For 64-bit this is recommended on all multiprocessor Opteron systems.
-	  If the system is EM64T, you should say N unless your system is
-	  EM64T NUMA.
+	  For 64-bit this is recommended if the system is Intel Core 7i
+	  (or later), AMD Opteron, or EM64T NUMA.
+
+	  For 32-bit this is only needed on (rare) 32-bit-only platforms
+	  that support NUMA topologies, such as NUMAQ / Summit, or if you
+	  boot a 32-bit kernel on a 64-bit NUMA platform.
+
+	  Otherwise, you should say N.
 
 comment "NUMA (Summit) requires SMP, 64GB highmem support, ACPI"
 	depends on X86_32 && X86_SUMMIT && (!HIGHMEM64G || !ACPI)
#5 lore raw

Hi Ingo,

Quoted 26 lines · Ingo Molnar

From fd51b2d7d5df932767b89e00d0871a38a2c53e74 Mon Sep 17 00:00:00 2001
From: KOSAKI Motohiro <[email protected]>
Date: Wed, 5 Nov 2008 02:27:19 +0900
Subject: [PATCH] x86: update CONFIG_NUMA description

Impact: clarify/update CONFIG_NUMA text

CONFIG_NUMA description talk about a bit old thing. So, following changes are better.

o CONFIG_NUMA is no longer EXPERIMENTAL

o Opteron is not the only processor of NUMA topology on x86_64 no longer, but also Intel Core7i has it.

---
 arch/x86/Kconfig |   16 ++++++++++------
 1 files changed, 10 insertions(+), 6 deletions(-)
arch/x86/Kconfig +0 -0
index 350bee1..38ae04b 100644

arch/x86/Kconfig config ARCH_PHYS_ADDR_T_64BIT · line 956

Quoted 7 lines
arch/x86/Kconfig +1 -1
@@ -951,22 +951,26 @@ config ARCH_PHYS_ADDR_T_64BIT
 
 # Common NUMA Features
 config NUMA
-       bool "Numa Memory Allocation and Scheduler Support (EXPERIMENTAL)"
+       bool "Numa Memory Allocation and Scheduler Support"
       depends on SMP
       depends on X86_64 || (X86_32 && HIGHMEM64G && (X86_NUMAQ || X86_BIGSMP || X86_SUMMIT && ACPI) && EXPERIMENTAL)

Why does this depend on CONFIG_EXPERIMENTAL still?

Quoted 9 lines
arch/x86/Kconfig +1 -0
       default n if X86_PC
       default y if (X86_NUMAQ || X86_SUMMIT || X86_BIGSMP)
       help
         Enable NUMA (Non Uniform Memory Access) support.
+
         The kernel will try to allocate memory used by a CPU on the
         local memory controller of the CPU and add some more
         NUMA awareness to the kernel.
 
#6 lore raw
Quoted 30 lines

Hi Ingo,

Quoted 27 lines · Ingo Molnar

From fd51b2d7d5df932767b89e00d0871a38a2c53e74 Mon Sep 17 00:00:00 2001
From: KOSAKI Motohiro <[email protected]>
Date: Wed, 5 Nov 2008 02:27:19 +0900
Subject: [PATCH] x86: update CONFIG_NUMA description

Impact: clarify/update CONFIG_NUMA text

CONFIG_NUMA description talk about a bit old thing. So, following changes are better.

o CONFIG_NUMA is no longer EXPERIMENTAL

o Opteron is not the only processor of NUMA topology on x86_64 no longer, but also Intel Core7i has it.

---
 arch/x86/Kconfig |   16 ++++++++++------
 1 files changed, 10 insertions(+), 6 deletions(-)
arch/x86/Kconfig +0 -0
index 350bee1..38ae04b 100644
@@ -951,22 +951,26 @@ config ARCH_PHYS_ADDR_T_64BIT
 
Quoted 8 lines

arch/x86/Kconfig config ARCH_PHYS_ADDR_T_64BIT · line 956

Quoted 6 lines
arch/x86/Kconfig +1 -1
 # Common NUMA Features
 config NUMA
-       bool "Numa Memory Allocation and Scheduler Support (EXPERIMENTAL)"
+       bool "Numa Memory Allocation and Scheduler Support"
       depends on SMP
       depends on X86_64 || (X86_32 && HIGHMEM64G && (X86_NUMAQ || X86_BIGSMP || X86_SUMMIT && ACPI) && EXPERIMENTAL)

Why does this depend on CONFIG_EXPERIMENTAL still?

sorry, late resoponce.
In fact, x86_32 numa is still experimental.
and x86_64 is already NOT experimental.

So, I think depend-on don't need change.

#7 lore raw
In reply to Pekka Enberg
Quoted 30 lines · Pekka Enberg

Hi Ingo,

Quoted 27 lines · Ingo Molnar

From fd51b2d7d5df932767b89e00d0871a38a2c53e74 Mon Sep 17 00:00:00 2001
From: KOSAKI Motohiro <[email protected]>
Date: Wed, 5 Nov 2008 02:27:19 +0900
Subject: [PATCH] x86: update CONFIG_NUMA description

Impact: clarify/update CONFIG_NUMA text

CONFIG_NUMA description talk about a bit old thing. So, following changes are better.

o CONFIG_NUMA is no longer EXPERIMENTAL

o Opteron is not the only processor of NUMA topology on x86_64 no longer, but also Intel Core7i has it.

---
 arch/x86/Kconfig |   16 ++++++++++------
 1 files changed, 10 insertions(+), 6 deletions(-)
arch/x86/Kconfig +0 -0
index 350bee1..38ae04b 100644
@@ -951,22 +951,26 @@ config ARCH_PHYS_ADDR_T_64BIT
 
Quoted 8 lines

arch/x86/Kconfig config ARCH_PHYS_ADDR_T_64BIT · line 956

Quoted 6 lines
arch/x86/Kconfig +1 -1
 # Common NUMA Features
 config NUMA
-       bool "Numa Memory Allocation and Scheduler Support (EXPERIMENTAL)"
+       bool "Numa Memory Allocation and Scheduler Support"
       depends on SMP
       depends on X86_64 || (X86_32 && HIGHMEM64G && (X86_NUMAQ || X86_BIGSMP || X86_SUMMIT && ACPI) && EXPERIMENTAL)

Why does this depend on CONFIG_EXPERIMENTAL still?

Good point, i've just removed that too. 32-bit NUMA used to have stability problems (nobody really tested it systematically), but we've fixed those bugs and can now remove the restrictions in v2.6.29.

Ingo

#8 lore raw
In reply to Ingo Molnar
Quoted 65 lines · Ingo Molnar
Quoted 9 lines · KOSAKI Motohiro

CONFIG_NUMA description talk about a bit old thing. So, following changes are better.

o CONFIG_NUMA is no longer EXPERIMENTAL o Opteron is not the only processor of NUMA topology on x86_64 no longer, but also Intel Core7i has it.

---
 arch/x86/Kconfig |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

applied to tip/x86/doc, thanks! I've updated a few other details as well, see the final commit below.

Ingo

------------->
From fd51b2d7d5df932767b89e00d0871a38a2c53e74 Mon Sep 17 00:00:00 2001
From: KOSAKI Motohiro <[email protected]>
Date: Wed, 5 Nov 2008 02:27:19 +0900
Subject: [PATCH] x86: update CONFIG_NUMA description

Impact: clarify/update CONFIG_NUMA text

CONFIG_NUMA description talk about a bit old thing. So, following changes are better.

o CONFIG_NUMA is no longer EXPERIMENTAL

o Opteron is not the only processor of NUMA topology on x86_64 no longer, but also Intel Core7i has it.

---
 arch/x86/Kconfig |   16 ++++++++++------
 1 files changed, 10 insertions(+), 6 deletions(-)
arch/x86/Kconfig +3 -6
index 350bee1..38ae04b 100644
@@ -951,22 +951,26 @@ config ARCH_PHYS_ADDR_T_64BIT
 
 # Common NUMA Features
 config NUMA
-	bool "Numa Memory Allocation and Scheduler Support (EXPERIMENTAL)"
+	bool "Numa Memory Allocation and Scheduler Support"
 	depends on SMP
 	depends on X86_64 || (X86_32 && HIGHMEM64G && (X86_NUMAQ || X86_BIGSMP || X86_SUMMIT && ACPI) && EXPERIMENTAL)
 	default n if X86_PC
 	default y if (X86_NUMAQ || X86_SUMMIT || X86_BIGSMP)
 	help
 	  Enable NUMA (Non Uniform Memory Access) support.
+
 	  The kernel will try to allocate memory used by a CPU on the
 	  local memory controller of the CPU and add some more
 	  NUMA awareness to the kernel.
 
-	  For 32-bit this is currently highly experimental and should be only
-	  used for kernel development. It might also cause boot failures.
-	  For 64-bit this is recommended on all multiprocessor Opteron systems.
-	  If the system is EM64T, you should say N unless your system is
-	  EM64T NUMA.
+	  For 64-bit this is recommended if the system is Intel Core 7i

arch/x86/Kconfig config ARCH_PHYS_ADDR_T_64BIT · line 976

Quoted 10 lines
arch/x86/Kconfig +7 -0
+	  (or later), AMD Opteron, or EM64T NUMA.
+
+	  For 32-bit this is only needed on (rare) 32-bit-only platforms
+	  that support NUMA topologies, such as NUMAQ / Summit, or if you
+	  boot a 32-bit kernel on a 64-bit NUMA platform.
+
+	  Otherwise, you should say N.
 
 comment "NUMA (Summit) requires SMP, 64GB highmem support, ACPI"
 	depends on X86_32 && X86_SUMMIT && (!HIGHMEM64G || !ACPI)

Core i7, not Core 7i.

-- Chris

#9 lore raw
Quoted 9 lines · Chris Snook

arch/x86/Kconfig config ARCH_PHYS_ADDR_T_64BIT · line 976

Quoted 7 lines
arch/x86/Kconfig +5 -0
+	  For 32-bit this is only needed on (rare) 32-bit-only platforms
+	  that support NUMA topologies, such as NUMAQ / Summit, or if you
+	  boot a 32-bit kernel on a 64-bit NUMA platform.
+
+	  Otherwise, you should say N.
  comment "NUMA (Summit) requires SMP, 64GB highmem support, ACPI"
 	depends on X86_32 && X86_SUMMIT && (!HIGHMEM64G || !ACPI)

Core i7, not Core 7i.

fixed that, thanks!

Ingo

#10 lore raw
In reply to Chris Snook
Quoted 9 lines
Quoted 9 lines
arch/x86/Kconfig +8 -0
+	  For 64-bit this is recommended if the system is Intel Core 7i
+	  (or later), AMD Opteron, or EM64T NUMA.
+
+	  For 32-bit this is only needed on (rare) 32-bit-only platforms
+	  that support NUMA topologies, such as NUMAQ / Summit, or if you
+	  boot a 32-bit kernel on a 64-bit NUMA platform.
+
+	  Otherwise, you should say N.
Quoted 4 lines
Quoted 2 lines

comment "NUMA (Summit) requires SMP, 64GB highmem support, ACPI"
depends on X86_32 && X86_SUMMIT && (!HIGHMEM64G || !ACPI)

Core i7, not Core 7i.

Good catch.
Tanks.

#11 lore raw
In reply to KOSAKI Motohiro
Quoted 5 lines · KOSAKI Motohiro

CONFIG_NUMA description talk about a bit old thing. So, following changes are better.

o CONFIG_NUMA is no longer EXPERIMENTAL
o Opteron is not the only processor of NUMA topology on x86_64 no longer, but also Intel Core7i has it.

Actually it doesn't have it. Core i7 systems are single socket and therefore not NUMA.

-Andi

Signature · 1 line
[email protected]