RE: Options for zfs inside a VM backed by zfs on the host

2015-08-27 Thread Matt Churchyard via freebsd-virtualization
> On Wed, Aug 26, 2015 at 11:10:44PM -0700, Marcus Reid wrote: > On Wed, Aug 26, 2015 at 05:25:52PM -0400, Vick Khera wrote: > > > Opinions? Preferably well-reasoned ones. :) > > > > > However, having the ARC eating up lots of memory twice seems pretty > > bletcherous. You can probably do some t

Re: Options for zfs inside a VM backed by zfs on the host

2015-08-27 Thread Marie
On Thu, Aug 27, 2015 at 11:42 AM Matt Churchyard via freebsd-virtualization wrote: > > On Wed, Aug 26, 2015 at 11:10:44PM -0700, Marcus Reid wrote: > > On Wed, Aug 26, 2015 at 05:25:52PM -0400, Vick Khera wrote: > > > > Opinions? Preferably well-reasoned ones. :) > > > > > > > However, having the

Re: Options for zfs inside a VM backed by zfs on the host

2015-08-27 Thread Allan Jude
On 2015-08-27 02:10, Marcus Reid wrote: > On Wed, Aug 26, 2015 at 05:25:52PM -0400, Vick Khera wrote: >> I'm running FreeBSD inside a VM that is providing the virtual disks backed >> by several ZFS zvols on the host. I want to run ZFS on the VM itself too >> for simplified management and backup pur

Re: passthru requires guest memory to be wired

2015-08-27 Thread Craig Rodrigues
On Tue, Aug 25, 2015 at 5:29 PM, Peter Grehan wrote: > Hi Craig, > > '-S' needs to be passed to bhyveload *and* bhyve if PCI passthru is used. >>> >>> >>> Does grub-bhyve need this as well? >> > > It does: I need to commit the change for this. > > Do you have a patch for this that I can use? I

Re: Options for zfs inside a VM backed by zfs on the host

2015-08-27 Thread Paul Vixie
let me ask a related question: i'm using FFS in the guest, zvol on the host. should i be telling my guest kernel to not bother with an FFS buffer cache at all, or to use a smaller one, or what? ___ freebsd-virtualization@freebsd.org mailing list https://l

Re: Options for zfs inside a VM backed by zfs on the host

2015-08-27 Thread Vick Khera
On Thu, Aug 27, 2015 at 6:10 AM, Marie wrote: > I've tried this in the past, and found the worst performance penalty was > with ARC disabled in guest. I tried with ARC enabled on host and guest, > only on host, only on guest. There was a significant performance penalty > with either ARC disabled.

Re: Options for zfs inside a VM backed by zfs on the host

2015-08-27 Thread Chad J. Milios
> On Aug 27, 2015, at 10:46 AM, Allan Jude wrote: > > On 2015-08-27 02:10, Marcus Reid wrote: >> On Wed, Aug 26, 2015 at 05:25:52PM -0400, Vick Khera wrote: >>> I'm running FreeBSD inside a VM that is providing the virtual disks backed >>> by several ZFS zvols on the host. I want to run ZFS on th

Re: Options for zfs inside a VM backed by zfs on the host

2015-08-27 Thread Tenzin Lhakhang
That was a really awesome read! The idea of turning metadata on at the backend zpool and then data on the VM was interesting, I will give that a try. Please can you elaborate more on the ZILs and synchronous writes by VMs.. that seems like a great topic. - I am right now exploring the question: ar

Re: passthru requires guest memory to be wired

2015-08-27 Thread Peter Grehan
Hi Craig, Do you have a patch for this that I can use? I need this to restore functionality in my bhyve VM environment that I am working with. Can you give this a try ? http://people.freebsd.org/~grehan/grub-bhyve-S.diff later, Peter. ___ fr