From owner-freebsd-virtualization@freebsd.org Mon Sep 7 16:32:18 2015 Return-Path: Delivered-To: freebsd-virtualization@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 461669CCB0C for ; Mon, 7 Sep 2015 16:32:18 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from mx1.scaleengine.net (mx1.scaleengine.net [209.51.186.6]) by mx1.freebsd.org (Postfix) with ESMTP id 0A4951E38 for ; Mon, 7 Sep 2015 16:32:17 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from [10.1.1.2] (unknown [10.1.1.2]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 681CA9A26 for ; Mon, 7 Sep 2015 16:32:11 +0000 (UTC) Subject: Re: [bhyve] clock problem To: freebsd-virtualization@freebsd.org References: From: Allan Jude Message-ID: <55EDBC44.1050908@freebsd.org> Date: Mon, 7 Sep 2015 12:33:08 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lbBRpMXSlO7XUBkLeonln1eT2sFkwR7PT" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2015 16:32:18 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --lbBRpMXSlO7XUBkLeonln1eT2sFkwR7PT Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2015-09-07 08:42, Vladimir Laskov wrote: > I have a problem with Linux guest on BHyve host. Guest use io > driver virtio-blk. >=20 >=20 > ***********************************************************************= *************** > # lsb_release -a > No LSB modules are available. > Distributor ID: Debian > Description: Debian GNU/Linux 7.8 (wheezy) > Release: 7.8 > Codename: wheezy >=20 > # uname -a > Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u2 x86_64 GNU/Linux >=20 > # tail /var/log/kern.log > Sep 6 22:06:59 kernel: [110375.060025] hrtimer: interrupt took 295444= ns >=20 > # tail /var/log/ntpd.log > 5 Sep 04:00:53 ntpd[8041]: frequency error -589 PPM exceeds tolerance = 500 > PPM >=20 > 6 Sep 07:27:46 ntpd[5723]: 0.0.0.0 c016 06 restart > 6 Sep 07:27:46 ntpd[5723]: 0.0.0.0 c012 02 freq_set ntpd -500.000 PPM > 6 Sep 07:27:53 ntpd[5723]: 0.0.0.0 c615 05 clock_sync > 6 Sep 07:50:01 ntpd[5723]: frequency error -500 PPM exceeds tolerance = 500 > PPM >=20 >=20 > # cat /var/lib/ntp/ntp.drift > -500.000 >=20 > # cat /sys/devices/system/clocksource/clocksource0/current_clocksource > tsc > ***********************************************************************= *************** > on host >=20 > # sysctl kern.timecounter.hardware > kern.timecounter.hardware: TSC-low >=20 > # ntpdate -q pool.ntp.org > server 46.254.216.12, stratum 2, offset 0.023543, delay 0.02783 > server 31.135.95.60, stratum 2, offset 0.023552, delay 0.02791 > server 85.21.78.23, stratum 2, offset 0.045319, delay 0.07175 > server 93.180.54.115, stratum 2, offset 0.022923, delay 0.02832 > 7 Sep 15:27:43 ntpdate[10554]: adjust time server 46.254.216.12 offset= > 0.023543 sec >=20 > # cat /var/db/ntpd.drift > 0.932 > ***********************************************************************= *************** >=20 >=20 > please help >=20 >=20 > -- > Vladimir Laskov > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@fr= eebsd.org" >=20 What are your available options on the host hardware? sysctl kern.timecounter.choice Have you tried experimenting? --=20 Allan Jude --lbBRpMXSlO7XUBkLeonln1eT2sFkwR7PT Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJV7bxPAAoJEBmVNT4SmAt+usoP/03BLnN6Z7FfHo1XwZCOSgqD y3tRwOPoypCVTn3QdTfUYrAYyOmdWI9p5EO7rJOZKWEa0q2WAe4CEv5WRll9M8Ea rsnTPGL4fQfFIJe9RVHPWc/FJmb1unIBSEgYyJFc75BcjleyQ19+EIsI/kJy4rue DyfpQ+oVuMqpSgW+oyqBvR2nR20Fe54sUjEpOXVcrA3azNtz0vBlwRToB8dDPP4u 8zhd1H38OlS5iVKzqgePlR4fgV6jqT9K2h+JlsuNbru5at38Gjiv4zFMIcA2H5aq W5N5UmJun6dQxTVB4XKp70Bh8ttpqZzv6ToBdpHxXb5Vy1C+wGDmlLd1TyQiqf76 jyNobMfAev3EoKR/yN5062oZgGe9YRn2GuMthJAKm8RhszWXZYFSipRFHwCKFdmL bU7eG0jP4d0GkN6GTb0VZOMAN4lTpMQF9xvOn+TXuM0TPdeMwzxlksZeECmydZ0J vlbwegurZZx2E9fHFOuu1TkO6OxsiSYNufdapWwHB06wAfLIc+4JBfW8GS1afvHM y5le01VGjl0mnGXROMcCsIZ9RePBxWnlLpLHG5PAKI261mBD0aDK+Ye28lCWeL7P RPGIEAugw6Ks31LNkJ9y+C1OY09JDSsQWzN1IAPMXNMEJbt/9HjJdo2GLKx/UOx7 GLat6sLVeRUqk6MgZe+G =+NDK -----END PGP SIGNATURE----- --lbBRpMXSlO7XUBkLeonln1eT2sFkwR7PT--