Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Sep 2015 12:33:08 -0400
From:      Allan Jude <allanjude@freebsd.org>
To:        freebsd-virtualization@freebsd.org
Subject:   Re: [bhyve] clock problem
Message-ID:  <55EDBC44.1050908@freebsd.org>
In-Reply-To: <CAEtGZqtbi4uRn_8fy6EzcTxQ8EVijhpwaMzqD7HSwfhyvzV9OQ@mail.gmail.com>
References:  <CAEtGZqtbi4uRn_8fy6EzcTxQ8EVijhpwaMzqD7HSwfhyvzV9OQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55EDBC44.1050908>