From owner-freebsd-virtualization@freebsd.org Sun Mar 20 03:33:01 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 D9873AD6C10 for ; Sun, 20 Mar 2016 03:33:01 +0000 (UTC) (envelope-from rcarter@pinyon.org) Received: from quine.pinyon.org (quine.pinyon.org [65.101.5.249]) (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 BAB59BB0 for ; Sun, 20 Mar 2016 03:33:01 +0000 (UTC) (envelope-from rcarter@pinyon.org) Received: by quine.pinyon.org (Postfix, from userid 122) id AEE8A160230; Sat, 19 Mar 2016 20:33:00 -0700 (MST) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on quine.pinyon.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 Received: from feyerabend.n1.pinyon.org (h5.esturion.net [65.101.5.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by quine.pinyon.org (Postfix) with ESMTPSA id DFCC1160160; Sat, 19 Mar 2016 20:32:57 -0700 (MST) Subject: Re: UFS vs. ZFS inside bhyve hosted on ZFS To: Paul Vixie References: <56ECAFEB.8060305@pinyon.org> <56EE1468.5050503@pinyon.org> <56EE1550.4060403@redbarn.org> From: "Russell L. Carter" Cc: freebsd-virtualization@freebsd.org Message-ID: <56EE19E9.7040403@pinyon.org> Date: Sat, 19 Mar 2016 20:32:57 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 In-Reply-To: <56EE1550.4060403@redbarn.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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: Sun, 20 Mar 2016 03:33:01 -0000 On 03/19/16 20:13, Paul Vixie wrote: > > > Russell L. Carter wrote: >> ... I have two bhyve VMs configured >> identically, both running r297047, each configured with 15G of RAM and >> 3 cpus, verified by examining 'sysctl hw' from within the running >> guest. One has the default ZFS install, the other UFS. However, >> >> # cd /usr/src && make buildworld -j >> >> after 15 minutes or so freezes the -current-UFS guest with the >> following console output: >> >> root@vm1:~ # ahcich0: Timeout on slot 29 port 0 >> ahcich0: is 00000008 cs 00000000 ss 00000000 rs bfffffff tfd 50 serr >> 00000000 cmd 0001dd17 >> (ada0:ahcich0:0:0:0): WRITE_FPDMA_QUEUED. ACB: 61 40 70 dc 3a 40 00 00 >> 00 00 00 00 >> (ada0:ahcich0:0:0:0): CAM status: Command timeout >> (ada0:ahcich0:0:0:0): Retrying command > > two questions: > > why ada rather than vtblk? No idea. I chose the default UFS selection in the iso installer. Happy to change it to something better. > > is the host's backing store made with 'zfs create -V', or is it 'truncate'? > From https://github.com/pr1ntf/iohyve/blob/master/iohyve: zfs create -V $size -o volmode=dev $pool/iohyve/$name/disk0 where $size is 32G. Neither side of (host/guest) looks even slightly cramped after the fact. Best, Russell