From owner-freebsd-virtualization@freebsd.org Fri Apr 9 06:30:17 2021 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3F5C15CCC93 for ; Fri, 9 Apr 2021 06:30:17 +0000 (UTC) (envelope-from SRS0=Hk7V=JG=freebsd.org=grehan@iredmail.onthenet.com.au) Received: from vito-vars.onthenet.com.au (vito-vars.OntheNet.com.au [203.13.68.24]) (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 4FGpCW62lJz3sDr for ; Fri, 9 Apr 2021 06:30:14 +0000 (UTC) (envelope-from SRS0=Hk7V=JG=freebsd.org=grehan@iredmail.onthenet.com.au) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by vito-vars.onthenet.com.au (Postfix) with ESMTPS id 304DA20B6244 for ; Fri, 9 Apr 2021 16:30:04 +1000 (AEST) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTPS id 16FB1209E420 for ; Fri, 9 Apr 2021 16:30:04 +1000 (AEST) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id 09D10213F302 for ; Fri, 9 Apr 2021 16:30:04 +1000 (AEST) Received: from iredmail.onthenet.com.au ([127.0.0.1]) by iredmail.onthenet.com.au (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 2NbW4khrVnaX for ; Fri, 9 Apr 2021 16:30:03 +1000 (AEST) Received: from MacBook-Air-4.local (unknown [120.29.48.160]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id 88076213F301; Fri, 9 Apr 2021 16:30:03 +1000 (AEST) From: Peter Grehan Subject: Re: bhyve current windows status To: Matt Churchyard Cc: freebsd-virtualization@freebsd.org References: <7850c18aba62e6150f227f3c1168974c@userve.net> Message-ID: <4d863f34-6df0-0b0a-f487-e492324e8752@freebsd.org> Date: Fri, 9 Apr 2021 16:30:03 +1000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: <7850c18aba62e6150f227f3c1168974c@userve.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=BZdDLol2 c=1 sm=1 tr=0 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=3Ck/IrRnVhCx8hPbmLB4Dw==:17 a=IkcTkHD0fZMA:10 a=3YhXtTcJ-WEA:10 a=6I5d2MoRAAAA:8 a=6F8zO02caA3Kob7CTH4A:9 a=QEXdDO2ut3YA:10 a=IjZwj45LgO3ly-622nXo:22 X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=B/4iLNlM c=1 sm=1 tr=0 a=mJOSnoNX3k71adV6TmU0eQ==:117 a=3Ck/IrRnVhCx8hPbmLB4Dw==:17 a=IkcTkHD0fZMA:10 a=3YhXtTcJ-WEA:10 a=6I5d2MoRAAAA:8 a=6F8zO02caA3Kob7CTH4A:9 a=QEXdDO2ut3YA:10 a=IjZwj45LgO3ly-622nXo:22 X-Rspamd-Queue-Id: 4FGpCW62lJz3sDr X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of SRS0=Hk7V=JG=freebsd.org=grehan@iredmail.onthenet.com.au has no SPF policy when checking 203.13.68.24) smtp.mailfrom=SRS0=Hk7V=JG=freebsd.org=grehan@iredmail.onthenet.com.au X-Spamd-Result: default: False [-1.80 / 15.00]; RCVD_TLS_LAST(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[6]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; AUTH_NA(1.00)[]; SPAMHAUS_ZRD(0.00)[203.13.68.24:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[203.13.68.24:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; FORGED_SENDER(0.30)[grehan@freebsd.org,SRS0=Hk7V=JG=freebsd.org=grehan@iredmail.onthenet.com.au]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:9313, ipnet:203.13.68.0/23, country:AU]; FROM_NEQ_ENVFROM(0.00)[grehan@freebsd.org,SRS0=Hk7V=JG=freebsd.org=grehan@iredmail.onthenet.com.au]; MAILMAN_DEST(0.00)[freebsd-virtualization] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 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: Fri, 09 Apr 2021 06:30:17 -0000 Hi Matt, > I'm after some general information on the current status/best practises > for Windows on bhyve. Not entirely the correct place for this but then > at the moment no-one else seems to really know the answers. Maybe I can > help some of the other people who are just as unclear as me on what is > actually the best information at this point. This is as good a place as any. > What are the current recommended devices/options for Windows (2019 > server in my case) - especially with ZFS. Should I be specifying a > 512/4096 sector/block size via bhyve and/or zfs? I assume nvme & > virtio-net are the current best options but is there a preferred virtio > driver version. Are any of the other virtio drivers of any use to be > installed or just the network drivers? nvme - yes. I'll leave the sector/block size issues to others. I don't touch any of those params but don't use enough Windows apps to make a qualified call. No need for other virtio drivers. For virtio-net, the recommendation is to use the latest one. > Are there any known problems with applications like AD/Exchange? I know > that SQL 2012 had massive storage overhead issues on ZFS due to 512 byte > writes, but I'm not sure if that still affects newer versions or other > applications? As above, I'll leave it up to others to chime in here. > The system I am currently using is a Xeon E5-2670, which I know was > terrible before the TPR commit. My test system seems to run reasonably > on 12.2 (although I'd be intruiged to compare against ESXi if I had the > time), but do you think I would expect to see any significant gains by > using a CPU with APICv? (not that I expect anyone has done any > benchmarking of this) It's been a long while since I've benchmarked APICv, and have never benched it on Windows, but my expectation is it won't make a lot of difference unless you have a very i/o intensive workload. > Are there any other changes in being worked on that are likely to have > an impact on support or performance? No. The main focus for Windows guests right now is GPU passthru. > I believe quite a bit of work is > being done on the UEFI firmware but I expect that doesn't really affect > much other than the boot process. I'm sure I saw reference to the devs > having regular bhyve calls, but I have little idea what is currently > being worked on. You can always ask here. For interactive response, there's the bhyve office hours which you are most welcome to participate in: https://wiki.freebsd.org/bhyve/OfficeHours later, Peter.