Re: host, bhyve vm and ntpd

From: Boris Samorodov <bsam_at_passap.ru>
Date: Sun, 22 Oct 2017 11:28:20 +0300
22.10.2017 00:07, Michael Voorhis пишет:
> Ian Lepore writes:
>> Beyond that, I'm not sure what else to try.  It might be necessary to
>> get some bhyve developers involved (I know almost nothing about it).
> 
> NTPD behaves more normally on uniprocessor VMs.
> 
> A FreeBSD bhyve-guest running on a freebsd host will select a
> different timecounter depending on whether it is a multiprocessor or a
> uniprocessor.  My uniprocessor bhyve-vm selected TSC-low as the best
> timecounter in a uniprocessor.  NTP functions there as expected.
> 
> kern.timecounter.choice: TSC-low(1000) ACPI-fast(900) HPET(950) i8254(0) dummy(-1000000)
> kern.timecounter.hardware: TSC-low
> 
> The very same VM, when given two total CPUs, selected HPET (if I
> recall) and the timekeeping with NTPD was unreliable, with many
> step-resets to the clock.

Yep, the same here. I've switched to TSC-low at Bhyve guest and there
is no stepping per 24 hours.

-- 
WBR, bsam
Received on Sun Oct 22 2017 - 06:28:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:13 UTC