Re: [PATCH 0/2] NR_CPUS: increase maximum NR_CPUS to 4096
From: Yinghai Lu
Date: Tue Apr 08 2008 - 18:33:20 EST
On Tue, Apr 8, 2008 at 3:03 PM, Mike Travis <travis@xxxxxxx> wrote:
> Yinghai Lu wrote:
> > On Fri, Apr 4, 2008 at 6:30 PM, Mike Travis <travis@xxxxxxx> wrote:
> >> * Increases the limit of NR_CPUS to 4096 and introduces a
> >> boolean called "MAXSMP" which when set (e.g. "allyesconfig")
> >> will set NR_CPUS = 4096 and NODES_SHIFT = 9 (512).
> >>
> >> I've been running this config (4k NR_CPUS, 512 Max Nodes)
> >> on an AMD box with 2 dual-cores and 4gb memory as well as an
> >> Intel box with 4 single-core cpus and 8Mb. I've also
> >> successfully booted it in a simulated 2cpus/1Gb environment.
> >>
> >> Based on:
> >> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
> >> + x86/latest .../x86/linux-2.6-x86.git
> >> + sched-devel/latest .../mingo/linux-2.6-sched-devel.git
> >>
> >> Signed-off-by: Mike Travis <travis@xxxxxxx>
> >
> > got
>
> Hi Yinghai,
>
> Thanks for the feedback! Would you send me your config file and
> other details (like cpu type/mem size/etc.) and I'll attempt
> to reproduce the failure.
>
> (My problem is that only the AMD box is a real "workstation", the
> Intel box is a dual quad-cpu server so it's really deficient in I/O.)
>
AMD quadcore eight sockets and 256G RAM
if I set NR_CPUS to 128 instead of 4096 it will be ok.
YH
Attachment:
config.4096
Description: Binary data