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

To: "Andi Kleen" <ak@xxxxxxx>, "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Subject: RE: [Xen-devel] Re: Reducing impact of save/restore/dump on Dom0
From: "Graham, Simon" <Simon.Graham@xxxxxxxxxxx>
Date: Wed, 7 Feb 2007 08:06:26 -0500
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 07 Feb 2007 05:06:09 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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: AcdKt698SbXeXfWqTtmH3e6f+Gy00AAAEe9A
Thread-topic: [Xen-devel] Re: Reducing impact of save/restore/dump on Dom0
> > It's pretty easy for us to arrange that everything is page aligned.
> If
> > there was a measurable performance advantage using o_direct rather
> than
> > madvise/fadvise it probably makes sense to use it -- I can't see
> > o_direct going away any time soon.
> 
> O_DIRECT won't do any write behind, so unless you do very aggressive
IO
> (large IO requests, threads or aio so you do useful work during the
> disk write
> latency) it will be likely slower. Similar for read -- it won't do any
> readahead which you would need to do by yourself.
> 
> It's really not a very good idea for most non database applications.

Well, the dump/save/restore does do large IO requests for most of the
data. Also, it's a non-performance path - it's MUCH more important that
other things in Dom0 happen quickly (such as performing I/O for other
domains) so I would be quite happy with the save/restore/dump process
being a little slow in return for not destroying Dom0 performance (which
is what happens today).

Having said that, I understand that O_DIRECT is deprecated (by Linus at
least) and there is also the problem of it not being available on
Solaris; hence I am trying out the fsync/fadvise(DON'T_NEED) in the loop
after writing/reading a chunk of data.

Simon

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

<Prev in Thread] Current Thread [Next in Thread>
  • RE: [Xen-devel] Re: Reducing impact of save/restore/dump on Dom0, Graham, Simon <=