From nobody Thu Apr 17 17:32:03 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 4ZdlMM2f7Rz5sVN7 for ; Thu, 17 Apr 2025 17:32:15 +0000 (UTC) (envelope-from mp@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZdlMM24zbz3frX for ; Thu, 17 Apr 2025 17:32:15 +0000 (UTC) (envelope-from mp@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1744911135; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=zZ3gf5Ue2VUaOTHi458lEkGyBjEJlR7N1A/RmpBZXuw=; b=s/NIjSN7SNHkri9Rn1AHPvucCrsQDxicLAhPPaq6xBMkeUjU5YUovkSrFTP2LngvQjUYMG lEYGSE763lbDFbhCRp0us+9NHO+6p9eRBf8OQMnuTAsk2ZLPp9T3ndqa1mU+BwdqazDXHW lg5WQHiYd2Kh14pUn9328wWQaPa3i+gOIg//AIYhQd5AOsOw+aOsUFRQM3ZEzVMRFcBxgN +952j7UExbMKUnhdSnPJRhPX1vXXS3vcl4Xhmyo7eQEAKamXctkWnBLzgUsfhddVIRLLK+ 00pwvjXQqpWKLCLpf94JCL4K1+8CRjkrxTTHeIGb92fp5KqvEJUcZsKew25MZw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1744911135; a=rsa-sha256; cv=none; b=rve0lzfrDwfsBeE+5PPMjBWp2pIoddZcoc7+DRJ8xKGOd/q2jprFGKW/Dji5DSZAAmXUb/ zAIfYbF0t9bXbRMxTOzWmuQxGjua+NuqKbKp+UV56b7GPy8x9cJIVuCXE2Czfl3JxGfmjm rRqg3m+RArjlI8DFC7dhJQPsXKAqTr0Bw5BhBGgSA/Q+js4CyXcn0YN4ifXcI0ttLF5M8R EA+PZfThI+Wi69/R+nReYdenQlTs4n2fVwqgeZ5qlwZRuoeSLxE+M1feScZ5RXh7pmRTEK rbNWtTqyt9tFHVnGyI2UpjAYRhRwNO6eHC4kSniLtUsDB8QHx4RcoRjBH4BKnA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1744911135; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=zZ3gf5Ue2VUaOTHi458lEkGyBjEJlR7N1A/RmpBZXuw=; b=N0o9GQgPlANd7rInpWDsZTYwTiTU2EbXBLPqFJGxGN1jyE4z3nTX9VymP5LgYCrr28SUkq F8rCbB9WVZJ/rO4pfyjwiudater/qmL0IG7A5/BSxu7yrHO2WMRZleatL23jm6BbEwcI8B XyGWRUD3YsaUBCwoonoPBPJn+Ky+LywplU5KG3rzXGkfk0L+KZhP8IIJxJBqPP8I3aSLbp ieUQmcZ+pFb/vgzWF+lRk+wi07wA6AiLO7M13G29GFwfLDxb8ZG3t6h/WhPQ+FRrH8Id/S MWUZjyodQoXYyaIp9y+P9p+HTIPkPNyTawRKUfC9QT1bJqNaqmz1pTAQgS8X6g== Received: from mail-qt1-f174.google.com (mail-qt1-f174.google.com [209.85.160.174]) (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)) (Authenticated sender: mp) by smtp.freebsd.org (Postfix) with ESMTPSA id 4ZdlMM1GKVzJVs for ; Thu, 17 Apr 2025 17:32:15 +0000 (UTC) (envelope-from mp@freebsd.org) Received: by mail-qt1-f174.google.com with SMTP id d75a77b69052e-476805acddaso10754241cf.1 for ; Thu, 17 Apr 2025 10:32:15 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCWZiXiCx+m4xXmBqwljpw/Ke8u6bSx7fMLWuV1xEvCfvhF2ALI/em3tk65MNrj14GX5s6Pv+u8t8fbah5xcpg==@freebsd.org X-Gm-Message-State: AOJu0YzisSzR9BxINJ9hCQJByyeh2PeNYotXW7jxDxw+Imdw7BPPmzW0 rtQyzz/p/Bqrfcz3BosxUVMrRBROHFuGVIOcCVz7QlnDce2vH7orXY2UqwA/bWQvrgJEnXqs1CK e+MYiFtSf2P0Dv8Qfv0tJGIUdxQmbFtZoC1SYVg== X-Google-Smtp-Source: AGHT+IFlKWwMW2HvV8G5zbdeFdYvhJYyRfaEk8+V9P6398NcC34PBR05Tfs2SE6tiHyyCqJWHweWg/vXUOxbQqNsLM8= X-Received: by 2002:ac8:5ac3:0:b0:476:6b20:2cea with SMTP id d75a77b69052e-47ad8115348mr109308001cf.39.1744911134587; Thu, 17 Apr 2025 10:32:14 -0700 (PDT) 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 References: <95CDB4A8-D05C-4BB8-8049-FBA967E40D60@gmail.com> <694B4BDB-A871-4140-A5B2-672A07EAAFE6@gmail.com> In-Reply-To: <694B4BDB-A871-4140-A5B2-672A07EAAFE6@gmail.com> From: Mark Peek Date: Thu, 17 Apr 2025 10:32:03 -0700 X-Gmail-Original-Message-ID: X-Gm-Features: ATxdqUFgQHYT4xx-tNp4VzNigGoe_BFtFLI8Km4PbnNoa94-X3NHoeK1F76lUII Message-ID: Subject: Re: Win 11 Pro has high CPU usage on idle in bhyve To: Marco Orsatti Cc: Kevin Oberman , "virtualization@freebsd.org" Content-Type: multipart/alternative; boundary="00000000000057941a0632fcc85b" --00000000000057941a0632fcc85b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Apr 17, 2025 at 10:19=E2=80=AFAM 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 i= s > 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 --00000000000057941a0632fcc85b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, Apr 17, 2025 at 10:19=E2=80=AFAM = Marco Orsatti <marco.dmc12@gmai= l.com> wrote:
=
Thanks Kevin for the= info.

I checked, but there is no Outlook Classic i= n 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 insi= de the VM the CPU usage is around 3% while at the same time from the Host i= t is at 240%

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

Mark
--00000000000057941a0632fcc85b--