From nobody Fri Apr 18 06:24:35 2025 X-Original-To: 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 4Zf4Vj5Cvpz5tVjF for ; Fri, 18 Apr 2025 06:24:45 +0000 (UTC) (envelope-from shuriku@shurik.kiev.ua) Received: from mail.flex-it.com.ua (mail.flex-it.com.ua [193.239.74.7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Zf4Vf6wZ6z3G1k for ; Fri, 18 Apr 2025 06:24:42 +0000 (UTC) (envelope-from shuriku@shurik.kiev.ua) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of shuriku@shurik.kiev.ua designates 193.239.74.7 as permitted sender) smtp.mailfrom=shuriku@shurik.kiev.ua Received: from 93.183.208.50.ipv4.datagroup.ua ([93.183.208.50] helo=[192.168.200.135]) by mail.flex-it.com.ua with esmtpsa (TLS1.3) tls TLS_AES_128_GCM_SHA256 (Exim 4.98.2 (FreeBSD)) (envelope-from ) id 1u5f9P-000000006Wo-1W35 for virtualization@freebsd.org; Fri, 18 Apr 2025 09:24:35 +0300 Content-Type: multipart/alternative; boundary="------------9e7Zcno0filEulaP0rUpo3ch" Message-ID: <99eeb9d5-3348-4af1-8fd9-69fa68b00190@shurik.kiev.ua> Date: Fri, 18 Apr 2025 09:24:35 +0300 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Win 11 Pro has high CPU usage on idle in bhyve To: virtualization@freebsd.org References: <95CDB4A8-D05C-4BB8-8049-FBA967E40D60@gmail.com> <694B4BDB-A871-4140-A5B2-672A07EAAFE6@gmail.com> <8A3D6173-9699-4CA4-A882-4B152EF4E298@gmail.com> Content-Language: uk-UA From: Oleksandr Kryvulia In-Reply-To: <8A3D6173-9699-4CA4-A882-4B152EF4E298@gmail.com> X-ACL-Warn: SPF failed. 93.183.208.50 is not allowed to send mail from shurik.kiev.ua. X-Spamd-Result: default: False [1.97 / 15.00]; NEURAL_SPAM_LONG(1.00)[1.000]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; NEURAL_SPAM_SHORT(0.27)[0.271]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:35297, ipnet:193.239.72.0/22, country:UA]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[virtualization@freebsd.org]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; R_DKIM_NA(0.00)[]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[shurik.kiev.ua]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4Zf4Vf6wZ6z3G1k X-Spamd-Bar: + This is a multi-part message in MIME format. --------------9e7Zcno0filEulaP0rUpo3ch Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Try also to change disk0_type="nvme" 17.04.25 20:45, Marco Orsatti: > I actually connect to the VM via RDP (from another PC), but when I > took the screenshot and looked at the CPU, there is no active > connection, neither VNC nor RDP. > > I have tested the various editions of Win11, Pro, LTSC, IoT, and they > all have the same CPU problem. > > > > >> 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   -   Skype.marco.orsatti > >> Il giorno 17 apr 2025, alle ore 19:32, Mark Peek ha >> scritto: >> >> On Thu, Apr 17, 2025 at 10:19 AM Marco Orsatti >> wrote: >> >> 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% >> >> >> Since you're running in graphics mode you likely have a VNC client >> running to connect to it. Try disconnecting the VNC connection and >> check the bhyve CPU usage. Screen updates need to be sent over VNC so >> even little changes (blinking cursors, clock, etc.) will generate >> traffic and use CPU. >> >> Mark > --------------9e7Zcno0filEulaP0rUpo3ch Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit Try also to change disk0_type="nvme"

17.04.25 20:45, Marco Orsatti:
I actually connect to the VM via RDP (from another PC), but when I took the screenshot and looked at the CPU, there is no active connection, neither VNC nor RDP.

I have tested the various editions of Win11, Pro, LTSC, IoT, and they all have the same CPU problem.




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   -   Skype.marco.orsatti

Il giorno 17 apr 2025, alle ore 19:32, Mark Peek <mp@freebsd.org> ha scritto:

On Thu, Apr 17, 2025 at 10:19 AM Marco Orsatti <marco.dmc12@gmail.com> wrote:
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%

Since you're running in graphics mode you likely have a VNC client running to connect to it. Try disconnecting the VNC connection and check the bhyve CPU usage. Screen updates need to be sent over VNC so even little changes (blinking cursors, clock, etc.) will generate traffic and use CPU.

Mark


--------------9e7Zcno0filEulaP0rUpo3ch--