From owner-freebsd-virtualization@freebsd.org Wed Mar 20 17:11:41 2019 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9791515596FB for ; Wed, 20 Mar 2019 17:11:41 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E6BC26FBD0 for ; Wed, 20 Mar 2019 17:11:40 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: by mailman.ysv.freebsd.org (Postfix) id 9E29315596FA; Wed, 20 Mar 2019 17:11:40 +0000 (UTC) Delivered-To: virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6141515596F9 for ; Wed, 20 Mar 2019 17:11:40 +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 222796FB03 for ; Wed, 20 Mar 2019 17:11:32 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mh0.gentlemail.de (mh0.gentlemail.de [IPv6:2a00:e10:2800::a135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id x2KHBTbR013742; Wed, 20 Mar 2019 18:11:29 +0100 (CET) (envelope-from freebsd@omnilan.de) Received: from titan.inop.mo1.omnilan.net (s1.omnilan.de [217.91.127.234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id 60109C60; Wed, 20 Mar 2019 18:11:29 +0100 (CET) Subject: Re: NVMe and Bhyve To: Victor Sudakov , "freebsd-virtualization@freebsd.org" References: <20190207174453.Horde.hWBGfoLlymCpipxLv8WUJo9@app.eeeit.de> <5121268a-1ead-9858-86a7-27f75048feb2@yuripv.net> <20190212084333.GA46685@admin.sibptus.ru> <20190212130506.GA62989@admin.sibptus.ru> <20190215044134.GA52633@admin.sibptus.ru> <20190216041134.GA75357@admin.sibptus.ru> From: Harry Schmalzbauer Organization: OmniLAN Message-ID: <21d661a4-d51d-d685-599f-c5430dea83ff@omnilan.de> Date: Wed, 20 Mar 2019 18:11:28 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20190216041134.GA75357@admin.sibptus.ru> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]); Wed, 20 Mar 2019 18:11:29 +0100 (CET) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: ; Sender-helo: mh0.gentlemail.de; ) X-Rspamd-Queue-Id: 222796FB03 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of freebsd@omnilan.de designates 2a00:e10:2800::a130 as permitted sender) smtp.mailfrom=freebsd@omnilan.de X-Spamd-Result: default: False [-6.77 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[omnilan.de]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[mx0.gentlemail.de]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.93)[-0.934,0]; IP_SCORE(-3.53)[ip: (-9.24), ipnet: 2a00:e10:2800::/64(-4.71), asn: 25074(-3.69), country: DE(-0.01)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:25074, ipnet:2a00:e10:2800::/64, country:DE]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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: Wed, 20 Mar 2019 17:11:41 -0000 Am 16.02.2019 um 05:11 schrieb Victor Sudakov: > Stefan Bethke wrote: >>> I was just worried that using ahci-hd instead of paravirtualized disks >>> causes suboptimal performance of guests. Do you think there is a hope to get >>> paravirtualized disks support for Windows guests in bhyve? >> I was under the impression that the Windows VirtIO disk driver works >> with the Bhyve virtio-blk device. You need to provide these drivers to >> Windows somehow (for example, as a second CD image during >> installation): >> https://www.linux-kvm.org/page/WindowsGuestDrivers/Download_Drivers > I use NetKVM (VirtIO network) driver from there all the time, because > e1000 is bad. > > However, I've read a number of bhyve resources including > https://wiki.freebsd.org/bhyve/Windows and I've never found a success > story with paravirtualized Windows disk drivers. > > If anyone has been successful with viostor(?), please share your experience. You'll need https://github.com/freenas/os/commit/0e4d6e1826f8aa7041cbeeb4365c797eeec5c5f4 if I remember correctly. I asked for commit, since I'm using this in production for a long time, but once upon a time, there has been a linux-guest specific side effect. Don't know much about it and haven't had a chance to reproduce it. In my bhyve world, any guest runs fine with the higher BLOCKIF_IOV limit. -harry