Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Mar 2016 16:31:58 -0800
From:      Paul Vixie <paul@redbarn.org>
To:        =?UTF-8?B?0KHQtdGA0LPQtdC5INCc0LDQvNC+0L3QvtCy?= <mrqwer88@gmail.com>
Cc:        Pavel Odintsov <pavel.odintsov@gmail.com>,  "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org>, Sergei Mamonov <mamonov@fastvps.ru>
Subject:   Re: ZFS subvolume support inside Bhyve vm
Message-ID:  <56E211FE.2060700@redbarn.org>
In-Reply-To: <CAG2oxtrnmYpPznFiBfPARG69wBiCWdqn6ch_E64X=M33sVN-uw@mail.gmail.com>
References:  <CALgsdbcXxAnfkKnU9CuOE-pj0sJJpQ7-XFd6R0bFEeKB-maDRw@mail.gmail.com> <56E206FE.3080000@redbarn.org> <CAG2oxtrnmYpPznFiBfPARG69wBiCWdqn6ch_E64X=M33sVN-uw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


Сергей Мамонов wrote:
> Hello!
>
> Yes - zvols looks awesome. But what driver you use for it?

virtio-blk.

> And what
> about disk usage overhead in guest?

ufs on zvol is faster, either in the parent or a bhyve using virtio-blk, 
than zfs. at least for writing, which is my dominant work load. i expect 
that this is due to zfs's compression logic rather than anything having 
to do with creating/extending files to accommodate writes.

> virtio-blk doesnt support fstrim (ahci-hd support it, but slower? "/At
> this point virtio-blk is indeed faster then ahci-hd on high IOPS/").
> In linux && kvm we try used virtio-scsi driver with support fstrim, but
> how I see it not availble now in 10-2 stable for bhyve.
> And I not lonely with this question -
> https://lists.freebsd.org/pipermail/freebsd-virtualization/2015-March/003442.html

i'm just going to live without fstrim until it's supported in 
virtio-blk. i know that this option isn't available to everybody, but at 
the moment storage is cheap enough to waste.

-- 
P Vixie



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56E211FE.2060700>