What happened to hw.vmm.topology.cores_per_package?

2021-02-16 Thread Patrick M. Hausen
hw.vmm.topology.cpuid_leaf_b: 1 root@freenas[~]# What happened to those tunables? Thanks, Patrick -- punkt.de GmbH Patrick M. Hausen .infrastructure Kaiserallee 13a 76133 Karlsruhe Tel. +49 721 9109500 https://infrastructure.punkt.de i...@punkt.de AG Mannheim 108285 Geschäftsführer: Jürgen Egeling

Re: When is a switch not a switch?

2020-10-22 Thread Patrick M. Hausen
the VLAN, not the port ... But give vm-bhyve a spin with the address on the physical. Or use two different physical interfaces - one for the host, one for the "public" bridge. HTH, Patrick -- punkt.de GmbH Patrick M. Hausen .infrastructure Kaiserallee 13a 76133 Karlsruhe Tel. +49 721 91

Re: When is a switch not a switch?

2020-10-20 Thread Patrick M. Hausen
Hi! > Am 20.10.2020 um 14:10 schrieb D'Arcy Cain : > > On 10/20/20 7:39 AM, Patrick M. Hausen wrote: >>> When I started I thought of a switch as analogous to a physical switch. If >>> I am in an office with one ethernet jack but I have multiple devices I >>

Re: When is a switch not a switch?

2020-10-20 Thread Patrick M. Hausen
m -rxcsum6 -txcsum -txcsum6 -tso -lro -vlanhwtag -vlanhwtso up ixl:-rxcsum -rxcsum6 -txcsum -txcsum6 -tso -lro -vlanhwtag -vlanhwtso up bnxt: -rxcsum -rxcsum6 -txcsum -txcsum6 -tso -lro -vlanhwtag -vlanhwtso -vlanhwfilter up HTH, Patrick -- punkt.de GmbH Patrick M. Hausen .infr

Re: When is a switch not a switch?

2020-10-20 Thread Patrick M. Hausen
Hi all, > Am 20.10.2020 um 12:50 schrieb D'Arcy Cain : > > On 10/20/20 5:36 AM, Patrick M. Hausen wrote: >>> I did see that. Does that mean that I don't even need to create switches >>> at all? >> What is a switch in this context? I use bridge interfac

Re: When is a switch not a switch?

2020-10-20 Thread Patrick M. Hausen
Hi all, > Am 20.10.2020 um 11:28 schrieb D'Arcy Cain : > > On 10/20/20 4:36 AM, Patrick M. Hausen wrote: >> It's officially documented here: >> https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-bridging.html > > I did see that. Does that mean that

Re: When is a switch not a switch?

2020-10-20 Thread Patrick M. Hausen
k/network-bridging.html "If the bridge host needs an IP address, set it on the bridge interface, not on the member interfaces." Kind regards, Patrick -- punkt.de GmbH Patrick M. Hausen .infrastructure Kaiserallee 13a 76133 Karlsruhe Tel. +49 721 9109500 https://infrastructure.pun

Re: FreeBSD a server and bhyve

2020-08-13 Thread Patrick M. Hausen
ELENG_X instead of RELENG_X_Y. Very much so. HTH, Patrick -- punkt.de GmbH Patrick M. Hausen .infrastructure Kaiserallee 13a 76133 Karlsruhe Tel. +49 721 9109500 https://infrastructure.punkt.de i...@punkt.de AG Mannheim 108285 Geschäftsführer: Jürgen Egeling, Daniel Lienert, Fabian Stein signature.

Re: FreeBSD a server and bhyve

2020-08-12 Thread Patrick M. Hausen
chyves seem to be two possible choices: https://github.com/pr1ntf/iohyve http://chyves.org Kind regards, Patrick -- punkt.de GmbH Patrick M. Hausen .infrastructure Kaiserallee 13a 76133 Karlsruhe Tel. +49 721 9109500 https://infrastructure.punkt.de i...@punkt.de AG Mannheim 108285 Geschäftsfü

Re: FreeBSD a server and bhyve

2020-08-12 Thread Patrick M. Hausen
cal NIC and assign that additional IP address in the guest OS? At least that is what I do all the time ;-) Kind regards, Patrick -- punkt.de GmbH Patrick M. Hausen .infrastructure Kaiserallee 13a 76133 Karlsruhe Tel. +49 721 9109500 https://infrastructure.punkt.de i...@punkt.de AG Mannheim 1

Re: Need X-server to run in bhyve guest

2019-12-03 Thread Patrick M. Hausen
bhyve which mandates UEFI boot? Or am I not aware that bhyve can do legacy boot, too? Kind regards, Patrick -- punkt.de GmbH Patrick M. Hausen .infrastructure Kaiserallee 13a 76133 Karlsruhe Tel. +49 721 9109500 https://infrastructure.punkt.de i...@punkt.de AG Mannheim 108285 Geschäftsführer: Jü

Re: Need X-server to run in bhyve guest

2019-12-03 Thread Patrick M. Hausen
s what I figure he suggests. Start a virtual frame buffer server like Xvnc and connect to that via VNC. Patrick -- punkt.de GmbH Patrick M. Hausen .infrastructure Kaiserallee 13a 76133 Karlsruhe Tel. +49 721 9109500 https://infrastructure.punkt.de i...@punkt.de AG Mannheim 108285 Geschäftsfüh

Re: Virtualbox on Linux in bhyve?

2019-07-04 Thread Patrick M. Hausen
Hi, > Am 04.07.2019 um 11:33 schrieb Patrick M. Hausen : > is it possible to run Ubuntu 18.04 inside a bhyve VM > and use Vagrant with Virtialbox? I just found out - yes, you can. As long as you stickt to 32 bit Virtualbox guests. You need nested virtualization for 64 bit guests. Kin

Virtualbox on Linux in bhyve?

2019-07-04 Thread Patrick M. Hausen
Hi all, is it possible to run Ubuntu 18.04 inside a bhyve VM and use Vagrant with Virtialbox? Currently we have this show stopper: Stderr: VBoxManage: error: AMD-V is not available (VERR_SVM_NO_SVM) VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap,

Re: [vm-bhyve] shutting down VMs and kern.init_shutdown_timeout

2019-04-29 Thread Patrick M. Hausen
Hi all, > Am 28.04.2019 um 06:41 schrieb Victor Sudakov : > "if the /etc/rc.shutdown does not terminate within 120 seconds, init will > terminate it. The timeout can be configured via the sysctl variable > kern.init_shutdown_timeout.“ What’s keeping you from increasing that timeout for your

Re: bhyve, sparse disk image and trim support?

2019-04-23 Thread Patrick M. Hausen
Hi! > Am 21.04.2019 um 19:01 schrieb Bjoern A. Zeeb > : > Do we support this? Has anyone worked on this? How do people deal with > these problems? I’m actually surprised this is supported for some configurations - thanks for starting the thread. As for how others deal with this - e.g. VMware

Re: bhyve and vfs.zfs.arc_max, and zfs tuning for a hypervisor

2019-03-21 Thread Patrick M. Hausen
Hi all, > Am 21.03.2019 um 11:24 schrieb Matt Churchyard via freebsd-virtualization > : > I'd also be intrigued to know what the logic in FreeNAS is for it. It is > simply a case of "(arc = total_ram - guest_allocated)"? > Is there a lower limit based on a percentage or total RAM, and/or a hard

Re: bhyve and vfs.zfs.arc_max, and zfs tuning for a hypervisor

2019-03-20 Thread Patrick M. Hausen
Hi Matt, > Am 20.03.2019 um 10:34 schrieb Matt Churchyard : >>> 2. If ARC does cache volumes, does this cache make sense on a >>> hypervisor, because guest OSes will probably have their own disk cache >>> anyway. >> >> IMHO not much, because the guest OS is relying on the fact that when >> it

Re: bhyve and vfs.zfs.arc_max, and zfs tuning for a hypervisor

2019-03-20 Thread Patrick M. Hausen
Hi! > Am 20.03.2019 um 02:52 schrieb Victor Sudakov : > Is SLOG also used by zfs volumes? Yes, but for synchronous writes only, if I’m not mistaken. So fundamentally yes, but in most cases no. Patrick -- punkt.de GmbH Internet - Dienstleistungen - Beratung Kaiserallee 13a

Re: bhyve and vfs.zfs.arc_max, and zfs tuning for a hypervisor

2019-03-19 Thread Patrick M. Hausen
Hi! > Am 19.03.2019 um 03:46 schrieb Victor Sudakov : > 1. Does ARC actually cache zfs volumes (not files/datasets)? Yes it does. > 2. If ARC does cache volumes, does this cache make sense on a hypervisor, > because guest OSes will probably have their own disk cache anyway. IMHO not much,

Re: bhyve: Detecting that a guest kernel has booted

2019-03-11 Thread Patrick M. Hausen
Hi all, > Am 11.03.2019 um 19:09 schrieb Rodney W. Grimes > : > I have no love for them either, but until we get our UEFI updated > it is a rather sad state of affairs. I routinely boot FreeBSD, Ubuntu and Windows 10 with UEFI, so I don’t see much that I would consider broken. Missing

Re: bhyve: Detecting that a guest kernel has booted

2019-03-11 Thread Patrick M. Hausen
Hi all, > Am 11.03.2019 um 18:04 schrieb Mark Raynsford via freebsd-virtualization > : > Leaving aside userland monitoring tools such as Prometheus[0], is there > any way to detect on the host that a guest kernel running in bhyve has > booted? I'm assuming "booted" in this sense to mean "PID 1

Re: The status of docker

2019-01-27 Thread Patrick M. Hausen
Good morning, > Am 28.01.2019 um 03:53 schrieb Paul Kraus : > (Open)Solaris already had Linux Brand zones, which I’m sure helped get there > much faster. > They could already run Linux (user space) in a Zone. Yes, but how did they get there? Is there some technical reason why Linux branded

Re: The status of docker

2019-01-22 Thread Patrick M. Hausen
Hi! > Am 22.01.2019 um 21:09 schrieb Grzegorz Junka : > BTW is Joyent is any way related to Oracle? Why would they want to support > zones? Is the support they implemented open sourced? Sorry, I don’t know many details. Their cloud is built on Open Solaris, hence the connection. IIRC the

Re: The status of docker

2019-01-22 Thread Patrick M. Hausen
Hi all, > Am 22.01.2019 um 20:48 schrieb Grzegorz Junka : > 2. A docker container in a jail with no native linux kernel, docker is > running completely in FreeBSD environment > > 2 would be most convenient but also most difficult as all smallest docker > features would need to be ported

Re: The status of docker

2019-01-22 Thread Patrick M. Hausen
Good morning, > Am 22.01.2019 um 03:57 schrieb Craig Rodrigues : > I hope I am wrong, but unfortunately I think getting Docker to work on > natively on FreeBSD is ultimately a losing battle, > unless you can get a team of several developers to work on it full time. I have the same gut feeling,

Re: Bhyve Guest Network Troubles

2018-08-10 Thread Patrick M. Hausen
Hi, > Am 10.08.2018 um 11:29 schrieb David Powers via freebsd-virtualization > : > I have a test vm running in Bhyve that is able to reach all interfaces on its > host via icmp. > However, the guest is unable to reach the default route of the host, and thus > no Internet. > I was hoping that

Re: Why can't I dtrace processes running in a jail from the host?

2018-08-10 Thread Patrick M. Hausen
Hi! > Am 09.08.2018 um 16:52 schrieb Mark Johnston : > For userland static probes to be globally visible, the process needs to > register them with the kernel when it starts. This is done > automatically using a constructor which issues ioctls to > /dev/dtrace/helper, hence the requirement for

Why can't I dtrace processes running in a jail from the host?

2018-08-09 Thread Patrick M. Hausen
Hi all, I'm wondering why on a busy hosting server with hundreds of PHP-FPM workers running in jails "dtrace -l" on the host does not show any PHP specific probes. PHP *is* compiled with dtrace support for all the jails. Enabling /dev/dtrace/* via devfs.rules for a specific jail and then

Re: Centos7 uefi boot problem with bhyve after update

2018-05-04 Thread Patrick M. Hausen
Hi all, > Am 04.05.2018 um 15:41 schrieb Peter Grehan : > > Hi Mike, > >> the fault here could be that of bootrom not reading the files it should > > That is exactly the issue. The current UEFI code does not save non-volatile > variables to persistent storage. Guest o/s's

Re: bhyve networking

2018-04-26 Thread Patrick M. Hausen
Hi! > Am 26.04.2018 um 15:32 schrieb Paul Esson : > I'd really like to try and use the switch approach if possible and had > thought that creating the switch and adding the igb1 interface would have > brought igb1 up automatically. Is that the expected behaviour? You

Re: Migrate from real server to virtual

2018-02-28 Thread Patrick M. Hausen
Hi all, > Am 28.02.2018 um 15:31 schrieb Rodney W. Grimes > : > Yes, I do believe that is the correct conclusion to your current situation. > The other part that could be at issue here is if this is a 32bit or 64bit > version of windows. As Peter stated only

Re: Running dual boot windows inside of bhyve

2017-12-27 Thread Patrick M. Hausen
Hi all, > Am 27.12.2017 um 18:15 schrieb Alan Somers > I fear that you may be out of luck. Windows deliberately frustrates this > use case by profiling its hardware at installation time and at every boot > thereafter. If the hardware changes too much, then Windows demands

Re: Storage overhead on zvols

2017-12-05 Thread Patrick M. Hausen
Hi all, > Am 05.12.2017 um 16:41 schrieb Paul Vixie : > in some bsd related meeting this year i asked allan jude for a bhyve level > null mount, > so that we could access at / inside the guest some subtree of the host, and > avoid block > devices and file systems altogether.

Re: Vagrantboxen stblassitude/freebsd-11 and stblassitude/freebsd-10 with workaround for sudo

2017-11-09 Thread Patrick M. Hausen
Hey, guys, > Am 08.11.2017 um 23:18 schrieb Stefan Bethke : > > I’ve just updated my Vagrant boxes with a workaround for sudo segfaulting > when no hostname is set (by setting a default hostname in the box). So did we - I did not think this was honoring a mention ;)

Re: Ubuntu guest in bhyve - startup.nsh

2017-08-02 Thread Patrick M. Hausen
Hi! > Am 02.08.2017 um 15:15 schrieb Christian Stærk : > After installing refind I had to move it to the default boot location in > order to have it boot automatically: Yes, of course. That's the idea ;-) > Now it works. Thank you. You are most welcome. Patrick

Re: Ubuntu guest in bhyve - startup.nsh

2017-08-02 Thread Patrick M. Hausen
Hi! > Am 02.08.2017 um 14:34 schrieb Christian Stærk : > I was trying to work around bhyve not saving the EFI nvvars by creating a > startup.nsh file inside the EFI partition. > None of my attempts seemed to make any kind of difference when trying to boot > so I am still

Re: UEFI and othere Unixes

2017-05-22 Thread Patrick M. Hausen
Hello > Am 23.05.2017 um 03:45 schrieb The Doctor : > > All right, I am using UEFI for all my virtualisation. > > I was wondering using UEFI how to install > > netBSD > OpenBSD > Gentoo > Mandrake > Mandriva > et al > > I see an entry for ArchLinux I had good

Re: What is the recommended version of virtio-win for bhyve

2017-04-07 Thread Patrick M. Hausen
Hi! > Am 07.04.2017 um 13:15 schrieb Christian Stærk : > Can anoyone here recommend a version, that works with bhyve and windows 10? According ti the FreeBSD wiki 0.1.96 is the recommended version. https://wiki.freebsd.org/bhyve/Windows I'm running Windows 7 with 0.1.134

Re: virtio_console in bhyve? (FreeBSD host and guest)

2017-02-23 Thread Patrick M. Hausen
Hi, Jakub, nice to meet you here. > virtio_console(4) driver in 10.3 and in 11.0 doesn't support named ports > feature, > which is used by bhyve in FreeNAS 10. I'll look into backporting FreeBSD 12 > fixes > to stable/10 and stable/11. May I suggest (as a first step) to document that simple

Re: virtio_console in bhyve? (FreeBSD host and guest)

2017-02-23 Thread Patrick M. Hausen
Some more information: > I'm trying to get guest-additions to work for FreeBSD guests in FreeNAS 10. > FreeNAS 10 is built on top of RELENG_11 and uses the bhyve hypervisor. > > Each VM is started with one virtio_console device like this: > > bhyve [...] -s >

virtio_console in bhyve? (FreeBSD host and guest)

2017-02-23 Thread Patrick M. Hausen
Hi, all, I'm trying to get guest-additions to work for FreeBSD guests in FreeNAS 10. FreeNAS 10 is built on top of RELENG_11 and uses the bhyve hypervisor. Each VM is started with one virtio_console device like this: bhyve [...] -s