bhyve clock problem, solved by kern.timecounter.hardware="TSC-low" in /etc/sysctl.conf

Bryan Venteicher bryanv at daemoninthecloset.org
Fri Apr 10 23:27:10 UTC 2015


On Fri, Apr 10, 2015 at 4:36 PM, Ryan Stone <rysto32 at gmail.com> wrote:

> Using the TSC as the default timecounter in a VM is dangerous.  On some
> hardware, the TSC is not synchronized across all CPU cores.  This means
> that if a VM migrates from one core to another, it could see the
> timecounter value go backwards.  Time jumping backwards can cause all kinds
> of hilarity.
>
> What's really needed is for bhyve to support KVM clock or a similar scheme
> (brianv@ might also still need to commit the guest side of KVM clock as
> well).
>


​I still need to after addressing some review comments first, but I've been
perpetually busy with my job. I hope to get to it RealSoon.​


_______________________________________________
> freebsd-virtualization at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
> To unsubscribe, send any mail to "
> freebsd-virtualization-unsubscribe at freebsd.org"
>


More information about the freebsd-virtualization mailing list