From: Marcelo Tosatti <mtosatti@redhat.com>
To: Owen Hofmann <osh@google.com>
Cc: KVM General <kvm@vger.kernel.org>,
Paolo Bonzini <pbonzini@redhat.com>,
Andy Lutomirski <luto@amacapital.net>,
Peter Hornyack <peterhornyack@google.com>
Subject: Re: What time is it kvm-clock?
Date: Fri, 26 Feb 2016 12:04:09 -0300 [thread overview]
Message-ID: <20160226150408.GA5227@amt.cnet> (raw)
In-Reply-To: <CANqFzA5VCQYZ6dYBjz=hbBotwe0S_4cKgxGiK9YU8Ei9G7DYng@mail.gmail.com>
On Tue, Feb 23, 2016 at 06:31:59PM -0800, Owen Hofmann wrote:
> Specifically, what underlying source of time should be exposed through
> kvm-clock and other paravirtual ABIs like the HyperV reference tsc
> page? Recently a couple of threads on kvm-list, along with attempts
> to produce reliable behavior from kvm-clock on our systems have
What is there in place are testcases to measure particular kvmclock
issues, such as time backwards events and maximum offset/frequency
against NTP.
There is no "true" clock, you can only measure one clock against
another (i think Radim raised that point as well). UTC is the
global standard, an average of atomic clocks.
http://tf.nist.gov/general/pdf/1498.pdf
What you'd like to do is measure kvmclock stability regarding
some parameter. So to improve that situation one could find what
parameters are important (such as whether clock-A should not stop
counting for more than some time units of clock-B, thats the "opposite"
side effect of the bug uncovered by Hyper-V fixes, the other being
time backwards events).
(clock-A being kvmclock, clock-B being a GPS clock for example).
One useful activity would be to compare (only the minimum measurements
out of many measurements)
kvmclock in a guest with a GPS clock. I bought a Garmin GPS clock but never got
around to enabling the RS-232 connection required to bypass the USB
latency.
It costs less than 100US$.
http://www.lammertbies.nl/comm/info/GPS-time.html
prev parent reply other threads:[~2016-02-26 15:04 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-24 2:31 What time is it kvm-clock? Owen Hofmann
2016-02-24 3:57 ` Marcelo Tosatti
2016-02-24 17:35 ` Peter Hornyack
2016-02-24 20:17 ` Radim Krčmář
2016-02-24 20:24 ` Andy Lutomirski
2016-02-24 20:53 ` Radim Krčmář
2016-02-25 11:13 ` Radim Krčmář
2016-02-25 11:22 ` Marcelo Tosatti
2016-02-24 23:35 ` Marcelo Tosatti
2016-02-24 23:36 ` Marcelo Tosatti
2016-02-25 1:19 ` Andy Lutomirski
2016-02-25 3:50 ` Owen Hofmann
2016-02-25 12:20 ` Radim Krčmář
2016-02-26 17:02 ` Andy Lutomirski
2016-02-26 19:30 ` Marcelo Tosatti
2016-02-27 0:00 ` Andy Lutomirski
2016-02-25 11:36 ` Radim Krčmář
2016-02-25 12:12 ` Marcelo Tosatti
2016-02-24 3:59 ` Marcelo Tosatti
2016-02-24 14:14 ` Paolo Bonzini
2016-02-24 16:44 ` Andy Lutomirski
2016-02-24 17:38 ` Marcelo Tosatti
2016-02-24 19:38 ` Andy Lutomirski
2016-02-24 19:44 ` Paolo Bonzini
2016-02-24 19:52 ` Andy Lutomirski
2016-02-24 19:55 ` Owen Hofmann
2016-02-25 12:22 ` Joao Martins
2016-02-26 15:04 ` Marcelo Tosatti [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160226150408.GA5227@amt.cnet \
--to=mtosatti@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=luto@amacapital.net \
--cc=osh@google.com \
--cc=pbonzini@redhat.com \
--cc=peterhornyack@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox