From owner-freebsd-questions@freebsd.org Thu Feb 16 09:46:39 2017 Return-Path: Delivered-To: freebsd-questions@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 4DE2CCE11A6 for ; Thu, 16 Feb 2017 09:46:39 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 01ECC1FBD for ; Thu, 16 Feb 2017 09:46:38 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mh0.gentlemail.de (mh0.gentlemail.de [78.138.80.135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id v1G9kZgC019337; Thu, 16 Feb 2017 10:46:35 +0100 (CET) (envelope-from freebsd@omnilan.de) Received: from titan.inop.mo1.omnilan.net (titan.inop.mo1.omnilan.net [IPv6:2001:a60:f0bb:1::3:1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id 04961A4D; Thu, 16 Feb 2017 10:46:34 +0100 (CET) Message-ID: <58A574FA.4030706@omnilan.de> Date: Thu, 16 Feb 2017 10:46:34 +0100 From: Harry Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.9.2.8) Gecko/20100906 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: Andrea Venturoli CC: freebsd-questions@freebsd.org Subject: Re: Status of bhyve References: <607fc3c1-5546-dbce-488b-983163ff1e98@netfence.it> In-Reply-To: <607fc3c1-5546-dbce-488b-983163ff1e98@netfence.it> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: ACL 119 matched, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [78.138.80.130]); Thu, 16 Feb 2017 10:46:35 +0100 (CET) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: 78.138.80.135; Sender-helo: mh0.gentlemail.de; ) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Feb 2017 09:46:39 -0000 Bezüglich Andrea Venturoli's Nachricht vom 15.02.2017 19:41 (localtime): > Hello. > > I've been searching the web for a while, but the info I got is sparse > (many howtos, little on the big picture) and it's not always clear > what is current and what is outdated. > > I might be in need to permanently run a Windows 64b VM (with SQL > server) on a new FreeBSD box, so... > > > > What's the current status of bhyve? > I mean, it is it production ready (meaning no critical feature is > missing and I can count on this VM to behave properly nearly as much > as the host)? Hello, it depends on the features you need. I do have one byhve in production instead of ESXi. But some features are incomplete/disfunctional, so if you need a host with more than very basic hypervising capabilities, take these into account: ˇ virtio-blk and jumbo frames (e1000 works with jumbo frames but performance is not comparaable with ESXi e1000(e)) https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215737 ˇ PCI-Passthru is very picky. If you have a card with BAR memorysize < | != pagesize, byhve(4) won't accept it. ˇ device(9) as block storage backend (virtio-blk, ahci-hd) doesn't work if you use any PCI-passthru device https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215740 ˇ virtio-blk isn't virtio-win (Windows driver) compatible, guest will crash! ˇ virtio-net doesn't work with latest Windows drivers, which is not a bhyve(4) problem as far as I can tell. Version 0.1.118 works, newer ones are known to have problems on other hypervisors too. ˇ See if_bridge(4) for some limitations (all members need to have exactly the same MTU, uplink gets checksum offloading disabled). Generally, soft-switching capabilities ar not comparable with those of ESXi, especially not the performace (outside netmap world). In FreeBSD-12 you have ptnetmap, which together with netmap provides excellent performance, but I have no idea if this will be megred back into 11-stable, neither if it is production ready. Other than that, it's rock solid for me > Any difference between 10.3 and 11.0? (I got the idea the former will > be supported for longer and I'd have to upgrade my poudriere in order > to install the latter). You can seamlessly update minor release versions in the same major release branch, and there will be a 11.x release wich will also get long term support. I'd take 11-stable (e.g. yoU'll have ahci,hd|cd so you can have one virtual controller with multiple devices instead of multiple controllers), there are snapshots available I think. > How well does it run Windows? > Would I better run W7 instead of W10 (or the other way round)? Both runs fine here utilizing BHYVE_UEFI_CSM.fd, with the limitations mentioned above (no virtio-blk, need stay with ahci-hd). > What's the maximum amount of RAM I can dedicate to a VM? > > > How does it compare to VirtualBox wrt to stability and performance? > (I know I can find benchmarks, but, again, it's hard to tell whether > they can be trusted or considered current). > > > Should I use a dedicated disk (or disk mirror) for better speed? > Or should I use a dedicated partition on the host's disk/disk mirror? > Will a ZFS volume perform as good as a partition? ZVOL is the best option offering great performance (depending on your pool setup of yourse) as long as there is the PCI-passthru bug mentioned above. > Any caveat or hint? Hope the above ones help. -harry