Re: Windows 2019 server

2019-04-12 Thread Dustin Marquess
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=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-unsubscr...@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-unsubscr...@freebsd.org"
> >
>
> --
> Rod Grimes rgri...@freebsd.org
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: Windows 2019 server

2019-04-12 Thread Rodney W. Grimes
> 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-unsubscr...@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-unsubscr...@freebsd.org"
> 

-- 
Rod Grimes rgri...@freebsd.org
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: Windows 2019 server

2019-04-12 Thread The Doctor via freebsd-virtualization
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?

> 
> 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-unsubscr...@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-unsubscr...@freebsd.org"


Re: Windows 2019 server

2019-04-12 Thread Victor Sudakov
The Doctor via freebsd-virtualization wrote:
> Seems to be running slow on FreeBSD 12.0 p3.
> 
> Just wondering if there are known issues.

I've just installed "Windows Server 2016" on 11.2-RELEASE-p9 and it is very
slow.  Windows 2012 R2 ran much faster AFAIR.

I don't think this is the ahci-hd issue because the Novabench Windows
benchmark in the guest VM shows read and write speeds over 1 GB/s, isn't
it more than enough?


-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49@fidonet http://vas.tomsk.ru/


signature.asc
Description: PGP signature