Degraded timing performance - QEMU, KVM - OpenBSD 6.2

2017-12-26 Thread Andrew Davis
Hello, I'm experiencing some odd timing issues on OpenBSD 6.2 (and 6.1) on the system listed below. This is preventing me from running OpenBSD on my servers. Can you determine if this is a bug in the OpenBSD operating system? I can provide more information if needed. Virtualized environment.

Re: Degraded timing performance - QEMU, KVM - OpenBSD 6.2

2017-12-26 Thread Mike Larkin
On Tue, Dec 26, 2017 at 12:27:31PM -0500, Andrew Davis wrote: > Hello, > > I'm experiencing some odd timing issues on OpenBSD 6.2 (and 6.1) on the > system listed below. This is preventing me from running OpenBSD on my > servers. Can you determine if this is a bug in the OpenBSD operating system?

Re: Degraded timing performance - QEMU, KVM - OpenBSD 6.2

2017-12-26 Thread Andrew Davis
Hello, No, I didn't changing the kern.timecounter selection directly. I had tried disabling the HPET on qemu/kvm (which may have affected this selection?). Two of my boxes, both OpenBSD 6.1 report this: # sysctl kern.timecounter kern.timecounter.tick=1 kern.timecounter.timestepwarnings=0 ker

Re: Degraded timing performance - QEMU, KVM - OpenBSD 6.2

2017-12-26 Thread Mike Larkin
On Tue, Dec 26, 2017 at 03:24:03PM -0500, Andrew Davis wrote: > Hello, > > No, I didn't changing the kern.timecounter selection directly. I had tried > disabling the HPET on qemu/kvm (which may have affected this selection?). > > Two of my boxes, both OpenBSD 6.1 report this: > > # sysctl kern.t

Re: Degraded timing performance - QEMU, KVM - OpenBSD 6.2

2017-12-27 Thread Andrew Davis
Hello again, I tested with each of the "acpihpet0", "acpitimer0", and "i8254" timers. The timing problem manifested when using all 3 timers. I ran the date loop with "acpihpet0" and "acpitimer0" until the issue manifested, and let "i8254" run overnight. Here are some snippets from the date l

Re: Degraded timing performance - QEMU, KVM - OpenBSD 6.2

2017-12-27 Thread Mark Kettenis
> From: Andrew Davis > Date: Wed, 27 Dec 2017 11:39:54 -0500 > > Hello again, > > I tested with each of the "acpihpet0", "acpitimer0", and "i8254" timers. > The timing problem manifested when using all 3 timers. I ran the date > loop with "acpihpet0" and "acpitimer0" until the issue manifested

Re: Degraded timing performance - QEMU, KVM - OpenBSD 6.2

2018-01-10 Thread srutherford
Would this be consistent with the PIT taking longer to respond? The mode of KVM used here (mentioned on the KVM list) moves the PIT to userspace and would make it less accurate. If I'm reading OpenBSD's LAPIC calibration code right, this might be the case. I believe Linux uses one of the PM Timer o

Re: Degraded timing performance - QEMU, KVM - OpenBSD 6.2

2018-02-02 Thread Edd Barrett
Hi, I'm experiencing this issue too. On Tue, Dec 26, 2017 at 12:27:31PM -0500, Andrew Davis wrote: > Virtualization software: QEMU + KVM (2.10.0-1.fc27) FWIW, there are reports that this bug is absent from qemu-2.11.0. -- Best Regards Edd Barrett http://www.theunixzoo.co.uk