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] Reducing impact of save/restore/dump on Dom0

To: Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Reducing impact of save/restore/dump on Dom0
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Tue, 06 Feb 2007 15:20:07 -0800
Cc: "Graham, Simon" <Simon.Graham@xxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 06 Feb 2007 15:20:04 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <8A87A9A84C201449A0C56B728ACF491E04F46D@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <342BAC0A5467384983B586A6B0B3767104A69BB9@xxxxxxxxxxxxxxxxxxxxx> <8A87A9A84C201449A0C56B728ACF491E04F46D@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.9 (X11/20061219)
Ian Pratt wrote:
> As for making the IO bypass the buffer cache, I'm not sure what the best
> way to do this is. There are some occasions where we want the restore
> image to be in the buffer cache (e.g. as used by the fault injection
> testing for fast domain restart) but I agree that its not helpful in the
> normal case. My first inclination would be O_DIRECT, but there may be a
> better way.
O_DIRECT is strongly deprecated.  fadvise(..., FADV_DONTNEED, ...) is
the preferred interface.

    J


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