Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Dec 2016 18:57:58 +0100
From:      Nicolas Gilles <nicolas.gilles@gmail.com>
To:        richard <richard@bader-muenchen.de>
Cc:        freebsd-virtualization@freebsd.org
Subject:   Re: Windows Desktop OS only show one CPU on bhyve even though 2-4 are assigned
Message-ID:  <CANwv7Ws3UGUk7dqiq6_BNQUtmQh1mwMT%2B9Kp3JZ8-b=tHE1hVA@mail.gmail.com>
In-Reply-To: <46a99768-aedf-69fd-1164-78bdf694c030@bader-muenchen.de>
References:  <CAFcYrurbUk9jMuk_983j3K4-WHqaD%2B1Q9wB7reLjrZQB1NSuaw@mail.gmail.com> <8a8684d9-1a98-380d-6c11-26590b0a9eaf@freebsd.org> <46a99768-aedf-69fd-1164-78bdf694c030@bader-muenchen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Dec 5, 2016 at 5:55 PM, richard <richard@bader-muenchen.de> wrote:
> On 12/05/16 17:41, Allan Jude wrote:
>>
>> On 2016-12-05 05:22, Michael Braig wrote:
>>>
>>> Dear All,
>>>
>>> I have now setup Window Desktop OS based on 8.1 and 10, but also Windows
>>> Server 2012 R2.
>>>
>>> The latter correctly shows the amount of assigned CPUs. The Desktop OSs
>>> always only show one, but also have high CPU load with especially the
>>> Windows network service.
>>>
>>> Did anybody experience this as well, anybody who can advise me on how
>>> Windows will recognize the additional CPUs?
>>>
>>> I am using an HP ML110 G7 with Xeon CPUs.
>>>
>>> Regards
>>> Michael
>>> _______________________________________________
>>> freebsd-virtualization@freebsd.org mailing list
>>> https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
>>> To unsubscribe, send any mail to
>>> "freebsd-virtualization-unsubscribe@freebsd.org"
>>>
>> This question has been answered before, in the last 2-3 months, if you
>> search the archive.
>>
>> The short answer is that Windows Desktop OS only supports a single CPU
>> socket, optionally with many cores. The default in bhyve is to expose
>> each virtual CPU as a separate socket. There are a set of sysctls that
>> let you control this, so you can instead expose the 4 cpus as cores of a
>> single socket, and it will then work with Windows 8.1/10, but I don't
>> recall what they are off the top of my head, but they are in the archive
>> which you can browse here:
>>
>> https://lists.freebsd.org/pipermail/freebsd-virtualization/
>>
> i've put
>
> hw.vmm.topology.cores_per_package=4
>
> in /boot/loader.conf
>
> richard
>
>

And did that fix your issue?

It's a little bit annoying is that this setting is "systemwide" but I
believe there was talk to make this per-vm, though I don't know
how that is coming along...


>
> _______________________________________________
> freebsd-virtualization@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
> To unsubscribe, send any mail to
> "freebsd-virtualization-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANwv7Ws3UGUk7dqiq6_BNQUtmQh1mwMT%2B9Kp3JZ8-b=tHE1hVA>