Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Apr 2025 19:18:27 +0200
From:      Marco Orsatti <marco.dmc12@gmail.com>
To:        Kevin Oberman <rkoberman@gmail.com>
Cc:        "virtualization@freebsd.org" <virtualization@freebsd.org>
Subject:   Re: Win 11 Pro has high CPU usage on idle in bhyve
Message-ID:  <694B4BDB-A871-4140-A5B2-672A07EAAFE6@gmail.com>
In-Reply-To: <CAN6yY1vRmEHxbDp6kAcJ_se2JS2VwTv=j87c3NVc24HKFduwMQ@mail.gmail.com>
References:  <95CDB4A8-D05C-4BB8-8049-FBA967E40D60@gmail.com> <CAN6yY1vRmEHxbDp6kAcJ_se2JS2VwTv=j87c3NVc24HKFduwMQ@mail.gmail.com>

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

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


[-- Attachment #2 --]
<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Thanks Kevin for the info.<div><div><br></div><div>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.</div><div><br></div><div>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%</div><div><br></div><div><br></div><div>
<br><br><div>
<meta charset="UTF-8"><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div dir="auto" style="caret-color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div><blockquote cite="mid:5407162C.5060603@mcrservice.net" type="cite" style="font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal;"><font color="#1b1b1b">Marco Orsatti<br>direttore<br></font></blockquote><blockquote cite="mid:5407162C.5060603@mcrservice.net" type="cite" style="font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal;"><font color="#1b1b1b">I.T. Museum<br></font></blockquote><blockquote cite="mid:5407162C.5060603@mcrservice.net" type="cite" style="font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal;"><font color="#1b1b1b">Museo dell’evoluzione Informatica<br><br>www.itmuseum.it<br>p.zza Municipio, 15 - 46022 Felonica (MN)<br>Tel. +39 320 26 92 994 &nbsp;<br>Mail.&nbsp;info@itmuseum.it&nbsp;</font></blockquote></div></div></div>
</div>
<div><br><blockquote type="cite"><div>Il giorno 17 apr 2025, alle ore 14:47, Kevin Oberman &lt;rkoberman@gmail.com&gt; ha scritto:</div><br class="Apple-interchange-newline"><div><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">On Thu, Apr 17, 2025 at 2:16 AM Marco Orsatti &lt;<a href="mailto:marco.dmc12@gmail.com">marco.dmc12@gmail.com</a>&gt; wrote:</div></div><div class="gmail_quote gmail_quote_container"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">G’day<br>
<br>
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.<br>
I tried different CPU configurations for the VM, but without success.<br>
<br>
This is the current configuration (vm-bhyve):<br>
<br>
loader="uefi"<br>
graphics_port="5950"<br>
graphics="yes"<br>
graphics_res="1024x768"<br>
xhci_mouse="yes"<br>
cpu=8<br>
cpu_sockets=4<br>
cpu_cores=2<br>
#cpu_threads=1<br>
memory=16G<br>
ahci_device_limit="8"<br>
network0_type="virtio-net"<br>
network0_switch=“firewall"<br>
disk0_type="ahci-hd"<br>
disk0_name="/dev/zvol/vm/win11"<br>
disk0_dev="custom"<br>
utctime="no"<br>
bhyve_options="-AP"<br>
<br>
The first VM is Windows 11, the second is FreeBSD, the third is Debian, and the others are Windows 10:<br>
<br>
<br>
<br>
<br>
<br>
Could it be an incompatibility between windows 11 and my CPU (E5-2690 v4)?<br>
<br>
Thanks<br>
<br>
Marco</blockquote><div>&nbsp;</div></div><div><div style="font-family:tahoma,sans-serif;font-size:small" class="gmail_default">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 <a href="https://www.theregister.com/2025/04/16/classic_outlook_cpu_spike/">https://www.theregister.com/2025/04/16/classic_outlook_cpu_spike/</a><br></div></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Kevin Oberman, Part time kid herder and retired Network Engineer<span class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">.</span><br>E-mail: <a href="mailto:rkoberman@gmail.com" target="_blank">rkoberman@gmail.com</a><br></div><div>PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683</div></div></div></div></div></div></div></div></div>
</div></blockquote></div><br></div></div></body></html>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?694B4BDB-A871-4140-A5B2-672A07EAAFE6>