From: Chris Friesen <cbf123@mail.usask.ca>
To: kvm@vger.kernel.org
Subject: looking for info on TSC virtualization with kvm
Date: Thu, 07 Aug 2014 12:27:50 -0600 [thread overview]
Message-ID: <53E3C526.1060007@mail.usask.ca> (raw)
I'm trying to find out some hard data on TSC virtualization when using
qemu-kvm to run linux guests on Intel-based linux 3.4 hosts.
I've read
"https://www.kernel.org/doc/Documentation/virtual/kvm/timekeeping.txt"
and looked at the code somewhat, but it's a bit tricky to figure out
exactly what will happen.
I'm using kvm_clock for the guest kernel clocksource, but I'm concerned
about applications in the guest accessing the TSC directly.
My main concern is what happens during live migration to a host with a
faster TSC frequency (even though both hosts may have nonstop constant
TSCs).
It appears that VMX provides hardware virtualization of the TSC to allow
an offset to be applied, but no support for frequency scaling. Under
what circumstances would KVM use the hardware virtualized TSC? What
would happen on migration to a host with faster TSC?
Does KVM support a fully-emulated software TSC? If so, under what
circumstances would it be used and can it handle frequency shifts and
offsets over live migration?
Lastly...I found a patch series by Zachary Amsden at
"http://thread.gmane.org/gmane.linux.kernel/1157689" that doesn't seem
to have ever made it in to the mainline kernel...why not?
Thanks,
Chris
reply other threads:[~2014-08-07 18:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=53E3C526.1060007@mail.usask.ca \
--to=cbf123@mail.usask.ca \
--cc=kvm@vger.kernel.org \
/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