From owner-freebsd-virtualization@freebsd.org Mon Dec 5 17:13:31 2016 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 16843C6867B for ; Mon, 5 Dec 2016 17:13:31 +0000 (UTC) (envelope-from richard@bader-muenchen.de) Received: from gate1.bader-muenchen.de (gate1.bader-muenchen.de [213.179.151.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8CECFEFE for ; Mon, 5 Dec 2016 17:13:30 +0000 (UTC) (envelope-from richard@bader-muenchen.de) Received: from rserver.bader.loc (rserver.bader.loc [192.168.16.72]) by gate1.bader-muenchen.de (8.15.2/8.15.2) with ESMTP id uB5Gtmmx026004; Mon, 5 Dec 2016 17:55:49 +0100 (CET) (envelope-from richard@bader-muenchen.de) Subject: Re: Windows Desktop OS only show one CPU on bhyve even though 2-4 are assigned References: <8a8684d9-1a98-380d-6c11-26590b0a9eaf@freebsd.org> To: freebsd-virtualization@freebsd.org From: richard Message-ID: <46a99768-aedf-69fd-1164-78bdf694c030@bader-muenchen.de> Date: Mon, 5 Dec 2016 17:55:48 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <8a8684d9-1a98-380d-6c11-26590b0a9eaf@freebsd.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2016 17:13:31 -0000 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