From owner-svn-src-head@freebsd.org Sun Oct 29 22:23:07 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 00AEAE4DEC9 for ; Sun, 29 Oct 2017 22:23:07 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 9FAD3697D7 for ; Sun, 29 Oct 2017 22:23:06 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTPS id E0E5C20ADBED for ; Mon, 30 Oct 2017 08:15:23 +1000 (AEST) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id DB9B1281E00 for ; Mon, 30 Oct 2017 08:15:23 +1000 (AEST) X-Amavis-Modified: Mail body modified (using disclaimer) - iredmail.onthenet.com.au Received: from iredmail.onthenet.com.au ([127.0.0.1]) by localhost (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id d8vkd8qn7J6Y for ; Mon, 30 Oct 2017 08:15:23 +1000 (AEST) Received: from Peters-MacBook-Pro-2.local (50-0-69-205.dsl.static.fusionbroadband.com [50.0.69.205]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id 7A63D280910; Mon, 30 Oct 2017 08:15:20 +1000 (AEST) Subject: Re: svn commit: r325108 - head/sys/amd64/vmm/io To: Ian Lepore , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org References: <201710292050.v9TKo3j5058456@repo.freebsd.org> <1509310495.21609.60.camel@freebsd.org> From: Peter Grehan Message-ID: <3b1ffc68-def3-04f6-2a1e-af44d6f3b4a5@freebsd.org> Date: Sun, 29 Oct 2017 15:15:17 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <1509310495.21609.60.camel@freebsd.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-CMAE-Score: 0 X-CMAE-Analysis: v=2.2 cv=XKlAcUpE c=1 sm=1 tr=0 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=3jPexO113QScgro132hsCQ==:17 a=IkcTkHD0fZMA:10 a=02M-m0pO-4AA:10 a=mkUh-SqEeZ4b2_Ug4rsA:9 a=QEXdDO2ut3YA:10 wl=host:3 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Oct 2017 22:23:07 -0000 >> =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.