Skip site navigation (1)Skip section navigation (2)
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
>>  =C2=A0 Improve the performance of the hpet timer in bhyve guests by m=
aking the
>>  =C2=A0 timer frequency a power of two.=C2=A0=C2=A0This changes the fr=
equency from 10 to
>>  =C2=A0 16.7 MHz (2 ^ 24 HZ).=C2=A0=C2=A0Using a power of two avoids r=
oundoff errors when
>>  =C2=A0 doing arithmetic in sbintime_t units.
>>   =20
>>  =C2=A0 Testing shows this can fix erratic ntpd behavior in guests usi=
ng the
>>  =C2=A0 hpet timer (which is the default for multicore guests).
>>   =20
>>  =C2=A0 Reported by:	bsam@
>>
>> Modified:
>>  =C2=A0 head/sys/amd64/vmm/io/vhpet.c

  In the future please respect MAINTAINERS and file a phab review for=20
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>