Date: Sun, 29 Oct 2017 15:15:17 -0700 From: Peter Grehan <grehan@freebsd.org> To: Ian Lepore <ian@freebsd.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r325108 - head/sys/amd64/vmm/io Message-ID: <3b1ffc68-def3-04f6-2a1e-af44d6f3b4a5@freebsd.org> In-Reply-To: <1509310495.21609.60.camel@freebsd.org> References: <201710292050.v9TKo3j5058456@repo.freebsd.org> <1509310495.21609.60.camel@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
>> 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@ >> >> Modified: >> head/sys/amd64/vmm/io/vhpet.c In the future please respect MAINTAINERS and file a phab review for code in this area. later, Peter.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3b1ffc68-def3-04f6-2a1e-af44d6f3b4a5>
