[kernel-xen] Maximum number of CPUs set into 16 (CONFIG_NR_CPUS=16) ?

Steven Haigh netwiz at crc.id.au
Thu Jan 24 14:19:28 EST 2013


On 24/01/2013 2:16 AM, Yuriy Kohut wrote:
> Hi,
>
> What is the reason to set the maximum number of CPUs into 16 ?
>
> The latest kernel-xen-3.7.4-1.el6xen.src.rpm package includes the config
> with:
> # grep -r CONFIG_NR_CPUS rpmbuild
> rpmbuild/SOURCES/config-3.7.x86_64:CONFIG_NR_CPUS=16
>
> While there is 64 CPU allowed in the default x86_64 config on kernel.org
> <http://kernel.org>):
>
> http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=blob_plain;f=arch/x86/configs/x86_64_defconfig;hb=8a69ca20f06d1878aa0ee8000a60d8226ab6b6a1

I don't think anyone has hit the 16 CPU limit - nor would anyone be 
likely to hit it...

Keep in mind that the number here is ONLY for the number of VCPUs that 
Dom0 has. The hardware may have 64 CPU cores - but only 1-2 allocated 
for Dom0. I really doubt any sane configuration would have more than 16 
VCPUs set for Dom0.

-- 
Steven Haigh

Email: netwiz at crc.id.au
Web: http://www.crc.id.au
Phone: (03) 9001 6090 - 0412 935 897
Fax: (03) 8338 0299

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4965 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.wireless.org.au/pipermail/kernel-xen/attachments/20130124/6bcfd80c/attachment.p7s>


More information about the kernel-xen mailing list