qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC PATCH v4 0/5] Separate thread for VM migration
@ 2011-08-17  3:56 Umesh Deshpande
  2011-08-17  3:56 ` [Qemu-devel] [RFC PATCH v4 1/5] MRU ram list Umesh Deshpande
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Umesh Deshpande @ 2011-08-17  3:56 UTC (permalink / raw)
  To: kvm, qemu-devel; +Cc: pbonzini, mtosatti, Umesh Deshpande, quintela

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

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2011-08-23 12:38 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-17  3:56 [Qemu-devel] [RFC PATCH v4 0/5] Separate thread for VM migration Umesh Deshpande
2011-08-17  3:56 ` [Qemu-devel] [RFC PATCH v4 1/5] MRU ram list Umesh Deshpande
2011-08-17  3:56 ` [Qemu-devel] [RFC PATCH v4 2/5] ramlist mutex Umesh Deshpande
2011-08-17  6:28   ` Paolo Bonzini
2011-08-19  6:20     ` Umesh Deshpande
2011-08-22  6:48       ` Paolo Bonzini
2011-08-23  9:15   ` Marcelo Tosatti
2011-08-23  9:17     ` Marcelo Tosatti
2011-08-23 11:41       ` Paolo Bonzini
2011-08-23 12:16         ` Marcelo Tosatti
2011-08-17  3:56 ` [Qemu-devel] [RFC PATCH v4 3/5] separate migration bitmap Umesh Deshpande
2011-08-17  3:56 ` [Qemu-devel] [RFC PATCH v4 4/5] separate thread for VM migration Umesh Deshpande
2011-08-17  7:13   ` Paolo Bonzini
2011-08-17  3:56 ` [Qemu-devel] [RFC PATCH v3 5/5] Making iothread block for migrate_cancel Umesh Deshpande
2011-08-17  7:14   ` Paolo Bonzini

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).