From: Liang Li <liang.z.li@intel.com>
To: qemu-devel@nongnu.org
Cc: pbonzini@redhat.com, mtosatti@redhat.com, m.gibula@beyond.pl,
Liang Li <liang.z.li@intel.com>
Subject: [Qemu-devel] [PATCH 0/2] Optimze the env->tsc update operation
Date: Thu, 29 Oct 2015 16:09:20 +0800 [thread overview]
Message-ID: <1446106162-14499-1-git-send-email-liang.z.li@intel.com> (raw)
This patch aims for reducing the live migration downtime. It updates
the env->tsc value when stopping kvmclock with a ligth weight interface,
rather than using 'cpu_synchronize_all_states', which takes more time.
For a VM with 4 CPUs, this path can help to reduce the VM downtime about
100us.
Liang Li (2):
kvmclock: use a light weight interface to update env->tsc.
Revert "Introduce cpu_clean_all_dirty"
cpus.c | 9 ---------
hw/i386/kvm/clock.c | 26 +++++++++-----------------
include/sysemu/cpus.h | 1 -
include/sysemu/kvm.h | 8 --------
kvm-all.c | 5 -----
target-i386/kvm.c | 45 +++++++++++++++++++++++++++++++++++++++++++++
target-i386/kvm_i386.h | 1 +
7 files changed, 55 insertions(+), 40 deletions(-)
--
1.9.1
next reply other threads:[~2015-10-29 8:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-29 8:09 Liang Li [this message]
2015-10-29 8:09 ` [Qemu-devel] [PATCH 1/2] kvmclock: use a light weight interface to update env->tsc Liang Li
2015-10-29 8:09 ` [Qemu-devel] [PATCH 2/2] Revert "Introduce cpu_clean_all_dirty" Liang Li
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=1446106162-14499-1-git-send-email-liang.z.li@intel.com \
--to=liang.z.li@intel.com \
--cc=m.gibula@beyond.pl \
--cc=mtosatti@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).