From owner-freebsd-virtualization@FreeBSD.ORG Mon Feb 10 15:46:58 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E7D9EBAC for ; Mon, 10 Feb 2014 15:46:58 +0000 (UTC) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id A452319A1 for ; Mon, 10 Feb 2014 15:46:58 +0000 (UTC) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTPS id 20C7012367; Tue, 11 Feb 2014 01:46:57 +1000 (EST) Received: from Peters-MacBook-Pro.local (c-69-181-164-196.hsd1.ca.comcast.net [69.181.164.196]) by dommail.onthenet.com.au (MOS 4.2.4-GA) with ESMTP id BRS30987 (AUTH peterg@ptree32.com.au); Tue, 11 Feb 2014 01:46:56 +1000 Message-ID: <52F8F46E.4060704@freebsd.org> Date: Mon, 10 Feb 2014 07:46:54 -0800 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: =?ISO-8859-1?Q?Olivier_Cochard-Labb=E9?= Subject: Re: Report of my virtual network lab migrated from virtualbox to bhyve References: <52F5363D.8040102@freebsd.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.17 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: Mon, 10 Feb 2014 15:46:59 -0000 Hi Olivier, > If you create a sparse file for the bhyve raw disk (e.g. with > truncate -s), du will show the actual blocks used rather than the > total size. > > > But can I truncate an already existing image disk (downloaded nanobsd > image as example) ? Not without some processing. One way to do it might be a downloaded -> qcow2 -> raw using qemu-img, which will create sparse files if possible. > There is an em(4) emulation slowly being worked on. It should also > be possible to add altq functionality to FreeBSD's virtio net driver. > > > Adding altq(4) to vtnet(4) should be a better idea. As bryanv@ mentioned, it's there with a conditional flag. > For internal-only networks, there will most likely be a user-space > ethernet switch (ala VDE) that bhyve network interfaces can be > pointed at. > > > Great: Why not the high-perf netmap VALE switch ? That's being worked on, but I think that requires root access. > Because with a dummy TCP iperf bench between bhyve guests report only > 254 Mbits/sec. Hmmm, I've seen better numbers than that. What's your host h/w, guest config and iperf params ? later, Peter.