Re: CPU count and slow Windows VM

From: Stephan Althaus <Stephan.Althaus_at_Duedinghausen.eu>
Date: Sun, 03 Nov 2024 17:11:35 UTC
On 11/3/24 16:45, Chuck Tuffli wrote:
> I'm helping someone trouble-shoot a sluggish Windows 11 VM running 
> under bhyve (FreeBSD 14.1) related to the number of vCPUs. With 1-2 
> vCPUs, the VM's performance is reasonable, but adding 8 or more vCPUs 
> makes the VM nearly unusable because even moving the mouse takes minutes.
>
> Before I dig into this, do these symptoms sound familiar? I did find a 
> mention on the wiki (1):
>
>     Only one or two VCPUs should be used during installation but this 
> number
>     can be increased once Windows is installed
>
> Is there something missing from bhyve's emulation that causes this?
> TIA
>
> --chuck
>
> (1) https://wiki.freebsd.org/bhyve/Windows

Hi!

I am using Win10 on bhyve (FreeBSD 14.1-RELEASE-p5) with 20 vCPU and no 
problem here..

I would suggest first going back zu 2 vCPUs and updating all related 
drivers (bhyve-virtio*...) and let windows doing its internal things 
like searching for updates...

How are you accessing the vm, via VNC or RDP ? Maybe theres some network 
problem..

just my 2 cents..

Regards,
Stephan