Re: Win 11 Pro has high CPU usage on idle in bhyve

From: Marco Orsatti <marco.dmc12_at_gmail.com>
Date: Thu, 17 Apr 2025 17:18:27 UTC
Thanks Kevin for the info.

I checked, but there is no Outlook Classic in the VM, I also used this script (https://github.com/Raphire/Win11Debloat) to remove unnecessary components, but the CPU is still very much in use.

It's really a strange behavior because from inside the VM the CPU usage is around 3% while at the same time from the Host it is at 240%




> Marco Orsatti
> direttore
> I.T. Museum
> Museo dell’evoluzione Informatica
> 
> www.itmuseum.it
> p.zza Municipio, 15 - 46022 Felonica (MN)
> Tel. +39 320 26 92 994  
> Mail. info@itmuseum.it 


> Il giorno 17 apr 2025, alle ore 14:47, Kevin Oberman <rkoberman@gmail.com> ha scritto:
> 
> On Thu, Apr 17, 2025 at 2:16 AM Marco Orsatti <marco.dmc12@gmail.com <mailto:marco.dmc12@gmail.com>> wrote:
>> G’day
>> 
>> I installed a windows 11 virtual machine with bhyve on FreeBSD 14.2 x64 and I always have a very busy CPU even when windows is in Idle.
>> I tried different CPU configurations for the VM, but without success.
>> 
>> This is the current configuration (vm-bhyve):
>> 
>> loader="uefi"
>> graphics_port="5950"
>> graphics="yes"
>> graphics_res="1024x768"
>> xhci_mouse="yes"
>> cpu=8
>> cpu_sockets=4
>> cpu_cores=2
>> #cpu_threads=1
>> memory=16G
>> ahci_device_limit="8"
>> network0_type="virtio-net"
>> network0_switch=“firewall"
>> disk0_type="ahci-hd"
>> disk0_name="/dev/zvol/vm/win11"
>> disk0_dev="custom"
>> utctime="no"
>> bhyve_options="-AP"
>> 
>> The first VM is Windows 11, the second is FreeBSD, the third is Debian, and the others are Windows 10:
>> 
>> 
>> 
>> 
>> 
>> Could it be an incompatibility between windows 11 and my CPU (E5-2690 v4)?
>> 
>> Thanks
>> 
>> Marco
>  
> This is a long shot, but Microsoft has admitted that Outlook Classic can cause Windows to spike CPU use that is significant. THey have no fix and your problem is likely not this, but it is a possibility. Obviously, if you don't run Outlook Classic, this is not the problem. You can see the article at https://www.theregister.com/2025/04/16/classic_outlook_cpu_spike/
> --
> Kevin Oberman, Part time kid herder and retired Network Engineer.
> E-mail: rkoberman@gmail.com <mailto:rkoberman@gmail.com>
> PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683