Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Nov 2018 15:20:26 -0700
From:      Trent Thompson <trentnthompson@gmail.com>
To:        Simon Connah <scopensource@gmail.com>
Cc:        FreeBSD virtualization <freebsd-virtualization@freebsd.org>
Subject:   Re: Any plans to increase the maximum number of virtual CPUs above 16?
Message-ID:  <CAE7bWBpBb70BU-sGzZ1R_GwLZfLo=zD3y34M4rD2=5y72=hziw@mail.gmail.com>
In-Reply-To: <331a93ae-d4d8-e510-4499-7185e31fbbc9@gmail.com>
References:  <331a93ae-d4d8-e510-4499-7185e31fbbc9@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
> To unsubscribe, send any mail to "
> freebsd-virtualization-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE7bWBpBb70BU-sGzZ1R_GwLZfLo=zD3y34M4rD2=5y72=hziw>