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] [PATCH][TOOLS] Reducing impact ofdomainsave/restore/dump

To: "Graham, Simon" <Simon.Graham@xxxxxxxxxxx>, Keir Fraser <keir@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH][TOOLS] Reducing impact ofdomainsave/restore/dump on Dom0
From: Keir Fraser <keir@xxxxxxxxxxxxx>
Date: Wed, 21 Feb 2007 15:10:21 +0000
Delivery-date: Wed, 21 Feb 2007 07:09:47 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <342BAC0A5467384983B586A6B0B3767104BE068C@xxxxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcdO73yfygbdSnxbR/2AnMRpBcbdNgAy2MewAXo9PloACVlAIAAAS21y
Thread-topic: [Xen-devel] [PATCH][TOOLS] Reducing impact ofdomainsave/restore/dump on Dom0
User-agent: Microsoft-Entourage/11.2.5.060620
On 21/2/07 15:06, "Graham, Simon" <Simon.Graham@xxxxxxxxxxx> wrote:

> 2. sync-then-advise is only done at the end of writing a file to ensure
> that all
>    of the cached pages are discarded. Whilst writing the file, I only
> fadvise
>    which triggers a write back and discards any clean pages up to the
> specified offset.
>    This is indeed a performance thing -- fsyncing on every write makes
> it very slow.

Do you need the fsync at all? It's possible that the kernel will
launder-then-discard the affected pages automatically, just from the
fadvise() alone.

 -- Keir


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