HomeFreeBSD

Improve the performance of the hpet timer in bhyve guests by making the
08fa1a3f8281Unpublished

Unpublished Commit · Learn More

  • Repository Importing: This repository is still importing.
  • Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Improve the performance of the hpet timer in bhyve guests by making the
timer frequency a power of two. This changes the frequency from 10 to
16.7 MHz (2 ^ 24 HZ). Using a power of two avoids roundoff errors when
doing arithmetic in sbintime_t units.

Testing shows this can fix erratic ntpd behavior in guests using the
hpet timer (which is the default for multicore guests).

Reported by: bsam@

Details

Provenance
ianAuthored on Oct 29 2017, 8:50 PM

Event Timeline

Commit No Longer Exists

This commit no longer exists in the repository.