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

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46a99768-aedf-69fd-1164-78bdf694c030>