From nobody Thu Apr 17 12:47:21 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 4Zdd3109Sqz5t7F7 for ; Thu, 17 Apr 2025 12:47:41 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-yw1-x1130.google.com (mail-yw1-x1130.google.com [IPv6:2607:f8b0:4864:20::1130]) (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 4Zdd300h4kz41NJ for ; Thu, 17 Apr 2025 12:47:40 +0000 (UTC) (envelope-from kob6558@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=bRpaczuH; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kob6558@gmail.com designates 2607:f8b0:4864:20::1130 as permitted sender) smtp.mailfrom=kob6558@gmail.com Received: by mail-yw1-x1130.google.com with SMTP id 00721157ae682-6ff37565154so6308387b3.3 for ; Thu, 17 Apr 2025 05:47:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1744894059; x=1745498859; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=gFO7Q/TeTMgnWn9JjQAnTS63pdjKYSWJ8fKAfI0P3Wg=; b=bRpaczuHVAQGZUuwsrRQwFQLyRebqMNbi4aPtYt8hPTACbST9cqyVnl1Xxyj7I/hoK lNaqJ7iTXIOmi+b1iEaVSlEggQulUy1eBNeNSqUKdUUltLm7S50TUFI47cpUMh3dHYz2 mB05PQE+pUAZ2ucFg+yfCd1F41xdKk3hfQ8pZdx0pbobVjJDdlmKO026ulSdmRN8FJF4 SlYNVYroKY3s1lPK2IhSZtj4tdqRYOd4c58pgAFaVW7Gi11zCuTCsxyUDLqg69cLXMXC rwHuqLG3+zy/UbVfpu35pSx6A5AJ1Luzz71PmB8QBibSeZ7oschYgIl7ZtHal12EDwVU tTDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744894059; x=1745498859; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=gFO7Q/TeTMgnWn9JjQAnTS63pdjKYSWJ8fKAfI0P3Wg=; b=B6zTlAK95l4B2Z3AeNCUkMEo5fwsHsbN1RMuOUAgvxgClmfFrEo2W74JhtXesi6uTP h6d/ysiy6Ka4M7QYuM5U/6cdSxTDXGCbv4cm09XvE4jrDJGFsFB5z+eR9TuEYBMUkEOY fSCOxK+whd9epCK8JMY5jxlfZcpAVopnK6o3MDxvPXkHIjNRlP7yKAVjV5jIPDjtqIgc S9aIh9dNCN3ygZswn6LQodypY7EdfaWuWY97LhOXrLjUC/6y3321xpRkn0Ie/qQOFGfN +15CuOBeXIJvN9okejdmUmyN1uVBSOXj6bWmcDm7pHGATHiVvHE9ov544u8VTB18DngL 4cIA== X-Gm-Message-State: AOJu0YwbnZ+KgWMBKpC4ATtUuWNK+DEnGzpubBKvShiJ5JLbLk7NBNkG PykdjNt2fKyPBIGdgJMxU0sNyWfznE55f2S7h3mb57Mmjjfr7+aTMkhCOFhyDb3P+kPMzNmp1lT 1zzI0Fymd7J/BFMlR6ym7nPral2xMvw== X-Gm-Gg: ASbGnctfU1mIVUtcdUB5uofTDrPEMSWHfRn9DCoiOoJhzoGjfA+XB2xzi0Hmji9lCXs odYfbUh2GnJczuk8SWvNB6fphuL0AvAUedkV69Jpvod4cnyt+piEeY0jiOhfi49gtQ3a2N4Rn6U wg8Im6NgnSNuX0VZFusICswO4= X-Google-Smtp-Source: AGHT+IFVMCQprqEVHqHK83G0bG/fY5QWQH6vEk8AoasMSm7NmQspQUT7CqMDuFrgLFMTs8oojmAqcVt5ZoGyfJbAMJ0= X-Received: by 2002:a05:6902:490a:b0:e6d:f1b6:f696 with SMTP id 3f1490d57ef6-e72757d18b7mr7437894276.11.1744894058994; Thu, 17 Apr 2025 05:47:38 -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> In-Reply-To: <95CDB4A8-D05C-4BB8-8049-FBA967E40D60@gmail.com> From: Kevin Oberman Date: Thu, 17 Apr 2025 05:47:21 -0700 X-Gm-Features: ATxdqUGB7k-l7H5lqjp0hDIv7YChVu4Gnnnz8fut1uAxH6-CtgaZMDsOvrjVxpM Message-ID: Subject: Re: Win 11 Pro has high CPU usage on idle in bhyve To: Marco Orsatti Cc: "virtualization@freebsd.org" Content-Type: multipart/alternative; boundary="0000000000008ea87c0632f8ce4a" X-Spamd-Result: default: False [-3.56 / 15.00]; NEURAL_HAM_SHORT(-0.99)[-0.986]; NEURAL_HAM_LONG(-0.96)[-0.963]; NEURAL_HAM_MEDIUM(-0.91)[-0.907]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FORGED_SENDER(0.30)[rkoberman@gmail.com,kob6558@gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_TO(0.00)[gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_DN_SOME(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[virtualization@freebsd.org]; FROM_NEQ_ENVFROM(0.00)[rkoberman@gmail.com,kob6558@gmail.com]; FROM_HAS_DN(0.00)[]; MISSING_XM_UA(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; TAGGED_RCPT(0.00)[]; MLMMJ_DEST(0.00)[virtualization@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1130:from] X-Rspamd-Queue-Id: 4Zdd300h4kz41NJ X-Spamd-Bar: --- --0000000000008ea87c0632f8ce4a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Apr 17, 2025 at 2:16=E2=80=AFAM Marco Orsatti wrote: > G=E2=80=99day > > I installed a windows 11 virtual machine with bhyve on FreeBSD 14.2 x64 > and I always have a very busy CPU even when windows is in Idle. > I tried different CPU configurations for the VM, but without success. > > This is the current configuration (vm-bhyve): > > loader=3D"uefi" > graphics_port=3D"5950" > graphics=3D"yes" > graphics_res=3D"1024x768" > xhci_mouse=3D"yes" > cpu=3D8 > cpu_sockets=3D4 > cpu_cores=3D2 > #cpu_threads=3D1 > memory=3D16G > ahci_device_limit=3D"8" > network0_type=3D"virtio-net" > network0_switch=3D=E2=80=9Cfirewall" > disk0_type=3D"ahci-hd" > disk0_name=3D"/dev/zvol/vm/win11" > disk0_dev=3D"custom" > utctime=3D"no" > bhyve_options=3D"-AP" > > The first VM is Windows 11, the second is FreeBSD, the third is Debian, > and the others are Windows 10: > > > > > > Could it be an incompatibility between windows 11 and my CPU (E5-2690 v4)= ? > > Thanks > > Marco This is a long shot, but Microsoft has admitted that Outlook Classic can cause Windows to spike CPU use that is significant. THey have no fix and your problem is likely not this, but it is a possibility. Obviously, if you don't run Outlook Classic, this is not the problem. You can see the article at https://www.theregister.com/2025/04/16/classic_outlook_cpu_spike/ --=20 Kevin Oberman, Part time kid herder and retired Network Engineer. E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 --0000000000008ea87c0632f8ce4a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, Apr 17, 2025 at 2:16=E2= =80=AFAM Marco Orsatti <marco.d= mc12@gmail.com> wrote:
G=E2=80=99= day

I installed a windows 11 virtual machine with bhyve on FreeBSD 14.2 x64 and= I always have a very busy CPU even when windows is in Idle.
I tried different CPU configurations for the VM, but without success.

This is the current configuration (vm-bhyve):

loader=3D"uefi"
graphics_port=3D"5950"
graphics=3D"yes"
graphics_res=3D"1024x768"
xhci_mouse=3D"yes"
cpu=3D8
cpu_sockets=3D4
cpu_cores=3D2
#cpu_threads=3D1
memory=3D16G
ahci_device_limit=3D"8"
network0_type=3D"virtio-net"
network0_switch=3D=E2=80=9Cfirewall"
disk0_type=3D"ahci-hd"
disk0_name=3D"/dev/zvol/vm/win11"
disk0_dev=3D"custom"
utctime=3D"no"
bhyve_options=3D"-AP"

The first VM is Windows 11, the second is FreeBSD, the third is Debian, and= the others are Windows 10:





Could it be an incompatibility between windows 11 and my CPU (E5-2690 v4)?<= br>
Thanks

Marco
=C2=A0
This is a long shot= , but Microsoft has admitted that Outlook Classic can cause Windows to spik= e CPU use that is significant. THey have no fix and your problem is likely = not this, but it is a possibility. Obviously, if you don't run Outlook = Classic, this is not the problem. You can see the article at https://www= .theregister.com/2025/04/16/classic_outlook_cpu_spike/
<= span class=3D"gmail_signature_prefix">--
Kevin Oberman, Part time kid herder and reti= red Network Engineer.
E-mail: rkoberman@gmail.com
PGP = Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
--0000000000008ea87c0632f8ce4a--