Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Mar 2023 14:59:44 +0100
From:      =?UTF-8?Q?Julie_Koubov=C3=A1?= <julie@koubova.net>
To:        freebsd-virtualization@freebsd.org
Subject:   Bhyve process consumes way too much CPU
Message-ID:  <CABQ-j0bbTQWhM1wgYvDvvwpxQexqgtYDgN4vj8pYp2Ttu_WHHg@mail.gmail.com>
In-Reply-To: <CABQ-j0ZH-OrZSb866iVMba-ZfxOsovGoyLd=YZ=auOiNtm-TkA@mail.gmail.com>
References:  <CABQ-j0ZH-OrZSb866iVMba-ZfxOsovGoyLd=YZ=auOiNtm-TkA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000cde49c05f72d1bfd
Content-Type: text/plain; charset="UTF-8"

Hey everyone,

I'm running Linux (Home Assistant OS) in Bhyve on FreeBSD 13.1. I use PCI
passthrough to allow the VM to access a USB card with a couple of radio
dongles. The host machine is an Intel Core i3 13100 with 64 GB of RAM. The
CPU has 4 physical cores (8 hyper-threaded). The virtual machine is
assigned four cores.

The host load averages are 0.39 0.39 0.40 right now, which seems way too
much. The same workload was previously handled by a Raspberry Pi 4, and the
CPU usage there was under 10% when not doing anything special. Inside the
guest OS, the CPU usage is reported around 5%, which seems reasonable.

What's wrong? How can I start debugging this issue? I use ZFS on the host,
vm-bhyve to manage the virtual machines, and I don't have a swap partition.

Thanks for your help,
Julie

--000000000000cde49c05f72d1bfd
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-size:large">Hey=
 everyone,<br></div><div class=3D"gmail_quote"><div dir=3D"ltr"><div class=
=3D"gmail_default" style=3D"font-size:large"><br></div><div class=3D"gmail_=
default" style=3D"font-size:large">I&#39;m running Linux (Home Assistant OS=
) in Bhyve on FreeBSD 13.1. I use PCI passthrough to allow the VM to=C2=A0a=
ccess a USB card with a couple of radio dongles. The host machine is an Int=
el Core i3 13100 with 64 GB of RAM. The CPU has 4 physical cores (8 hyper-t=
hreaded). The virtual machine is assigned four cores.=C2=A0</div><div class=
=3D"gmail_default" style=3D"font-size:large"><br></div><div class=3D"gmail_=
default" style=3D"font-size:large">The host load averages are 0.39 0.39 0.4=
0 right now, which seems way too much. The same workload was previously han=
dled by a Raspberry Pi 4, and the CPU usage there was under 10% when not do=
ing anything special. Inside the guest OS, the CPU usage is reported around=
 5%, which seems reasonable.</div><div class=3D"gmail_default" style=3D"fon=
t-size:large"><br></div><div class=3D"gmail_default" style=3D"font-size:lar=
ge">What&#39;s wrong? How can I start debugging this issue? I use ZFS on th=
e host, vm-bhyve to manage the virtual machines, and I don&#39;t have a swa=
p partition.</div><div class=3D"gmail_default" style=3D"font-size:large"><b=
r></div><div class=3D"gmail_default" style=3D"font-size:large">Thanks for y=
our help,</div><div class=3D"gmail_default" style=3D"font-size:large">Julie=
</div></div>
</div></div>

--000000000000cde49c05f72d1bfd--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABQ-j0bbTQWhM1wgYvDvvwpxQexqgtYDgN4vj8pYp2Ttu_WHHg>