* Re: [patch] i386: require ACPI for NUMA with generic architecture
@ 2006-07-07 10:21 Chuck Ebbert
2006-07-07 18:16 ` Keith Mannthey
0 siblings, 1 reply; 4+ messages in thread
From: Chuck Ebbert @ 2006-07-07 10:21 UTC (permalink / raw)
To: Keith Mannthey; +Cc: Randy Dunlap, Andrew Morton, linux-kernel
In-Reply-To: <a762e240607061143s6470ad5y310986cba4f0b0bc@mail.gmail.com>
On Thu, 6 Jul 2006 11:43:37 -0700, Keith Mannthey wrote:
> On 7/6/06, Chuck Ebbert <76306.1226@compuserve.com> wrote:
> > X86 Generic Architecture (X86_GENERICARCH) includes support for
> > Summit architecture. Enabling X86_GENERICARCH, SMP and HIGHMEM64G
> > allows NUMA to be selected but that configuration will not build
> > because it requires ACPI for the Summit NUMA support.
>
> Good catch. With X86_GENRICARCARCH perhaps NUMA should always be on
> or am I missing something with how it is supposed to work? Shouldn't
> X86_GENRICARCARCH buy you the ablility to boot(correctly) on all the
> diffrent archs listed?
AFAIK not all Summit machines are NUMA, so maybe the flexibility is
needed. e.g. some might want GENERICARCH without HIGHMEM64G.
--
Chuck
"You can't read a newspaper if you can't read." --George W. Bush
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [patch] i386: require ACPI for NUMA with generic architecture
2006-07-07 10:21 [patch] i386: require ACPI for NUMA with generic architecture Chuck Ebbert
@ 2006-07-07 18:16 ` Keith Mannthey
0 siblings, 0 replies; 4+ messages in thread
From: Keith Mannthey @ 2006-07-07 18:16 UTC (permalink / raw)
To: Chuck Ebbert; +Cc: Randy Dunlap, Andrew Morton, linux-kernel
On 7/7/06, Chuck Ebbert <76306.1226@compuserve.com> wrote:
> In-Reply-To: <a762e240607061143s6470ad5y310986cba4f0b0bc@mail.gmail.com>
>
> On Thu, 6 Jul 2006 11:43:37 -0700, Keith Mannthey wrote:
>
> > On 7/6/06, Chuck Ebbert <76306.1226@compuserve.com> wrote:
> > > X86 Generic Architecture (X86_GENERICARCH) includes support for
> > > Summit architecture. Enabling X86_GENERICARCH, SMP and HIGHMEM64G
> > > allows NUMA to be selected but that configuration will not build
> > > because it requires ACPI for the Summit NUMA support.
> >
> > Good catch. With X86_GENRICARCARCH perhaps NUMA should always be on
> > or am I missing something with how it is supposed to work? Shouldn't
> > X86_GENRICARCARCH buy you the ablility to boot(correctly) on all the
> > diffrent archs listed?
>
> AFAIK not all Summit machines are NUMA, so maybe the flexibility is
> needed. e.g. some might want GENERICARCH without HIGHMEM64G.
I see you point. Flexability is good.
A non numa Summit box is just regular SMP. The Summit hw platform
is a multi node hardware layout and single nodes are valid and common.
All Summit HW (numa and non) can boot regular smp kernels (numa boxes
pay the performance hit). The Summit sub-arch is needed to setup i386
NUMA for the box in multi-node situations not to perform basic bootup.
Booting Summit without NUMA is sort of missing the point...
Thanks
Keith
^ permalink raw reply [flat|nested] 4+ messages in thread
* [patch] i386: require ACPI for NUMA with generic architecture
@ 2006-07-06 16:20 Chuck Ebbert
2006-07-06 18:43 ` Keith Mannthey
0 siblings, 1 reply; 4+ messages in thread
From: Chuck Ebbert @ 2006-07-06 16:20 UTC (permalink / raw)
To: linux-kernel; +Cc: Andrew Morton, Randy Dunlap
X86 Generic Architecture (X86_GENERICARCH) includes support for
Summit architecture. Enabling X86_GENERICARCH, SMP and HIGHMEM64G
allows NUMA to be selected but that configuration will not build
because it requires ACPI for the Summit NUMA support.
Fix:
require ACPI for NUMA support with X86_GENERICARCH
update the menu comment noting this
set default NR_CPUS to 32 for GENERICARCH (since it
includes BIGSMP and SUMMIT which default to 32)
Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com>
--- 2.6.17-mm6-nb.orig/arch/i386/Kconfig
+++ 2.6.17-mm6-nb/arch/i386/Kconfig
@@ -228,7 +228,7 @@ config NR_CPUS
int "Maximum number of CPUs (2-255)"
range 2 255
depends on SMP
- default "32" if X86_NUMAQ || X86_SUMMIT || X86_BIGSMP || X86_ES7000
+ default "32" if X86_NUMAQ || X86_SUMMIT || X86_BIGSMP || X86_ES7000 || X86_GENERICARCH
default "8"
help
This allows you to specify the maximum number of CPUs which this
@@ -546,15 +546,15 @@ config X86_PAE
# Common NUMA Features
config NUMA
bool "Numa Memory Allocation and Scheduler Support"
- depends on SMP && HIGHMEM64G && (X86_NUMAQ || X86_GENERICARCH || (X86_SUMMIT && ACPI))
+ depends on SMP && HIGHMEM64G && (X86_NUMAQ || (ACPI && (X86_GENERICARCH || X86_SUMMIT)))
default n if X86_PC
default y if (X86_NUMAQ || X86_SUMMIT)
help
NUMA support. Note this only works on IBM x440 or IBM NUMAQ.
Don't try to use it anywhere else.
-comment "NUMA (Summit) requires SMP, 64GB highmem support, ACPI"
- depends on X86_SUMMIT && (!HIGHMEM64G || !ACPI)
+comment "NUMA (Summit, Generic arch) requires SMP, 64GB highmem support, ACPI"
+ depends on (X86_SUMMIT || X86_GENERICARCH) && (!HIGHMEM64G || !ACPI)
config NODES_SHIFT
int
--
Chuck
"You can't read a newspaper if you can't read." --George W. Bush
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [patch] i386: require ACPI for NUMA with generic architecture
2006-07-06 16:20 Chuck Ebbert
@ 2006-07-06 18:43 ` Keith Mannthey
0 siblings, 0 replies; 4+ messages in thread
From: Keith Mannthey @ 2006-07-06 18:43 UTC (permalink / raw)
To: Chuck Ebbert; +Cc: linux-kernel, Andrew Morton, Randy Dunlap
On 7/6/06, Chuck Ebbert <76306.1226@compuserve.com> wrote:
> X86 Generic Architecture (X86_GENERICARCH) includes support for
> Summit architecture. Enabling X86_GENERICARCH, SMP and HIGHMEM64G
> allows NUMA to be selected but that configuration will not build
> because it requires ACPI for the Summit NUMA support.
>
> Fix:
> require ACPI for NUMA support with X86_GENERICARCH
>
> update the menu comment noting this
>
> set default NR_CPUS to 32 for GENERICARCH (since it
> includes BIGSMP and SUMMIT which default to 32)
Good catch. With X86_GENRICARCARCH perhaps NUMA should always be on
or am I missing something with how it is supposed to work? Shouldn't
X86_GENRICARCARCH buy you the ablility to boot(correctly) on all the
diffrent archs listed?
Thanks,
Keith
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-07-07 18:16 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-07 10:21 [patch] i386: require ACPI for NUMA with generic architecture Chuck Ebbert
2006-07-07 18:16 ` Keith Mannthey
-- strict thread matches above, loose matches on Subject: below --
2006-07-06 16:20 Chuck Ebbert
2006-07-06 18:43 ` Keith Mannthey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®