Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Feb 2021 13:32:36 -0800 (PST)
From:      "Rodney W. Grimes" <freebsd-rwg@gndrsh.dnsmgr.net>
To:        Shawn Webb <shawn.webb@hardenedbsd.org>
Cc:        Simon Connah <scopensource@gmail.com>, "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org>
Subject:   Re: Any plans to increase the maximum number of virtual CPUs above 16?
Message-ID:  <202102142132.11ELWaLe078598@gndrsh.dnsmgr.net>
In-Reply-To: <20210214160337.6vn3xpxj6c6eryvt@mutt-hbsd>

next in thread | previous in thread | raw e-mail | index | archive | help
-- Start of PGP signed section.
> On Tue, Nov 27, 2018 at 10:06:52PM +0000, Simon Connah wrote:
> > I was reading the bhyve man page and noticed that it said the maximum number
> > of virtual CPUs is limited to 16. With AMD Epyc being out with 32 cores and
> > 64 threads per CPU and being able to have 2 of them in one system this
> > number seems rather low by modern standards.
> > 
> > Are there any plans to increase this number to something like 32 virtual
> > CPUs?
> 
> I'm running into this. I have a server that can handle way more than
> 16 vCPUs. I know this topic has been talked about several times, and
> theoretical discussions keep taking place.
> 
> A bit more than two years later, and this is still a topic of
> discussion. I'm curious if anyone has a patch to punish me with. I'm
> very happy to be a guinea pig.

Several in phab, probably need rebased, its my WIP to eliminate
the compile time constant.  If you need more vCPU's it is just
a recompile of the kernel, libvmm, and bhyve(8) iirc.  Up the
value of MAX_VCPU.

https://reviews.freebsd.org/D10070
https://reviews.freebsd.org/D18816
https://reviews.freebsd.org/D18846

I believe all the fixes that allow you to increase VM_MAXCPU
up to something like 240 have all been committed.  

> Thanks,
> 
> -- 
> Shawn Webb
> Cofounder / Security Engineer
> HardenedBSD
> 
> GPG Key ID:          0xFF2E67A277F8E1FA
> GPG Key Fingerprint: D206 BB45 15E0 9C49 0CF9  3633 C85B 0AF8 AB23 0FB2
> https://git-01.md.hardenedbsd.org/HardenedBSD/pubkeys/src/branch/master/Shawn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc
-- End of PGP section, PGP failed!

-- 
Rod Grimes                                                 rgrimes@freebsd.org



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