From owner-freebsd-virtualization@freebsd.org Mon Dec 5 17:58:01 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 9CB60C686A8 for ; Mon, 5 Dec 2016 17:58:01 +0000 (UTC) (envelope-from nicolas.gilles@gmail.com) Received: from mail-lf0-x243.google.com (mail-lf0-x243.google.com [IPv6:2a00:1450:4010:c07::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 23C32DA6 for ; Mon, 5 Dec 2016 17:58:01 +0000 (UTC) (envelope-from nicolas.gilles@gmail.com) Received: by mail-lf0-x243.google.com with SMTP id o20so26514425lfg.3 for ; Mon, 05 Dec 2016 09:58:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=6WboNQUx1VcFQN4I/nnstV3PJz24JwrHQdcRqoUHsmw=; b=eXKvDE5HyHDa9whN8/ttmHn8Zb+dHEtlMnjnDWL8D/wkUwX2kCE6mY6n9E0WhXDlXJ JJcNmWVVj/jR8tWcB65GxZlOjcSnRZF2zZpy6bnMyjLK1wwdwsejcnN+7v7jTDcWcQX6 dDTXHs9I/wFs4FJmQY31LVOKSWpVLXM67hSBk/fuLH/1ojOVZ968jUfw1rx9NPm5maV7 lnnlxXqi0syzPC8HGE0YdfSQ2k7QObwVmxn7ZhsLbFrucBcdbCAcS023jXyagRgynwmN GAEyAkvBgq2uChzSTnD/G3iU65TPfDgVnBIYTq3sLaCH3gf7ToN+HPM2b7woCjX/eiRE IwRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=6WboNQUx1VcFQN4I/nnstV3PJz24JwrHQdcRqoUHsmw=; b=FjRDhgV6yzPtJcLPdyB3WkTyd5ZHn7STS+p/kawlQ4rKHHlGo97kmeRPIasHmfhpMy chDFDUTd9oCcDMZvZBrd978N1u9IX4XZhpR2WWHz3pQJWD5GKYk6dR25MRQ500VVl5J0 /Fb62lcanawUY+C32WUcKZWpACclzwE4nHylrgaHf83LRNNokMBxGmz1mgrtpDapKSr+ xkbkxUp7A7MndPeT1WCoJ1iuulGfzV8t5D6+578RAB6L5vx0gAb977ICdT4bQDVcaFn2 1DkhyyHTryki1o9hrtzqPyROuYTTYWIJAYl7A+VIr69l6uC5j4xcX6mTQNeKExdmng0f tjkA== X-Gm-Message-State: AKaTC02x7sg1S5/rDtVsaaRVlqV19eHZbBsU8xJg88zJMsA4Xv69c0mJnewDfL0Qvt4iTaPBttPz36z02MDC2A== X-Received: by 10.25.154.142 with SMTP id c136mr21234303lfe.71.1480960678625; Mon, 05 Dec 2016 09:57:58 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.5.10 with HTTP; Mon, 5 Dec 2016 09:57:58 -0800 (PST) In-Reply-To: <46a99768-aedf-69fd-1164-78bdf694c030@bader-muenchen.de> References: <8a8684d9-1a98-380d-6c11-26590b0a9eaf@freebsd.org> <46a99768-aedf-69fd-1164-78bdf694c030@bader-muenchen.de> From: Nicolas Gilles Date: Mon, 5 Dec 2016 18:57:58 +0100 Message-ID: Subject: Re: Windows Desktop OS only show one CPU on bhyve even though 2-4 are assigned To: richard Cc: freebsd-virtualization@freebsd.org Content-Type: text/plain; charset=UTF-8 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:58:01 -0000 On Mon, Dec 5, 2016 at 5:55 PM, richard 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"