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>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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

[-- Attachment #2 --]
<div dir="ltr"><div class="gmail_default" style="font-size:large">Hey everyone,<br></div><div class="gmail_quote"><div dir="ltr"><div class="gmail_default" style="font-size:large"><br></div><div class="gmail_default" style="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 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. </div><div class="gmail_default" style="font-size:large"><br></div><div class="gmail_default" style="font-size:large">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.</div><div class="gmail_default" style="font-size:large"><br></div><div class="gmail_default" style="font-size:large">What&#39;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&#39;t have a swap partition.</div><div class="gmail_default" style="font-size:large"><br></div><div class="gmail_default" style="font-size:large">Thanks for your help,</div><div class="gmail_default" style="font-size:large">Julie</div></div>
</div></div>
help

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