Any plans to increase the maximum number of virtual CPUs above 16?

Trent Thompson trentnthompson at gmail.com
Tue Nov 27 22:20:40 UTC 2018


Simon,
It is possible to go above that limit if you're willing to recompile the
VMM kernel module.

There has been some discussion as to why this was set to 16 recently (
https://lists.freebsd.org/pipermail/freebsd-virtualization/2018-November/006939.html
).

Some may experience problems at higher counts. I had no issues at 32, and I
believe someone else didn't have issues at 24.

The line `#define VM_MAXCPU    16    /* maximum virtual cpus */` is what
needs to be changed.

Reference:
https://lists.freebsd.org/pipermail/freebsd-virtualization/2016-September/004721.html

On Tue, Nov 27, 2018, 3:07 PM Simon Connah <scopensource at gmail.com 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?
> _______________________________________________
> freebsd-virtualization at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
> To unsubscribe, send any mail to "
> freebsd-virtualization-unsubscribe at freebsd.org"
>


More information about the freebsd-virtualization mailing list