Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Nov 2014 16:55:18 -0500
From:      Allan Jude <allanjude@freebsd.org>
To:        freebsd-virtualization@freebsd.org
Subject:   Re: How hard is BHyVe's 16 vCPU limit, is it configurable under any circumstance?
Message-ID:  <5463D746.4030803@freebsd.org>
In-Reply-To: <8e39523570b667d223091adc3791c9e2@openmailbox.org>
References:  <8e39523570b667d223091adc3791c9e2@openmailbox.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On 2014-11-12 16:39, tinkr@openmailbox.org wrote:
> Hi!
> 
> In order justify giving energy to BHyVe, I need to know if it's
> "future-proof" in that the 16 vCPU limit can be increased?
> 
> Please let the world know if BHyVe's 16 vCPU limit can be lifted in some
> way, by configuration, patch, etc. (and if you want to, why this limit
> is in place by default today).
> 
> Thanks!!
> Tinker
> 
> _______________________________________________
> freebsd-virtualization@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
> To unsubscribe, send any mail to
> "freebsd-virtualization-unsubscribe@freebsd.org"

You can increase the limit by editing sys/amd64/include/vmm.h

#define VM_MAXCPU       16

From what I've been told, things scale badly above 24 CPUs. They plan to
solve this issue, but have not yet. If you system has enough cores to
support using more than 16 per VM, you can modify the file and recompile
the kernel and use as many CPUs as you want, but not much testing has
happened with bigger numbers.

-- 
Allan Jude


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQIcBAEBAgAGBQJUY9dIAAoJEJrBFpNRJZKfs/EP/2nHN5D6amqE5CtfI/PAdK8s
mJmBHII4socC5F7eyHfjue1grb8kW9MaJR0/9v1hAcAFvtGo/8qK3junc0/BGc8V
+3uMG2wQ4k1E4XDCvjk/J82DpGKDZVdd3A/lLKYixhuN+QDRnGyrmACbgnXCMDt/
lsd2VaPScZ8Hql5WrTAmNJceyGyb53I0M3AboAEPMFb3kQR8iW3dym8qDYKmijzJ
sBbBrNwNNTwDLqxdeBj01AtTDpdhtQOf4QReDtZ2u2fXnpRsBDSlL4si+6/c+Gl3
CvPYy2/dP8GBoOvNGT6a3nlGyWFluwtnKBzGz4EyRsdclXvkEETvASi8cgQ2kvwU
h+pGIKhT5vV9IXPYyIxuocaTZh3y3HhK3Bs1NDQoBGafjQDc6cP8VJOdZEXUxTLU
D/k2ofQv9r+brP8laabFuiqHCVrUtH4r5YQct1qh8aYR+ZUA6+tHCQCdwL2iYF3R
ZgGCowZD3kd5LE3mZREtRLfLlrzjoB/ytyrlGQkRXCcUj18KtYw+6ZEVR0xccos0
TPDws9nIOf5DfcZYOiOm128qNeOIDPlFoHckW1VB1yRRpi1ENBUM/eEvhsHJSLFR
AkV3/agE913Nb/z5z9o5X489WADY1OJBnHlSZNzEs7rZjF91yTIIP0kaRrPI9fXm
d+rRYq0YKMqiexQ/p2Ac
=p3qT
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5463D746.4030803>