From owner-freebsd-virtualization@freebsd.org Thu Aug 4 18:57:06 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 01847BAF17D for ; Thu, 4 Aug 2016 18:57:06 +0000 (UTC) (envelope-from mike@reifenberger.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id E0A0812F6 for ; Thu, 4 Aug 2016 18:57:05 +0000 (UTC) (envelope-from mike@reifenberger.com) Received: by mailman.ysv.freebsd.org (Postfix) id DC490BAF17C; Thu, 4 Aug 2016 18:57:05 +0000 (UTC) Delivered-To: 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 DBE7FBAF17B for ; Thu, 4 Aug 2016 18:57:05 +0000 (UTC) (envelope-from mike@reifenberger.com) Received: from mail.eeeit.de (mail.eeeit.de [37.120.160.187]) (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 7249A12F5; Thu, 4 Aug 2016 18:57:05 +0000 (UTC) (envelope-from mike@reifenberger.com) Received: from localhost (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: mike@reifenberger.com) by mail.eeeit.de (Postfix) with ESMTPSA id 92DB84D70; Thu, 4 Aug 2016 20:57:02 +0200 (CEST) Received: from ppp-62-216-199-84.dynamic.mnet-online.de (ppp-62-216-199-84.dynamic.mnet-online.de [62.216.199.84]) by mail.eeeit.de (Horde Framework) with HTTPS; Thu, 04 Aug 2016 20:57:02 +0200 Date: Thu, 04 Aug 2016 20:57:02 +0200 Message-ID: <20160804205702.Horde.cclsReqAJZ4gP-yp7ySWYDW@mail.eeeit.de> From: Michael Reifenberger To: Peter Grehan Cc: virtualization@freebsd.org Subject: Re: Bhyve tests and findings References: <20160804132810.Horde.PbxdxEormFX3MwsBMVBoRo7@mail.eeeit.de> <386acc93-afea-9c7e-bcb0-401d1f71fa1f@freebsd.org> In-Reply-To: <386acc93-afea-9c7e-bcb0-401d1f71fa1f@freebsd.org> User-Agent: Horde Application Framework 5 Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 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: Thu, 04 Aug 2016 18:57:06 -0000 Zitat von Peter Grehan : > Hi Mike, > >> - Windows 8, 8.1 and 10 installs and runs in graphical mode flawlessly. > > Have you had any issues with the XHCI mouse on 8/8.1 ? > >> - I was able to graphically Restore/Reconfigure a Acronis Windows-Backup >> into a Bhyve instance >> using the Acronis Restore-CD (Converting a BIOS Win8.1 to UEFI Win8.1) > > Very nice ! > >> - Only vnclient from FreeBSD can connect to the bhyve VNC Server. >> I havn't found any vncviewer running on Windows which where able to >> work (tried UltraVNC, RealVNC, ...) > > Some VNC clients refuse to connect when only null-auth is > advertized by the server. There is a patch to bhyve to support VNC > password-auth, which may fix the issue with these clients. > Yes, that sounds reasonable. >> - in VNC only most basic Keys work most special characters like (*\@) >> (and of course no german localization) >> but at least a usual US-kbd would be helpful. >> (Is there a way to debug the keystrokes or duplicate a localized VNC >> kbd from some VNC server) > > Nothing outside of modifying the source, but it seems useful enough > to add a parameter for this. > >> - For the SAP-Systems it seems that only 4 disks get used when the disk >> type is virtio-blk. >> (Is this intentionally or a feature of vm-bhyve? How to provide more >> disks) > > I'll let Matt comment on that. There's no limitation with guests > that support MSI interrupts for adapters. Unfortunately, Windows > guests require legacy interrupts for the AHCI controller, which is > where the restriction originates. > I'd like to use a 6 disks setup with Centos7. Centos7 on XEN PVM has no issue with supporting 6 paravirtulized disks. Thats the config (for vm-bhyve) where only the first 4 disks are used for the guest (Centos7): uefi="yes" cpu=1 memory=2G network0_type="virtio-net" network0_switch="public" disk0_name="root" disk0_type="virtio-blk" disk0_dev="zvol" disk1_name="swap" disk1_type="virtio-blk" disk1_dev="zvol" disk2_name="sapmnt" disk2_type="virtio-blk" disk2_dev="zvol" disk3_name="usrsap" disk3_type="virtio-blk" disk3_dev="zvol" disk4_name="db" disk4_type="virtio-blk" disk4_dev="zvol" disk5_name="log" disk5_type="virtio-blk" disk5_dev="zvol" graphics="yes" graphics_port="5903" graphics_listen="0.0.0.0" graphics_res="1600x900" graphics_wait="no" xhci_mouse="yes" >> - It seems to miss a way to add an ISO CD/DVD without booting from it >> automatically. > > There is work ongoing to support UEFI NVVARs, which mostly fix the > boot-device selection issues. > >> Also ISO's seem to miss a hot-plug feature (f.e. for inserting driver >> CD's after installation. > > Yes, also not there. > >> Some additional questions: >> - Can one over-provisioning/ballooning guest memory's ? > > Over-provisioning is fine - bhyve guest memory is backed by swap by > default. There is currently no balloon driver backend in bhyve. > >> - Is it (speed-wise) better to use ZFS-zvol's or files in regular >> ZFS-directories? > > I think that is workload-dependent. > >> - Are the virtio-blk or ahci-hd disks having the same overhead? > > No - virtio-blk should be better. > >> - Can ahci-hd be used paravirtualized in Centos? > > Not quite sure what you mean here: virtio-blk is the > paravirtualized disk interface, and it works fine with Centos. I mean: If I use ahci-hd in the bhyve config, is Centos7 smart enough to see/use para-virtual disks (/dev/vd*) or use AHCI-Disks /dev/sd*) Thanks! Greetings --- Mike Gruß --- Michael Reifenberger