From owner-freebsd-questions@freebsd.org Fri Feb 3 02:05:29 2017 Return-Path: Delivered-To: freebsd-questions@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 01681CCD0ED for ; Fri, 3 Feb 2017 02:05:29 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail06.adl6.internode.on.net (ipmail06.adl6.internode.on.net [150.101.137.145]) by mx1.freebsd.org (Postfix) with ESMTP id 949BDCAA for ; Fri, 3 Feb 2017 02:05:27 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ppp121-45-93-6.bras1.adl6.internode.on.net (HELO leader.local) ([121.45.93.6]) by ipmail06.adl6.internode.on.net with ESMTP; 03 Feb 2017 12:35:22 +1030 Subject: Re: New to bhyve To: Brian Wood , FreeBSD Questions References: From: Shane Ambler Message-ID: <1a0d49c9-341c-4703-726e-405616fa08d3@ShaneWare.Biz> Date: Fri, 3 Feb 2017 12:35:18 +1030 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Feb 2017 02:05:29 -0000 On 02/02/2017 05:33, Brian Wood wrote: > I have a machine that has an i3 and 16G of ram. I'm wondering about > the possibility of running instances of a 32 bit version FreeBSD as guests > on that system. Is anyone doing something like that? I don't think it > would be possible to run 4 instances where each instance was given 4G > as bhyve needs to run somewhere. Is that correct? Would 3 instances be > possible? Any hints on bhyve configuration are appreciated. Thanks in > advance. > As long as your CPU has the needed features (it should) you shouldn't have any problems. The bhyve guest supports running the same software that can be run on the host CPU (32 and 64 bit) The CPU and RAM used by a bhyve buest is shared with the host, so yes you could start 4 instances with 4G available to each, but as each uses more memory at the same time the system will start swapping and slowing down. Maybe run three with 4G and one with 3G You could also look at creating 32 bit jails as they have less overhead due to each sharing the kernel with the host system. 21.7 of the handbook explains setting up bhyve guests. https://www.freebsd.org/doc/en/books/handbook/virtualization-host-bhyve.html Have a look at sysutils/vm-bhyve it makes using bhyve a lot simpler. https://github.com/churchers/vm-bhyve The freebsd-virtualization mailing list would be a better place to ask for more specific help. -- FreeBSD - the place to B...Software Developing Shane Ambler