qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC PATCH v2 0/3] separate thread for VM migration
@ 2011-07-29 20:57 Umesh Deshpande
  2011-07-29 20:57 ` [Qemu-devel] [RFC PATCH v2 1/3] " Umesh Deshpande
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Umesh Deshpande @ 2011-07-29 20:57 UTC (permalink / raw)
  To: kvm, qemu-devel; +Cc: pbonzini, mtosatti, Umesh Deshpande, Juan Quintela

Following patch 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.

Also current dirty bitmap is split into per memslot bitmap to reduce its size.

Umesh Deshpande (3):
  separate thread for VM migration
  fine grained qemu_mutex locking for migration
  per memslot dirty bitmap

 arch_init.c     |   14 ++++++++++--
 buffered_file.c |   28 ++++++++++++++++---------
 buffered_file.h |    4 +++
 cpu-all.h       |   40 ++++++++++++++++++++++++++++++------
 exec.c          |   38 +++++++++++++++++++++-------------
 migration.c     |   60 ++++++++++++++++++++++++++++++++++++++++++++----------
 migration.h     |    3 ++
 savevm.c        |   22 +-------------------
 savevm.h        |   29 ++++++++++++++++++++++++++
 xen-all.c       |    6 +---
 10 files changed, 173 insertions(+), 71 deletions(-)
 create mode 100644 savevm.h

-- 
1.7.4.1

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

end of thread, other threads:[~2011-08-02 19:07 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-29 20:57 [Qemu-devel] [RFC PATCH v2 0/3] separate thread for VM migration Umesh Deshpande
2011-07-29 20:57 ` [Qemu-devel] [RFC PATCH v2 1/3] " Umesh Deshpande
2011-08-01  9:37   ` Paolo Bonzini
2011-08-01 21:00     ` Umesh Deshpande
2011-08-02  7:44       ` Paolo Bonzini
2011-07-29 20:57 ` [Qemu-devel] [RFC PATCH v2 2/3] fine grained qemu_mutex locking for migration Umesh Deshpande
2011-08-01  9:39   ` Paolo Bonzini
2011-08-02 16:30   ` Marcelo Tosatti
2011-07-29 20:57 ` [Qemu-devel] [RFC PATCH v2 3/3] Per memslot dirty bitmap Umesh Deshpande
2011-08-02 16:29   ` Marcelo Tosatti
2011-08-01  9:41 ` [Qemu-devel] [RFC PATCH v2 0/3] separate thread for VM migration shawn che

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