Re: Bhyve process consumes way too much CPU
- Reply: Nikita Olenets : "Re: Bhyve process consumes way too much CPU"
- In reply to: Nikita Olenets : "Re: Bhyve process consumes way too much CPU"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Mar 2023 16:53:35 UTC
Are you talking with me ? I can install Home Assistant only on the hardware that I already have. Actually the best piece of hardware that I can use for my project (installing the chat gpt module on Home Assistant + a speech recognition software to give a voice to chat gpt) is the nvidia jetson nano. And If I remember correctly,it supports only Ubuntu. I can do the same on my Workstation,but I prefer to have the ability to move the smaller nano within a plastic container. At the end of the day It will be almost the same as a vocal assistant,but uch more programmable. On Tue, Mar 21, 2023 at 5:41 PM Nikita Olenets <zeon@zeon.kiev.ua> wrote: > Hi, > > Is there any specific reason you want it to be installed under Ubuntu? > I’m asking this because I use HasOS(home assistant OS) which is based on > Linux (can’t recall the distribution) and I’m running this for three years > now. No issues at all. I do have even passed through ZigBee usb stick and > it works just fine. > > On Mon, Mar 20, 2023 at 11:12 Mario Marietto <marietto2008@gmail.com> > wrote: > >> Hello Julie. >> >> As I said some days ago,I'm trying to install homeassistant. For the >> moment I'm using Ubuntu 20.04 that I have installed on the Jetson nano,but >> later I will use Ubuntu within bhyve on FreeBSD. Unfortunately,a >> developer,I suppose,told me that homeassistant is not supported on ubuntu. >> In Fact I tried to do that following this tutorial : >> >> https://vikoky.medium.com/jetson-nano-powered-house-29ce73f11de4 >> >> but I've got a lot of errors. I've started a thread on reddit,asking for >> help,here : >> >> >> https://www.reddit.com/r/homeassistant/comments/11wglx7/homeassisant_cant_be_installed_on_ubuntu_2004_the/ >> >> and he/she told me that ubuntu is not supported. So,which linux >> distribution have you used within bhyve ? thanks. >> >> On Sun, Mar 19, 2023 at 7:12 PM Miroslav Lachman <000.fbsd@quip.cz> >> wrote: >> >>> On 18/03/2023 14:59, Julie Koubová 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. 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. >>> >>> I had similar problem few years ago. Never solved. Exhibited on bhyve >>> and VirtualBox too. The problem was "the more vCPU for VM, the slower >>> VM". >>> Can you try to set just 1 vCPU to your VM? In my case, VM with 1 vCPU >>> was fast, almost no overhead, 2 v CPUs slightly slower but 4 or more was >>> slow as hell. >>> I would also recommend not to overprovision real CPU core count to vCPU >>> and not use multi/hyper threading cores as real cores. With your CPU, >>> use only 4 cores to assign to all your VMs (4 VMs with 1 vCPU each, or 2 >>> VMs with 2 vCPU each, 1 VM with 4 vCPU) >>> >>> Miroslav Lachman >>> >>> >>> >> >> -- >> Mario. >> > -- > Nikita Olenets > > -- Mario.