Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Feb 2017 12:35:18 +1030
From:      Shane Ambler <FreeBSD@ShaneWare.Biz>
To:        Brian Wood <woodbrian77@gmail.com>, FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: New to bhyve
Message-ID:  <1a0d49c9-341c-4703-726e-405616fa08d3@ShaneWare.Biz>
In-Reply-To: <CABWFOjsi8nw=fKAREci_OY39p3mWMQQwKPnFr6HVua0nG1kv5A@mail.gmail.com>
References:  <CABWFOjsi8nw=fKAREci_OY39p3mWMQQwKPnFr6HVua0nG1kv5A@mail.gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?1a0d49c9-341c-4703-726e-405616fa08d3>