Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jan 2021 14:01:43 +0200
From:      Mihai Carabas <mihai.carabas@gmail.com>
To:        Andrei Martin <andrei.cos.martin@gmail.com>
Cc:        freebsd-arm@freebsd.org, freebsd-virtualization@freebsd.org,  Darius Mihai <dariusmihaim@gmail.com>, Elena Mihailescu <elenamihailescu22@gmail.com>
Subject:   Re: [bhyve][arm64] Number of allowed vcpus
Message-ID:  <CANg1yUshoDff6ahaGY1Au=BdnzuX2yh1n-NxWfUaCnmSmzOVMg@mail.gmail.com>
In-Reply-To: <CAC%2BC28QevGZZhb5trdA=UN-yZp_rLF1pkA8CPhzE3WUuhRv0pw@mail.gmail.com>
References:  <CAC%2BC28QevGZZhb5trdA=UN-yZp_rLF1pkA8CPhzE3WUuhRv0pw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <andrei.cos.martin@gmail.com>
wrote:

> 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 larger it
> will enable only the number of cores from the device tree.
>
> I don't know if it is the best approach. Another way would be to enable
> all the cpus from the device tree, no more, no less.
>
> Do you have any suggestions?
>
> Andrei
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANg1yUshoDff6ahaGY1Au=BdnzuX2yh1n-NxWfUaCnmSmzOVMg>