Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Sep 2010 15:16:45 +0400
From:      pluknet <pluknet@gmail.com>
To:        Maxim Sobolev <sobomax@freebsd.org>
Cc:        FreeBSD Hackers <freebsd-hackers@freebsd.org>, Jeff Roberson <jeff@freebsd.org>, "current@freebsd.org" <current@freebsd.org>
Subject:   Re: Bumping MAXCPU on amd64?
Message-ID:  <AANLkTikYo8zyHBHtuo2knTUeb0RhyiQ--RE=jNx2wADW@mail.gmail.com>
In-Reply-To: <4C99DC48.1020208@FreeBSD.org>
References:  <4C99DC48.1020208@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
2010/9/22 Maxim Sobolev <sobomax@freebsd.org>:
> Hi,
>
> Is there any reason to keep MAXCPU at 16 in the default kernel config? There
> are quite few servers on the market today that have 24 or even 32 physical
> cores. With hyper-threading this can even go as high as 48 or 64 virtual
> cpus. People who buy such hardware might get very disappointed finding out
> that the FreeBSD is not going to use such hardware to its full potential.
>
> Does anybody object if I'd bump MAXCPU to 32, which is still low but might
> me more reasonable default these days, or at least make it an kernel
> configuration option documented in the NOTES?

Please correct me, if I'm about smth. different, but isn't it already?

/sys/amd64/include/param.h:#define MAXCPU               32
/sys/arm/include/param.h:#define        MAXCPU          2
/sys/i386/include/param.h:#define MAXCPU                32
/sys/ia64/include/param.h:#define       MAXCPU          32
/sys/mips/include/param.h:#define       MAXCPU          MAXSMPCPU
/sys/powerpc/include/param.h:#define    MAXCPU          2
/sys/sparc64/include/param.h:#define MAXCPU             16
/sys/sun4v/include/param.h:#define MAXCPU               32

(almost 2y ago for x86)

-- 
wbr,
pluknet



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikYo8zyHBHtuo2knTUeb0RhyiQ--RE=jNx2wADW>