Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Nov 2024 18:11:35 +0100
From:      Stephan Althaus <Stephan.Althaus@Duedinghausen.eu>
To:        virtualization@freebsd.org
Subject:   Re: CPU count and slow Windows VM
Message-ID:  <9ac8a62b-8630-45a9-984f-d6f53913934b@Duedinghausen.eu>
In-Reply-To: <fc813e0d-5c71-450e-a3d8-3d6aa28b1b96@app.fastmail.com>
References:  <fc813e0d-5c71-450e-a3d8-3d6aa28b1b96@app.fastmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------nlyEUxqc7cJXlztHYnhOHnno
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

On 11/3/24 16:45, Chuck Tuffli wrote:
> I'm helping someone trouble-shoot a sluggish Windows 11 VM running 
> under bhyve (FreeBSD 14.1) related to the number of vCPUs. With 1-2 
> vCPUs, the VM's performance is reasonable, but adding 8 or more vCPUs 
> makes the VM nearly unusable because even moving the mouse takes minutes.
>
> Before I dig into this, do these symptoms sound familiar? I did find a 
> mention on the wiki (1):
>
>     Only one or two VCPUs should be used during installation but this 
> number
>     can be increased once Windows is installed
>
> Is there something missing from bhyve's emulation that causes this?
> TIA
>
> --chuck
>
> (1) https://wiki.freebsd.org/bhyve/Windows

Hi!

I am using Win10 on bhyve (FreeBSD 14.1-RELEASE-p5) with 20 vCPU and no 
problem here..

I would suggest first going back zu 2 vCPUs and updating all related 
drivers (bhyve-virtio*...) and let windows doing its internal things 
like searching for updates...

How are you accessing the vm, via VNC or RDP ? Maybe theres some network 
problem..

just my 2 cents..

Regards,
Stephan


--------------nlyEUxqc7cJXlztHYnhOHnno
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">On 11/3/24 16:45, Chuck Tuffli wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:fc813e0d-5c71-450e-a3d8-3d6aa28b1b96@app.fastmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <title></title>
      <style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style>
      <div>I'm helping someone trouble-shoot a sluggish Windows 11 VM
        running under bhyve (FreeBSD 14.1) related to the number of
        vCPUs. With 1-2 vCPUs, the VM's performance is reasonable, but
        adding 8 or more vCPUs makes the VM nearly unusable because even
        moving the mouse takes minutes.<br>
      </div>
      <div><br>
      </div>
      <div>Before I dig into this, do these symptoms sound familiar? I
        did find a mention on the wiki (1):<br>
      </div>
      <div><br>
      </div>
      <div>    Only one or two VCPUs should be used during installation
        but this number<br>
      </div>
      <div>    can be increased once Windows is installed<br>
      </div>
      <div><br>
      </div>
      <div>Is there something missing from bhyve's emulation that causes
        this?<br>
      </div>
      <div>TIA<br>
      </div>
      <div><br>
      </div>
      <div>--chuck<br>
      </div>
      <div><br>
      </div>
      <div>(1) <a href="https://wiki.freebsd.org/bhyve/Windows"
          moz-do-not-send="true" class="moz-txt-link-freetext">https://wiki.freebsd.org/bhyve/Windows</a><br>;
      </div>
    </blockquote>
    <p>Hi!</p>
    <p>I am using Win10 on bhyve (FreeBSD 14.1-RELEASE-p5) with 20 vCPU
      and no problem here..</p>
    <p>I would suggest first going back zu 2 vCPUs and updating all
      related drivers (bhyve-virtio*...) and let windows doing its
      internal things like searching for updates...</p>
    <p>How are you accessing the vm, via VNC or RDP ? Maybe theres some
      network problem..</p>
    <p>just my 2 cents..</p>
    <p>Regards,<br>
      Stephan</p>
    <p><br>
    </p>
  </body>
</html>

--------------nlyEUxqc7cJXlztHYnhOHnno--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9ac8a62b-8630-45a9-984f-d6f53913934b>