Hi Andrei,
I've summed up your proposals and sketched and algorithm:
N - the number of vcpus from the '-c' parameter
X - the number of vcpus from the device tree
if there isn't the parameter -> start the vm with X vcpus
if there is the parameter --> if N <= X -> start the vm with N parameters
Thanks for you responses and sorry for not specifying the guest's device
tree.
I've summed up your proposals and sketched and algorithm:
N - the number of vcpus from the '-c' parameter
X - the number of vcpus from the device tree
if there isn't the parameter -> start the vm with X vcpus
if there
Hi Andrei,
While working on enabling multiple virtual cpus for the arm64 virtual
machine
I used the bhyve's "-c N" parameter to create N cpus (it gets only the
cpus, in contrast to the amd64). If N is smaller than the number of cores
described in the device tree it will enable only N and if it's
On Wed, 2021-01-13 at 17:00 +0200, Mihai Carabas wrote:
> We are talking here about the device tree of the guest. If you boot
> up a guest with a device tree of X vcpus, why specify something else
> on the command line?
Because typing a command line arg is a lot easier than recompiling a
device tr
> On Wed, Jan 13, 2021 at 4:55 PM Rodney W. Grimes <
> freebsd-...@gndrsh.dnsmgr.net> wrote:
>
> > > Hello,
> > >
> > > >From my perspective bhyve should use what is stated in the device tree
> > if
> > > no parameter is given and throw an error when N is greater than the
> > device
> > > tree val
On Wed, Jan 13, 2021 at 4:55 PM Rodney W. Grimes <
freebsd-...@gndrsh.dnsmgr.net> wrote:
> > Hello,
> >
> > >From my perspective bhyve should use what is stated in the device tree
> if
> > no parameter is given and throw an error when N is greater than the
> device
> > tree value.
> >
> > Mihai
>
> Hello,
>
> >From my perspective bhyve should use what is stated in the device tree if
> no parameter is given and throw an error when N is greater than the device
> tree value.
>
> Mihai
That seems to be one reasonable solution. I am not very informed on what
the CPU over commit situation is
Hello,
>From my perspective bhyve should use what is stated in the device tree if
no parameter is given and throw an error when N is greater than the device
tree value.
Mihai
On Wed, Jan 13, 2021 at 1:55 PM Andrei Martin
wrote:
> Hello,
>
> While working on enabling multiple virtual cpus for t
Hello,
While working on enabling multiple virtual cpus for the arm64 virtual
machine
I used the bhyve's "-c N" parameter to create N cpus (it gets only the
cpus, in contrast to the amd64). If N is smaller than the number of cores
described in the device tree it will enable only N and if it's large