public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] A separate thread for VM migration
@ 2011-07-22 19:58 Umesh Deshapnde
  2011-07-22 19:58 ` [RFC PATCH 1/2] new clock for migration routine Umesh Deshapnde
  2011-07-22 19:58 ` [RFC PATCH 2/2] separate thread for VM migration Umesh Deshapnde
  0 siblings, 2 replies; 4+ messages in thread
From: Umesh Deshapnde @ 2011-07-22 19:58 UTC (permalink / raw)
  To: kvm, qemu-devel; +Cc: Umesh Deshpande

From: Umesh Deshpande <udeshpan@redhat.com>

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.

Umesh Deshpande (2):
  new clock for migration routine
  separate thread for VM migration

 arch_init.c      |   14 ++++++++++--
 buffered_file.c  |   12 ++++++----
 exec.c           |    4 +++
 migration-tcp.c  |   18 ++++++++--------
 migration-unix.c |    7 ++---
 migration.c      |   59 ++++++++++++++++++++++++++++++-----------------------
 migration.h      |    4 +-
 qemu-timer.c     |   29 ++++++++++++++++++++++++-
 qemu-timer.h     |    3 ++
 9 files changed, 99 insertions(+), 51 deletions(-)

-- 
1.7.4.1

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

end of thread, other threads:[~2011-07-26 11:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-22 19:58 [RFC PATCH 0/2] A separate thread for VM migration Umesh Deshapnde
2011-07-22 19:58 ` [RFC PATCH 1/2] new clock for migration routine Umesh Deshapnde
2011-07-22 19:58 ` [RFC PATCH 2/2] separate thread for VM migration Umesh Deshapnde
2011-07-26 11:13   ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox