From owner-freebsd-virtualization@freebsd.org Fri Apr 12 23:25:12 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 1793B1588D24 for ; Fri, 12 Apr 2019 23:25:12 +0000 (UTC) (envelope-from dmarquess@gmail.com) Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D452991C44 for ; Fri, 12 Apr 2019 23:25:10 +0000 (UTC) (envelope-from dmarquess@gmail.com) Received: by mail-lf1-x12f.google.com with SMTP id r25so8662045lfn.13 for ; Fri, 12 Apr 2019 16:25:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=IAnROOu7r0kka112gi6+33AvbYA/zp6VuOTj6LlLC/E=; b=mzZGLkcAgalIm6dvN/MxrPA1N7Q9fjJPW+XEmucFKCfCZbIKusPVOBfCU09h1V0A3V oZeeuRSgzmgZUURMJafjHZDw23xm/ihWB5edIeFLg61mFRN4OYaL9PEwybOnFIX5V94W sucC0chbg3xy/ujYZ2FhtkbB5HFlfjVLt/+bCR6NNPN88kYFZZBCowi2IrMGjPafnCO5 AVKeYCfy7vr7tlvUMUSxLVmn2wqBcZDCS/92jJvFaVeId+YogfI3bHWDrQ5Tk+u/x31K 1wO2Q+6thulykE26W8YxcUyTJgoB7nMoaMy8NFqby9RDRhfEldEPG7ZuxoEqLddH5/pe o8+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=IAnROOu7r0kka112gi6+33AvbYA/zp6VuOTj6LlLC/E=; b=JEApWDHlHe0P83g+DXYVvFqBBriCTQfnJAP7JR2xK8HPHxpmUmgjtWtz4qV0y1Io9A UbC6123dzSCLEMnqGdOdw6VK/PgwZyqM6h8hgr7zkZwPQ3ULojIhX1CzyHjxYZuNqnSY 5hlXH4UHOHvkE158F3xiTzE8nZOgSsWFkiupnW+hl2jnnqdI32ppg3CmPzbZ56xf98Hr 9ZxZ5ouUFSy08PBil03fqc991i1aoPUv5bUlEQaORjyuaOhHmMZDglC5sZTPZ8wD9/KD LVZ8Zn/Obm0XzFLJwUUtzeubwD0ALpOneZjp+200z0y4QoBNVglhi/LOsdP5iilebj52 4+0Q== X-Gm-Message-State: APjAAAUgpDJbychccsf5SrYLf478QFppLLyOKCsyCQVdppyDKaAvd94d wbG2p9a++9QUKmDfKE0NWllGJY0lJj7u3NPT8t/6mnXBEIY= X-Google-Smtp-Source: APXvYqxIdt0QBOSUc/Yld+TgsUYLbC2GyPAU4KiAe+68qLKX0yQzgaki0xN+rNbemfLLi9+gNNBgSofPK1BGJo9oQ/4= X-Received: by 2002:ac2:4192:: with SMTP id z18mr30623338lfh.96.1555111508381; Fri, 12 Apr 2019 16:25:08 -0700 (PDT) MIME-Version: 1.0 References: <20190412130825.GA5886@doctor.nl2k.ab.ca> <201904121456.x3CEumsi076934@gndrsh.dnsmgr.net> In-Reply-To: <201904121456.x3CEumsi076934@gndrsh.dnsmgr.net> From: Dustin Marquess Date: Fri, 12 Apr 2019 18:24:57 -0500 Message-ID: Subject: Re: Windows 2019 server To: "Rodney W. Grimes" Cc: The Doctor , FreeBSD virtualization Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: D452991C44 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=mzZGLkcA; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of dmarquess@gmail.com designates 2a00:1450:4864:20::12f as permitted sender) smtp.mailfrom=dmarquess@gmail.com X-Spamd-Result: default: False [-4.78 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.98)[-0.978,0]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(-2.79)[ip: (-9.33), ipnet: 2a00:1450::/32(-2.39), asn: 15169(-2.19), country: US(-0.06)]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[f.2.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; INTRODUCTION(2.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 23:25:12 -0000 Indeed! As for the other two... the virtio-rnd I pass through to all of my capable VMs, as VMs usually have a tougher time to collect entropy, so I figure it can't hurt. The PCI passthrough I just forgot to remove from my example before I sent it. I have a dual-port 16C950 PCIe card that I passthrough to Windows to run u-blox u-center :). -Dustin On Fri, Apr 12, 2019 at 9:57 AM Rodney W. Grimes wrote: > > > 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=3D1,cores=3D4,threads=3D2 -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 s= eem > > > > > 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/windows2019s= t -s 10,virtio-net,tap3 -s 31,lpc -l com1,/dev/nmdm9A -l com2,/dev/nmdm10A= -s 29,fbuf,tcp=3D0.0.0.0:5958,w=3D1024,h=3D768,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-virtualiza= tion > > > > > 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 d= octor@@nl2k.ab.ca > > > > > > Yahweh, Queen & country!Never Satan President Republic!Beware A= ntiChrist rising! > > > > > > https://www.empire.kred/ROOTNK?t=3D94a1f39b 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-virtualizati= on > > > > > > To unsubscribe, send any mail to "freebsd-virtualization-unsubs= cribe@freebsd.org" > > > > > > > > -- > > > > Member - Liberal International This is doctor@@nl2k.ab.ca Ici docto= r@@nl2k.ab.ca > > > > Yahweh, Queen & country!Never Satan President Republic!Beware AntiC= hrist rising! > > > > https://www.empire.kred/ROOTNK?t=3D94a1f39b 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@@n= l2k.ab.ca > > Yahweh, Queen & country!Never Satan President Republic!Beware AntiChris= t rising! > > https://www.empire.kred/ROOTNK?t=3D94a1f39b Look at Psalms 14 and 53 o= n 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@fr= eebsd.org" > > > > -- > Rod Grimes rgrimes@freebs= d.org