aboutsummaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
authorIan Lepore <ian@FreeBSD.org>2017-10-29 20:50:03 +0000
committerIan Lepore <ian@FreeBSD.org>2017-10-29 20:50:03 +0000
commit5deb1573e8f1af37d155156331c4093a8969e0da (patch)
treec517ca07451b10c320e71fbcb78261b6140c37b2 /rescue
parent47f9f0c229e04307797deedcc6c0123fd0dc5aad (diff)
downloadsrc-5deb1573e8f1af37d155156331c4093a8969e0da.tar.gz
src-5deb1573e8f1af37d155156331c4093a8969e0da.zip
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@
Notes
Notes: svn path=/head/; revision=325108
Diffstat (limited to 'rescue')
0 files changed, 0 insertions, 0 deletions