Re: vmd: spurious VM restarts

2021-06-26 Thread Dave Voutila
Mike Larkin writes: > On Sat, Jun 26, 2021 at 03:26:55PM +0200, Thomas L. wrote: >> On Wed, 7 Apr 2021 17:00:00 -0700 >> Mike Larkin wrote: >> > Depends on the exact content that got swapped out (as we didn't handle >> > TLB flushes correctly), so a crash was certainly a possibility. >> > That'

Re: vmd: spurious VM restarts

2021-06-26 Thread Mike Larkin
On Sat, Jun 26, 2021 at 03:26:55PM +0200, Thomas L. wrote: > On Wed, 7 Apr 2021 17:00:00 -0700 > Mike Larkin wrote: > > Depends on the exact content that got swapped out (as we didn't handle > > TLB flushes correctly), so a crash was certainly a possibility. > > That's why I wanted to see the VMM_

Re: vmd: spurious VM restarts

2021-06-26 Thread Thomas L.
On Wed, 7 Apr 2021 17:00:00 -0700 Mike Larkin wrote: > Depends on the exact content that got swapped out (as we didn't handle > TLB flushes correctly), so a crash was certainly a possibility. > That's why I wanted to see the VMM_DEBUG output. > > In any case, Thomas should try -current and see if

Re: vmd: spurious VM restarts

2021-04-07 Thread Mike Larkin
On Wed, Apr 07, 2021 at 07:47:28PM -0400, Dave Voutila wrote: > > Thomas L. writes: > > >> > Thomas: I looked at your host dmesg and your provided vm.conf. It > >> > looks like 11 vm's with the default 512M memory and one (minecraft) > >> > with 8G. Your host seems to have only 16GB of memory, some

Re: vmd: spurious VM restarts

2021-04-07 Thread Dave Voutila
Thomas L. writes: >> > Thomas: I looked at your host dmesg and your provided vm.conf. It >> > looks like 11 vm's with the default 512M memory and one (minecraft) >> > with 8G. Your host seems to have only 16GB of memory, some of which >> > is probably unavailable as it's used by the integrated g

Re: vmd: spurious VM restarts

2021-04-07 Thread Thomas L.
> > Thomas: I looked at your host dmesg and your provided vm.conf. It > > looks like 11 vm's with the default 512M memory and one (minecraft) > > with 8G. Your host seems to have only 16GB of memory, some of which > > is probably unavailable as it's used by the integrated gpu. I'm > > wondering if

Re: vmd: spurious VM restarts

2021-04-07 Thread Mike Larkin
On Wed, Apr 07, 2021 at 09:23:14AM -0400, Dave Voutila wrote: > > Dave Voutila writes: > > > Mike Larkin writes: > > > >> On Wed, Apr 07, 2021 at 12:22:23AM +0200, Thomas L. wrote: > >>> On Tue, 6 Apr 2021 14:28:09 -0700 > >>> Mike Larkin wrote: > >>> > >>> > On Tue, Apr 06, 2021 at 09:15:10PM +02

Re: vmd: spurious VM restarts

2021-04-07 Thread Mike Larkin
On Wed, Apr 07, 2021 at 07:26:41AM -0400, Dave Voutila wrote: > > Mike Larkin writes: > > > On Wed, Apr 07, 2021 at 12:22:23AM +0200, Thomas L. wrote: > >> On Tue, 6 Apr 2021 14:28:09 -0700 > >> Mike Larkin wrote: > >> > >> > On Tue, Apr 06, 2021 at 09:15:10PM +0200, Thomas L. wrote: > >> > > On T

Re: vmd: spurious VM restarts

2021-04-07 Thread Dave Voutila
Dave Voutila writes: > Mike Larkin writes: > >> On Wed, Apr 07, 2021 at 12:22:23AM +0200, Thomas L. wrote: >>> On Tue, 6 Apr 2021 14:28:09 -0700 >>> Mike Larkin wrote: >>> >>> > On Tue, Apr 06, 2021 at 09:15:10PM +0200, Thomas L. wrote: >>> > > On Tue, 6 Apr 2021 11:11:01 -0700 >>> > > Mike Lar

Re: vmd: spurious VM restarts

2021-04-07 Thread Dave Voutila
Mike Larkin writes: > On Wed, Apr 07, 2021 at 12:22:23AM +0200, Thomas L. wrote: >> On Tue, 6 Apr 2021 14:28:09 -0700 >> Mike Larkin wrote: >> >> > On Tue, Apr 06, 2021 at 09:15:10PM +0200, Thomas L. wrote: >> > > On Tue, 6 Apr 2021 11:11:01 -0700 >> > > Mike Larkin wrote: >> > > > Anything in

Re: vmd: spurious VM restarts

2021-04-06 Thread Mike Larkin
On Wed, Apr 07, 2021 at 12:22:23AM +0200, Thomas L. wrote: > On Tue, 6 Apr 2021 14:28:09 -0700 > Mike Larkin wrote: > > > On Tue, Apr 06, 2021 at 09:15:10PM +0200, Thomas L. wrote: > > > On Tue, 6 Apr 2021 11:11:01 -0700 > > > Mike Larkin wrote: > > > > Anything in the host's dmesg? > > > > > > >

Re: vmd: spurious VM restarts

2021-04-06 Thread Thomas L.
On Tue, 6 Apr 2021 14:28:09 -0700 Mike Larkin wrote: > On Tue, Apr 06, 2021 at 09:15:10PM +0200, Thomas L. wrote: > > On Tue, 6 Apr 2021 11:11:01 -0700 > > Mike Larkin wrote: > > > Anything in the host's dmesg? > > > > *host* dmesg. I think you misread what I was after... The dmesg of the host

Re: vmd: spurious VM restarts

2021-04-06 Thread Mike Larkin
On Tue, Apr 06, 2021 at 09:15:10PM +0200, Thomas L. wrote: > On Tue, 6 Apr 2021 11:11:01 -0700 > Mike Larkin wrote: > > Anything in the host's dmesg? > *host* dmesg. I think you misread what I was after... > Below is the dmesg and latest syslog from one of the VMs. > > OpenBSD 6.8 (GENERIC) #1:

Re: vmd: spurious VM restarts

2021-04-06 Thread Thomas L.
On Tue, 6 Apr 2021 11:11:01 -0700 Mike Larkin wrote: > Anything in the host's dmesg? Below is the dmesg and latest syslog from one of the VMs. OpenBSD 6.8 (GENERIC) #1: Tue Nov 3 09:04:47 MST 2020 r...@syspatch-68-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC real mem = 52008550

Re: vmd: spurious VM restarts

2021-04-06 Thread Mike Larkin
On Tue, Apr 06, 2021 at 07:47:52PM +0200, Thomas L. wrote: > Hi, > > I'm running OpenBSD 6.8 as hypervisor with multiple OpenBSD VMs. > Regularly, it happens that all VM are restarted, not at the same time > but clustered. The indication that this happend is reduced uptime on the > VMs, some servic

vmd: spurious VM restarts

2021-04-06 Thread Thomas L.
Hi, I'm running OpenBSD 6.8 as hypervisor with multiple OpenBSD VMs. Regularly, it happens that all VM are restarted, not at the same time but clustered. The indication that this happend is reduced uptime on the VMs, some services that fail to come up again and the following logs: # grep vmd /var