Date: Thu, 17 Apr 2025 19:45:55 +0200 From: Marco Orsatti <marco.dmc12@gmail.com> To: Mark Peek <mp@freebsd.org> Cc: Kevin Oberman <rkoberman@gmail.com>, "virtualization@freebsd.org" <virtualization@freebsd.org> Subject: Re: Win 11 Pro has high CPU usage on idle in bhyve Message-ID: <8A3D6173-9699-4CA4-A882-4B152EF4E298@gmail.com> In-Reply-To: <CAGGgMJdfnnQ%2BgKtWevWs4%2BzbdPuj_SDzJdPc_FKFBKnTvf2h3w@mail.gmail.com> References: <95CDB4A8-D05C-4BB8-8049-FBA967E40D60@gmail.com> <CAN6yY1vRmEHxbDp6kAcJ_se2JS2VwTv=j87c3NVc24HKFduwMQ@mail.gmail.com> <694B4BDB-A871-4140-A5B2-672A07EAAFE6@gmail.com> <CAGGgMJdfnnQ%2BgKtWevWs4%2BzbdPuj_SDzJdPc_FKFBKnTvf2h3w@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <mp@freebsd.org> ha = scritto: >=20 > On Thu, Apr 17, 2025 at 10:19=E2=80=AFAM Marco Orsatti = <marco.dmc12@gmail.com <mailto:marco.dmc12@gmail.com>> 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 <html><head><meta http-equiv=3D"content-type" content=3D"text/html; = charset=3Dutf-8"></head><body style=3D"overflow-wrap: break-word; = -webkit-nbsp-mode: space; line-break: after-white-space;"><div><div>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.</div><div><br></div><div>I have tested the various = editions of Win11, Pro, LTSC, IoT, and they all have the same CPU = problem.</div></div><div><br></div><div><br></div><div><br></div><br = id=3D"lineBreakAtBeginningOfMessage"><div> <meta charset=3D"UTF-8"><div dir=3D"auto" style=3D"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=3D"auto" style=3D"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=3D"mid:5407162C.5060603@mcrservice.net" type=3D"cite" = style=3D"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=3D"#1b1b1b">Marco = Orsatti<br>direttore<br></font></blockquote><blockquote = cite=3D"mid:5407162C.5060603@mcrservice.net" type=3D"cite" = style=3D"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=3D"#1b1b1b">I.T. Museum<br></font></blockquote><blockquote = cite=3D"mid:5407162C.5060603@mcrservice.net" type=3D"cite" = style=3D"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=3D"#1b1b1b">Museo dell=E2=80=99evoluzione = Informatica<br><br>www.itmuseum.it<br>p.zza Municipio, 15 - 46022 = Felonica (MN)<br>Tel. +39 320 26 92 994 =  <br>Mail. info@itmuseum.it   -   = Skype.marco.orsatti</font></blockquote></div></div></div> </div> <div><br><blockquote type=3D"cite"><div>Il giorno 17 apr 2025, alle ore = 19:32, Mark Peek <mp@freebsd.org> ha scritto:</div><br = class=3D"Apple-interchange-newline"><div><div dir=3D"ltr"><div = dir=3D"ltr">On Thu, Apr 17, 2025 at 10:19=E2=80=AFAM Marco Orsatti = <<a href=3D"mailto:marco.dmc12@gmail.com">marco.dmc12@gmail.com</a>>= wrote:</div><div class=3D"gmail_quote = gmail_quote_container"><blockquote class=3D"gmail_quote" = style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid = rgb(204,204,204);padding-left:1ex"><div>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 (<a = href=3D"https://github.com/Raphire/Win11Debloat" = target=3D"_blank">https://github.com/Raphire/Win11Debloat</a>) 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></div></blockquote><div><br></div><div>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.</div><div><br></div><div>Mark</div></div></div> </div></blockquote></div><br></body></html>= --Apple-Mail=_291C77BA-888B-47BE-A7F2-FF512C6BD6A8--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8A3D6173-9699-4CA4-A882-4B152EF4E298>
