From owner-freebsd-virtualization@FreeBSD.ORG Wed Jun 4 04:35:47 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AD0A9D38; Wed, 4 Jun 2014 04:35:47 +0000 (UTC) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 7070A2074; Wed, 4 Jun 2014 04:35:46 +0000 (UTC) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTPS id 0FB64124D0; Wed, 4 Jun 2014 14:35:44 +1000 (EST) Received: from Peter-Grehans-MacBook-Pro-2.local ([64.245.0.210]) by dommail.onthenet.com.au (MOS 4.2.4-GA) with ESMTP id BUS41352 (AUTH peterg@ptree32.com.au); Wed, 4 Jun 2014 14:35:43 +1000 Message-ID: <538EA21D.9060004@freebsd.org> Date: Tue, 03 Jun 2014 21:35:41 -0700 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Allan Jude Subject: Re: bhyve max virtual CPUs References: <20140604001645.GA89475@mouf.net> <538E66C1.8040804@freebsd.org> In-Reply-To: <538E66C1.8040804@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18 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: Wed, 04 Jun 2014 04:35:47 -0000 Hi Allan, > I asked about increasing it and was told that it can be done by editing > a value in one of the .h files or something, but the reason it wasn't > higher was that it didn't scale nicely, and they wanted to reword how it > works. > > I would definitely be interested in this, as we run video transcoding > (uses a LOT of cpu) on 24 or 32 core machines, and we'd like to pass > more of the cores into the VM. You can bump it by modifying: sys/amd64/include/vmm.h:#define VM_MAXCPU 16 /* maximum virtual cpus */ ... and rebuilding world+kernel. Let us know how performance goes with larger values. It will probably be a while before this value can be dynamic, but that's the goal. later, Peter.