Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Dec 2021 21:13:48 +0300
From:      Oleg Ginzburg <olevole@olevole.ru>
To:        Miroslav Lachman <000.fbsd@quip.cz>, rgrimes@freebsd.org
Cc:        bsdlists@jld3.net, jbo@insane.engineer, freebsd-virtualization@freebsd.org
Subject:   Re: bhyve vCPU limit
Message-ID:  <CAMsb%2BmbY4ZbtFvBHd15naGT-BdXAVKg6BAOTpnBNg7hNcg2Czw@mail.gmail.com>
In-Reply-To: <30e4454c-414a-833f-3829-586a450e7205@quip.cz>
References:  <PigdsByvTXmOLg46mIkWprP1GQQPuxEiHn55uKNYuSBIzBFFe-CVGYdJ2FuzYSd5OebhMlSpRGMIisaN07yzjSSaWz8JQ7LeXDeINIZg_D8=@insane.engineer> <4E8A7FD3-B01E-4ADE-A290-360F3B04AC0F@jld3.net> <30e4454c-414a-833f-3829-586a450e7205@quip.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi

On Wed, Dec 1, 2021 at 7:52 PM Miroslav Lachman <000.fbsd@quip.cz> wrote:
>I was playing with VMs in VirtualBox and Bhyve and compared
> performance with increasing vCPU count. The more cores VM get the slower

How many physical cores you have on the host? This is a characteristic
behavior when overcoming.
But without overcommit I observe productivity growth:

1)
Single vCore  benchmark via cpuminer: https://pastebin.com/mg46RvDT
TOP from host: https://pastebin.com/LvbBiyFz


2)
Sixteen vCore benchmark via cpuminer: https://pastebin.com/7FQjaVM8
TOP from host: https://pastebin.com/dLpreq9D

I observe almost linear growth.

In addition, the loss of performance can be associated with NUMA
(required cpuset/cpuset_setaffinity
and control of memory capacity)

As far as I remember, it is not enough to simply change one parameter
in .h file: https://bhyvecon.org/bhyveconOttawa2019-Rodney.pdf



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMsb%2BmbY4ZbtFvBHd15naGT-BdXAVKg6BAOTpnBNg7hNcg2Czw>