From nobody Thu Apr 17 17:45:55 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 4ZdlgR4dfpz5sWS5 for ; Thu, 17 Apr 2025 17:46:11 +0000 (UTC) (envelope-from marco.dmc12@gmail.com) Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) (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 4ZdlgR2y0Gz3pJY; Thu, 17 Apr 2025 17:46:11 +0000 (UTC) (envelope-from marco.dmc12@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-acae7e7587dso163351666b.2; Thu, 17 Apr 2025 10:46:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1744911970; x=1745516770; 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=PTHsiqOUGJSN5BzG7Huk16qJOfJysfAdFCSNJTgxOfI=; b=as6hOVnN2T6rfVVY4WBbTztBu8IU1GGhfiJMCHWtqNpS1Jgl9s/II6btlraFwRL6B3 owc4rs4P0+JQI0qyc+vQgfoa1pgUT37FoVbeBtrcbviCal8f9MLmyNa7H+y4B0SAuz/J c/PjQIz1i3hzmZUsjtOfZq+Qe2naM7/MlXtnmxDaB4JFcFTKA+yvRIR30EMfgKXEL7OV +ZuE99aqmoSIbBP7QLGkavV8hHI+1HAKR3Ny9VaGgGmPxFjtGNg7RV2KPSARBAJAaXdB v9liVWhZXmHQn/DVqcv+L3Ik4el1lN3nyj5869moGkTxhM7E3G9LFymA17dUhGi/zA81 G0pA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744911970; x=1745516770; 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=PTHsiqOUGJSN5BzG7Huk16qJOfJysfAdFCSNJTgxOfI=; b=WfmErC6an+D2O7E19X6O1P7GEKnkokKT55e8ZD8M+usFOJn1BVpNnWkyiSeThXZ2xX sWZxCllU91ohBTMj1QOuYapo2BuejECoyqMcNxWfzDU8RaGNo4wTJPcpd9GCOBT1fEqs MerARNy5I7bkBNVjsXtfxTXjsqziaPrGcymVlo6aNDby9wEuEwL3aKR7uHwpXETlXTSf 2rQV2zBpKDgZK/2l4W5FYDuE61Ry6OEz7NkmAn4y1AtdsXVx2g866spm87Ia0GP5a8Cc sg4bDRRSn01vKlcUJn5O1vneNdHPcYugk80zq7TTFHQuxdbruSBGAtYoa/gwHgpMuYF1 9/Vg== X-Forwarded-Encrypted: i=1; AJvYcCWJ+d7Riwwc1dVUgVNnehLt3L1FaDUSKIE3GxIc6cGu/r38A07XQbWoUAXoMj/Qg3odIHe6VyXYmOMNnCfCaA==@freebsd.org X-Gm-Message-State: AOJu0YwjH4OJ97tdV+gF33CMqrsmoPFM0mHbHRFMYEVw7HbFikXXvPey VdWPxxkAr8nMrD6pT2Ic41HI4JXM5hEj+EEm7lO2vhwu6vqOak28wA6H/aov X-Gm-Gg: ASbGncsKQRjLCdiB12jblGHv3QnUGNc1Fb7m5CT1vosJij2zIZ0LwyEHrb1yWl6Tfsl E44HQ4npeBOowfzi0udcQH3lx9ZfcZYqLOXWtbpFV0BPFkCqBJPwMP/2oMJezK7tfZ+0U4ddGG5 SOKq4MgHtm4jYxE3R3yYRQsl6b/QOOhTFCbHGWqRIoTzC+OSP4lLLGJ8RHsCd7n9pjgT7cVySQi nG2fvI4TwHs/AtptlEVGpGv89ErLoUKzg10ZQQunGmIVeJqk5YvGCiDe5DtsNwDY1619KIpvRxA qJEQtASt/3aOFOGCTwBxKNfgZ7GeSq5skjUT++1VXVRpXURdBPhVj2j9OUHq81QUYkbM/D6AOw3 BgMPJUoP0wotRft3B6ZI= X-Google-Smtp-Source: AGHT+IFv/X4hpjVyjGIE8GqqNfGJz2/2EMNkJCLvPkEJoVY2DPss1HSml3ZLkx4SdmvdLQbvwj8MfQ== X-Received: by 2002:a17:907:3da2:b0:aca:e2d6:508c with SMTP id a640c23a62f3a-acb42c3342emr541004966b.56.1744911969379; Thu, 17 Apr 2025 10:46:09 -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-acb6ec50607sm22326466b.71.2025.04.17.10.46.08 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Apr 2025 10:46:08 -0700 (PDT) From: Marco Orsatti Message-Id: <8A3D6173-9699-4CA4-A882-4B152EF4E298@gmail.com> Content-Type: multipart/alternative; boundary="Apple-Mail=_291C77BA-888B-47BE-A7F2-FF512C6BD6A8" 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: Thu, 17 Apr 2025 19:45:55 +0200 In-Reply-To: Cc: Kevin Oberman , "virtualization@freebsd.org" To: Mark Peek References: <95CDB4A8-D05C-4BB8-8049-FBA967E40D60@gmail.com> <694B4BDB-A871-4140-A5B2-672A07EAAFE6@gmail.com> X-Mailer: Apple Mail (2.3776.700.51.11.1) X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Queue-Id: 4ZdlgR2y0Gz3pJY X-Spamd-Bar: ---- --Apple-Mail=_291C77BA-888B-47BE-A7F2-FF512C6BD6A8 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 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=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 > 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 --Apple-Mail=_291C77BA-888B-47BE-A7F2-FF512C6BD6A8 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
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=99evoluzione = 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=E2=80=AFAM 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

= --Apple-Mail=_291C77BA-888B-47BE-A7F2-FF512C6BD6A8--