qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 0/2] Optimze the env->tsc update operation


From: Liang Li
Subject: [Qemu-devel] [PATCH 0/2] Optimze the env->tsc update operation
Date: Thu, 29 Oct 2015 16:09:20 +0800

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]