From owner-freebsd-virtualization@freebsd.org Fri Mar 11 00:32:02 2016 Return-Path: Delivered-To: freebsd-virtualization@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 56194ACCBC0 for ; Fri, 11 Mar 2016 00:32:02 +0000 (UTC) (envelope-from paul@redbarn.org) Received: from family.redbarn.org (family.redbarn.org [IPv6:2001:559:8000:cd::5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 45B9819FC for ; Fri, 11 Mar 2016 00:32:02 +0000 (UTC) (envelope-from paul@redbarn.org) Received: from [IPv6:2601:646:c202:2900:f531:9e2:359c:c065] (unknown [IPv6:2601:646:c202:2900:f531:9e2:359c:c065]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by family.redbarn.org (Postfix) with ESMTPSA id 8DFFD1CC4E; Fri, 11 Mar 2016 00:32:01 +0000 (UTC) Message-ID: <56E211FE.2060700@redbarn.org> Date: Thu, 10 Mar 2016 16:31:58 -0800 From: Paul Vixie User-Agent: Postbox 4.0.8 (Windows/20151105) MIME-Version: 1.0 To: =?UTF-8?B?0KHQtdGA0LPQtdC5INCc0LDQvNC+0L3QvtCy?= CC: Pavel Odintsov , "freebsd-virtualization@freebsd.org" , Sergei Mamonov Subject: Re: ZFS subvolume support inside Bhyve vm References: <56E206FE.3080000@redbarn.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.21 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: Fri, 11 Mar 2016 00:32:02 -0000 Сергей Мамонов 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