From nobody Sun Apr 20 10:49:28 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 4ZgQHW1R35z5svMb for ; Sun, 20 Apr 2025 10:49:43 +0000 (UTC) (envelope-from marco.dmc12@gmail.com) Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZgQHT3NSpz3G1W for ; Sun, 20 Apr 2025 10:49:41 +0000 (UTC) (envelope-from marco.dmc12@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=MhS64K1w; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of marco.dmc12@gmail.com designates 2a00:1450:4864:20::632 as permitted sender) smtp.mailfrom=marco.dmc12@gmail.com Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-acb615228a4so524937466b.0 for ; Sun, 20 Apr 2025 03:49:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1745146180; x=1745750980; darn=freebsd.org; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=bKmd320cdXN83QmqOtlJu1SLDUBrK9qWShfV7DXJ7TU=; b=MhS64K1wX7/ik2EmBHizYNZS3spBx0q8Yl/uflDopMuT+M41qRCGOruJNnlF8xyvzk mSGuG7y8w697aXJ113s3v1fsLTRE0seqC1U0wqoTYPSq92cFpcJbxqwu3YNtwN0gcV3G 0XjjbexYrGH7MByYKZ3MT35IygmbfMySfJL75TDfGEkHPG7/e2VwL7zMa2YSYNuOqxN7 7mjeTTEtfJePXbudv6TyodTW37jiCh4rMPI3n1sjRP7fmxQKPnFbuB0/jOoB3DVWgkmN 1WEghEOECYulh74Vkysz4O+OOOqP0rwh4OSN/jTqf5IVN2qF8tSFIwaaKNAELZHZYqOM ghKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745146180; x=1745750980; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=bKmd320cdXN83QmqOtlJu1SLDUBrK9qWShfV7DXJ7TU=; b=VC/QF66uCSbfRPetNs1iTBx1TrRjd6JNQ4FlTs6QpCnMuaFGI8DxZenR15dLZdFYzI MleK9BFhq1w4WB63x0FQnlDVTdYZxVcSWBr0H70nkIZVo3uQ7k5lE6JaIJbo8GdBfXxJ tSH0oBOtAwCDz9mye3MTOPlcoKfvSz1lr4mCKBnNVoHiozxeEuA1vCO8ngaVpxdsHgaS ksRptVUnGuFHhOCoiyvqPk5qf1Xb9A3cWKivXjHHzrxhQahdKQK98aNwWqDP/FM7C/WX tswy1VTmSh9Hu5MYiG7ugt3hqaxS4C2JVaKkYQ2bH1RiUTdMJZLd5gb5YmOBiY0eY/G1 OcFg== X-Gm-Message-State: AOJu0Yy9RlgZvJ96WQm8YJUH8zFg3lmC/Z+cHOVZj5M6K8IxN8UD4FoW Flqw8e1WQTf0RmGuFST67fl+91vECKsdhokahGwWOGgT0T3b1XsO X-Gm-Gg: ASbGnctRuvgdyHqpitlS+HP+oyhF607UIYvQlkhYYzbh/ttYli0NLWeF0vw3s5LpKuV giATR7EY2Y/sV0oS94v/GJYoz8g2bQm8mmagNoB+BHOFQsTWkQ9SIZVI7mREg7K7mluad4wUb+l +y3Zdrf+owXg4fl9GsX/kw8Btttr6eAnyGO1GeA9eIisWqHjyUskPCnkl1y6m8zWcu54aeAdMV/ ntviYdPBMGqev6RaAs1FgrWOEY2n7JMPfOnK7MPiVNKOrxNPbTmWEg9hzvD9R9nGOdCSKT0A+cC 6TlLKM7bGJP/1C1cxezQLjfBSJNRBMYdV/Lyqu1ERt7z33751fsSYdb5A0HWbu3T5FSZszaErEs uiLQdRvl54m99nLmzv1I= X-Google-Smtp-Source: AGHT+IGuAba6CDsYBxzmOZ4CHxXgZ8+QP21isV5aIAPTT/Z1E+FgN2pX9CCOollvQ9DdzRoTRSvSEA== X-Received: by 2002:a17:906:2989:b0:acb:aa43:e82d with SMTP id a640c23a62f3a-acbaa43ea1cmr5838766b.3.1745146179618; Sun, 20 Apr 2025 03:49:39 -0700 (PDT) Received: from smtpclient.apple (u-3y-178-175-197.4bone.mynet.it. [178.175.197.122]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-acb6ef496cfsm376082466b.155.2025.04.20.03.49.38 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 20 Apr 2025 03:49:39 -0700 (PDT) From: Marco Orsatti Message-Id: Content-Type: multipart/alternative; boundary="Apple-Mail=_AFF365E8-9265-4C83-88CC-498470D7E906" 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 (Mac OS X Mail 16.0 \(3776.700.51.11.1\)) Subject: Re: Win 11 Pro has high CPU usage on idle in bhyve Date: Sun, 20 Apr 2025 12:49:28 +0200 In-Reply-To: <99eeb9d5-3348-4af1-8fd9-69fa68b00190@shurik.kiev.ua> Cc: virtualization@freebsd.org To: Oleksandr Kryvulia References: <95CDB4A8-D05C-4BB8-8049-FBA967E40D60@gmail.com> <694B4BDB-A871-4140-A5B2-672A07EAAFE6@gmail.com> <8A3D6173-9699-4CA4-A882-4B152EF4E298@gmail.com> <99eeb9d5-3348-4af1-8fd9-69fa68b00190@shurik.kiev.ua> X-Mailer: Apple Mail (2.3776.700.51.11.1) X-Spamd-Result: default: False [-0.64 / 15.00]; NEURAL_SPAM_MEDIUM(0.98)[0.983]; NEURAL_HAM_LONG(-0.85)[-0.849]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MV_CASE(0.50)[]; NEURAL_HAM_SHORT(-0.27)[-0.272]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ARC_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; TO_DN_SOME(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[virtualization@freebsd.org]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; RCVD_TLS_LAST(0.00)[]; TAGGED_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[virtualization@freebsd.org]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::632:from]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DKIM_TRACE(0.00)[gmail.com:+]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4ZgQHT3NSpz3G1W X-Spamd-Bar: / --Apple-Mail=_AFF365E8-9265-4C83-88CC-498470D7E906 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I tried with NVMe, but nothing changed. I noticed a difference between WIN10 and WIN11, in the boot phase when = it starts to load the system the CPU with WIN11 immediately increases = its use. This makes me think that the problem could be related to the = UEFI. I checked the UEFI options, but I did not see anything that could create = problems for the CPU > Il giorno 18 apr 2025, alle ore 08:24, Oleksandr Kryvulia = ha scritto: >=20 > Try also to change disk0_type=3D"nvme" >=20 > 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. >>=20 >> I have tested the various editions of Win11, Pro, LTSC, IoT, and they = all have the same CPU problem. >>=20 >>=20 >>=20 >>=20 >>> Marco Orsatti >>> direttore >>> I.T. Museum >>> Museo dell=E2=80=99evoluzione Informatica >>>=20 >>> www.itmuseum.it >>> p.zza Municipio, 15 - 46022 Felonica (MN) >>> Tel. +39 320 26 92 994 =20 >>> Mail. info@itmuseum.it - = Skype.marco.orsatti >>=20 >>=20 >>> Il giorno 17 apr 2025, alle ore 19:32, Mark Peek = ha scritto: >>>=20 >>> On Thu, Apr 17, 2025 at 10:19=E2=80=AFAM Marco Orsatti = > wrote: >>>> Thanks Kevin for the info. >>>>=20 >>>> 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. >>>>=20 >>>> 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% >>>=20 >>> 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. >>>=20 >>> Mark >>=20 >=20 --Apple-Mail=_AFF365E8-9265-4C83-88CC-498470D7E906 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
I tried = with NVMe, but nothing changed.

I noticed a = difference between WIN10 and WIN11, in the boot phase when it starts to = load the system the CPU with WIN11 immediately increases its use. This = makes me think that the problem could be related to the = UEFI.

I checked the UEFI options, but I did not = see anything that could create problems for the CPU



Il giorno 18 apr 2025, alle ore = 08:24, Oleksandr Kryvulia <shuriku@shurik.kiev.ua> ha = scritto:

=20 =20
Try also to change disk0_type=3D"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=E2=80=99evoluzion= e 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:




= --Apple-Mail=_AFF365E8-9265-4C83-88CC-498470D7E906--