From owner-freebsd-virtualization@freebsd.org Mon Dec 5 16:41:53 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 3369AC68A26 for ; Mon, 5 Dec 2016 16:41:53 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from mx1.scaleengine.net (mx1.scaleengine.net [209.51.186.6]) (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 175B11A60 for ; Mon, 5 Dec 2016 16:41:52 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from [10.1.1.2] (unknown [10.1.1.2]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 32036D310 for ; Mon, 5 Dec 2016 16:41:51 +0000 (UTC) Subject: Re: Windows Desktop OS only show one CPU on bhyve even though 2-4 are assigned To: freebsd-virtualization@freebsd.org References: From: Allan Jude Message-ID: <8a8684d9-1a98-380d-6c11-26590b0a9eaf@freebsd.org> Date: Mon, 5 Dec 2016 11:41:50 -0500 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 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 16:41:53 -0000 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/ -- Allan Jude