From: Keir Fraser Subject: Re: [RFC] use event channel to improve suspend speed Date: Fri, 11 May 2007 07:55:45 +0100 Message-ID: References: <20070510230005.GA17705@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20070510230005.GA17705@redhat.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Daniel P. Berrange" , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 11/5/07 00:00, "Daniel P. Berrange" wrote: > It would be interesting to know what aspect of the xenstore interaction > is responsible for the slowdown. In particular, whether it is a fundamental > architectural constraint, or whether it is merely due to the poor performance > of the current impl. We already know from previous tests that XenD impl of > transactions absolutely kills performance of various XenD operations due to > the vast amount of unneccessary I/O it does. > > If fixing the XenstoreD transaction code were to help suspend performance > too, it might be a better option than re-writing all code which touches > xenstore. A quick test of putting /var/lib/xenstored on a ramdisk would > be a way of testing whether its the I/O which is hurting suspend time. Yes. We could go either way -- it wouldn't be too bad to add support via dynamic VIRQ_DOM_EXC for example, or add other things to get xenstore off the critical path for save/restore. But if the problem is that xenstored sucks it probably is worth investing a bit of time to tackle the problem directly and see where the time is going. We could end up with optimisations which have benefits beyond just save/restore. -- Keir