WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [RFC][PATCH 12/13] Kemari: use signal to save qemu state

To: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [RFC][PATCH 12/13] Kemari: use signal to save qemu state for Kemari
From: Yoshiaki Tamura <tamura.yoshiaki@xxxxxxxxxxxxx>
Date: Sat, 07 Mar 2009 01:20:27 +0900
Cc: "ospk-vm@xxxxxxxxxxxxx" <ospk-vm@xxxxxxxxxxxxx>, Ian Pratt <Ian.Pratt@xxxxxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>, Keir Fraser <Keir.Fraser@xxxxxxxxxxxxx>
Delivery-date: Fri, 06 Mar 2009 08:24:09 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <49B10B8D.6090505@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <49B0B8DC.5000606@xxxxxxxxxxxxx> <49B0C6FF.8090903@xxxxxxxxxxxxx> <49B10B8D.6090505@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.19 (Windows/20081209)
Stefano Stabellini wrote:
Yoshiaki Tamura wrote:

This patch implements signal handler for saving QEMU status quickly.  It also
includes a feature borrowed from KVM-17, which saves QEMU status quickly
without repositioning file offset by fseek.

We got rid of the signal interface not so long ago because it doesn't
work for stubdoms.

The new way of asking qemu to save the VM state is writing a command on
xenstore (look at xenstore.c:xenstore_process_dm_command_event).
Would that work for you?




xenstore is attractive because it can send more information between components than signals.

However, we used the signal handler to avoid the latency of xenstore. Although we haven't measured the latency, we need a simple and quick interface to save the QEMU state because Kemari transfers the saved state on every synchronization which happens quite often.

Have you measured, or any thoughts on the latency of xenstore compared to 
signals?

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>