qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [RFC PATCH v4 0/5] Separate thread for VM migration


From: Umesh Deshpande
Subject: [Qemu-devel] [RFC PATCH v4 0/5] Separate thread for VM migration
Date: Tue, 16 Aug 2011 23:56:35 -0400

Following patch series deals with VCPU and iothread starvation during the
migration of a guest. Currently the iothread is responsible for performing the
guest migration. It holds qemu_mutex during the migration and doesn't allow VCPU
to enter the qemu mode and delays its return to the guest. The guest migration,
executed as an iohandler also delays the execution of other iohandlers.
In the following patch series,

The migration has been moved to a separate thread to
reduce the qemu_mutex contention and iohandler starvation.

Umesh Deshpande (5):
  MRU ram list
  ramlist lock
  separate migration bitmap
  separate thread for VM migration
  synchronous migrate_cancel

 arch_init.c         |   26 +++++++++---
 buffered_file.c     |  104 ++++++++++++++++++++++++++++++++++-----------------
 buffered_file.h     |    3 +
 cpu-all.h           |   41 ++++++++++++++++++++
 exec.c              |  100 ++++++++++++++++++++++++++++++++++++++++++++++--
 hw/hw.h             |    5 ++-
 migration.c         |   78 ++++++++++++++++++++------------------
 migration.h         |    1 +
 qemu-common.h       |    2 +
 qemu-thread-posix.c |   10 +++++
 qemu-thread.h       |    1 +
 savevm.c            |   30 +++++++++------
 12 files changed, 304 insertions(+), 97 deletions(-)

-- 
1.7.4.1




reply via email to

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