From nobody Sat Mar 18 14:06:24 2023 X-Original-To: freebsd-virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Pf2r00cfSz3ycJJ for ; Sat, 18 Mar 2023 14:07:12 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Pf2qz5hcJz4FxQ for ; Sat, 18 Mar 2023 14:07:11 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ed1-x536.google.com with SMTP id eg48so30578171edb.13 for ; Sat, 18 Mar 2023 07:07:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679148430; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=nkiCxu8Yq+CA8FsGFXUY3xB8su8EMNFr7IROuwMUlXU=; b=E97NCmfp6zOHimW6E0c6YUozoDwgWfBWqxuytRJGzJpgv77fNW7c7qbMm9DT6NfXJM 4HHWEwaVQ6CkVLkt4/Yt4BZKgJArNo97lwWLo2b7WpyFW4jG2klyW6zB7XNWlGiGdJlR jcyP08/uV4iKb+9uJgM29kKG35yyO65gfZOmAvEC121doTuEah+XgRu3UNXMuifXBP8H EnCFoFHN8j3m77/8kjmPj3jQkr6KMm9fmqi0kKQPq4veW2pL+gDt4I7OiP+AI2J7Zlwh wPca2TsfTjzrKr0QIpAFGi1+LkdJdvI2n1mziOB6otvoSIJuWwGlrmRnfg85QuMVSRHg Y9aA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679148430; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=nkiCxu8Yq+CA8FsGFXUY3xB8su8EMNFr7IROuwMUlXU=; b=L5ZGcy05AmbNLFkff6MiQ6u4NOuJNNzIPS0oPPa9hq4pktPYfe3eujJySlz4o5uxFv mQv83ZgTPKSG37GlnvR7eQz2XDfyEV+9wMGw1lHehjwlzKgl2dSijR4sVO2GU63NZEOj tuykJ7UBWn6BTxsefCoeUOeApkdVM+chcDhbziwAXbWSNYpMQ6gnUvEaoAPLHNE2JFMX 9orWDYHmldrP/syaz4gzKkmgfa1EmWFfN8GegPxWTvyVIcmEK/HYz/lHWwenYDjnqVc0 H0ANXZ1gLheqAhTM3EcuSWnZOVKFtSK6l3pzpw4bgbEX7EpmbE/NBbRfBEbSMtQv+5Fa oXfw== X-Gm-Message-State: AO0yUKXBPn6dx63ZBZg92llG1HEnDhCZFVHf7VKcaXvddY02hDEvdxg5 yfbTTjHt/qAd53On2fxcuICQcZohZwKyd6qDHOwEYLU+dYo= X-Google-Smtp-Source: AK7set9jlkuer5aIQiakfZ/N/Wflg0wOr5jsCvcjsYDu062rNrnhohu6wkYeLkHPcp09z+q06hvOksh4qNC9HifMUJ0= X-Received: by 2002:a50:a40d:0:b0:4fe:9251:d4fc with SMTP id u13-20020a50a40d000000b004fe9251d4fcmr3429046edb.4.1679148430309; Sat, 18 Mar 2023 07:07:10 -0700 (PDT) List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Mario Marietto Date: Sat, 18 Mar 2023 15:06:24 +0100 Message-ID: Subject: Re: Bhyve process consumes way too much CPU To: =?UTF-8?Q?Julie_Koubov=C3=A1?= Cc: freebsd-virtualization@freebsd.org Content-Type: multipart/alternative; boundary="000000000000b6be3405f72d3568" X-Rspamd-Queue-Id: 4Pf2qz5hcJz4FxQ X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --000000000000b6be3405f72d3568 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello Julie, I'm going to start the same project as you. To be honest,after having installed home assistant,I want to add the chat-gpt module and at the end,I want to find a way to give a human-like voice to chat-gpt. Maybe I can help you as soon as I've reached your point. Can we keep in contact ? On Sat, Mar 18, 2023 at 3:00=E2=80=AFPM Julie Koubov=C3=A1 wrote: > 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. Th= e > 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 t= he > 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 partitio= n. > > Thanks for your help, > Julie > --=20 Mario. --000000000000b6be3405f72d3568 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello Julie,

I'm going t= o start the same project as you. To be=C2=A0honest,after having installed h= ome assistant,I want to add the chat-gpt module and at the end,I want to fi= nd a way to give a human-like voice to chat-gpt. Maybe I can help you as so= on as I've reached your point. Can we keep in contact ?

On Sa= t, Mar 18, 2023 at 3:00=E2=80=AFPM Julie Koubov=C3=A1 <julie@koubova.net> wrote:
Hey everyone,

I= 9;m running Linux (Home Assistant OS) in Bhyve on FreeBSD 13.1. I use PCI p= assthrough to allow the VM to=C2=A0access 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 assign= ed four cores.=C2=A0

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 u= sage 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 d= ebugging 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


--
Mario.
--000000000000b6be3405f72d3568--