From owner-freebsd-virtualization@freebsd.org Fri Apr 12 14:57:07 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 0C4D7157E92D for ; Fri, 12 Apr 2019 14:57:07 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (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 DFD147686F for ; Fri, 12 Apr 2019 14:56:55 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (localhost [127.0.0.1]) by gndrsh.dnsmgr.net (8.13.3/8.13.3) with ESMTP id x3CEunek076935; Fri, 12 Apr 2019 07:56:49 -0700 (PDT) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: (from freebsd-rwg@localhost) by gndrsh.dnsmgr.net (8.13.3/8.13.3/Submit) id x3CEumsi076934; Fri, 12 Apr 2019 07:56:48 -0700 (PDT) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201904121456.x3CEumsi076934@gndrsh.dnsmgr.net> Subject: Re: Windows 2019 server In-Reply-To: <20190412130825.GA5886@doctor.nl2k.ab.ca> To: The Doctor Date: Fri, 12 Apr 2019 07:56:48 -0700 (PDT) CC: Dustin Marquess , FreeBSD virtualization X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: DFD147686F X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [5.64 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(0.76)[0.759,0]; RCVD_TLS_LAST(0.00)[]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[dnsmgr.net]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.96)[0.961,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[gndrsh.dnsmgr.net,gndrsh.dnsmgr.net]; NEURAL_SPAM_LONG(1.00)[0.996,0]; IP_SCORE(0.03)[ip: (0.12), ipnet: 69.59.192.0/19(0.06), asn: 13868(0.04), country: US(-0.06)]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; INTRODUCTION(2.00)[]; ASN(0.00)[asn:13868, ipnet:69.59.192.0/19, country:US]; FREEMAIL_CC(0.00)[gmail.com]; 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: Fri, 12 Apr 2019 14:57:07 -0000 > On Thu, Apr 11, 2019 at 10:10:03PM -0500, Dustin Marquess wrote: > > It's worth a shot at least to see if it works! > > > > But ya, basically the same as mine: > > > > bhyve -A -H -P -w -S -u -c sockets=1,cores=4,threads=2 -m ${RAM} \ > > -s 0,hostbridge \ > > -s 3,nvme,/dev/zvol/tank/vm/win2019 \ > > -s 4,ahci-cd,${VMROOT}/win2019/empty.iso,nocache,ro \ > > -s 5,passthru,130/0/0 \ > > -s 10,virtio-net,tap2 \ > > -s 20,virtio-rnd \ > > -s 31,lpc \ > > -l com1,stdio -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd ${VM} > > > > -Dustin > > I will try a bit of a mix. Also Do the same for the Linux emulations > such as Scientific, Fedora, Centos, Debian and Ubuntu and ORacle? > > BTW rational for the -w , your -c content your passthru and the virtio-rnd? The -c context is done most likely for license reasons, without specifying topology the default for -c 8 would be 8 sockets of 1 core of 1 thread, that would require a high end server win2019 license. By building this as a 8 threads in a single socket you get to use a single socket windows license. This is one of the major reasons that I added the complex topology specification to the -c option. > > On Thu, Apr 11, 2019 at 5:54 PM The Doctor wrote: > > > > > > On Thu, Apr 11, 2019 at 05:18:10PM -0500, Dustin Marquess wrote: > > > > I'm not sure if 12.0 has bhyve nmve support, but 10 & 2019 both seem > > > > to run MUCH faster when using nvme compared to ahci-hd. > > > > > > > > -Dustin > > > > > > > > > > Here is the script I use to start the Windows server > > > > > > > > > #!/bin/sh > > > bhyve -c 4 -s 0,hostbridge -s 3,ahci-hd,/usr/vm/images/windows2019st -s 10,virtio-net,tap3 -s 31,lpc -l com1,/dev/nmdm9A -l com2,/dev/nmdm10A -s 29,fbuf,tcp=0.0.0.0:5958,w=1024,h=768,wait -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd -m 4G -H -w windows2019st & > > > > > > So I should change ahci-cd to nvme? > > > > > > > > > > On Thu, Apr 11, 2019 at 4:40 PM The Doctor via freebsd-virtualization > > > > wrote: > > > > > > > > > > Seems to be running slow on FreeBSD 12.0 p3. > > > > > > > > > > Just wondering if there are known issues. > > > > > -- > > > > > Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca > > > > > Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist rising! > > > > > https://www.empire.kred/ROOTNK?t=94a1f39b Look at Psalms 14 and 53 on Atheism > > > > > Alberta on 16 April 2019, do not vote UCP, FCP nor NDP! > > > > > _______________________________________________ > > > > > freebsd-virtualization@freebsd.org mailing list > > > > > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > > > > > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org" > > > > > > -- > > > Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca > > > Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist rising! > > > https://www.empire.kred/ROOTNK?t=94a1f39b Look at Psalms 14 and 53 on Atheism > > > Alberta on 16 April 2019, do not vote UCP, FCP nor NDP! > > -- > Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca > Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist rising! > https://www.empire.kred/ROOTNK?t=94a1f39b Look at Psalms 14 and 53 on Atheism > Alberta on 16 April 2019, do not vote UCP, FCP nor NDP! > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org" > -- Rod Grimes rgrimes@freebsd.org