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-users

Re: [Xen-users] Xen Partition Performance

To: Matt Ayres <matta@xxxxxxxxxxxx>
Subject: Re: [Xen-users] Xen Partition Performance
From: Steve Dobbelstein <steved@xxxxxxxxxx>
Date: Wed, 26 Apr 2006 12:49:22 -0500
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 26 Apr 2006 10:50:14 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <444F8896.5080803@xxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Matt Ayres <matta@xxxxxxxxxxxx> wrote on 04/26/2006 09:49:58 AM:


> Steve Dobbelstein wrote:
> > "Sylvain Coutant" <sco@xxxxxxxxxx> wrote on 04/25/2006 07:47:09 AM:
> >
> >>> I'm setting up a Xen system since I have diferent choices to
> >>> create the domU's partitions: raw partition, lvm, files.
> >>>
> >>> I've done some tests with hdparm and it all seems to be the same.
> >> It can if you have enough CPU in dom0. The interesting point could
> >> then be : how much each of those cost in CPU share in dom0 ? The
> >> less layers you'll have, the better it should behave. Raw partition
> >> should be the cheapest, closely followed by LVM and lastly files
> >> (which could have different results depending on fs in use: ext2,
> >> ext3, reiser, xfs, etc.). I'm not sure if the difference would be
> >> very significant. Probably, it depends on usage, number of domUs, ...
> >
> > Also be aware that the devices go through the buffer cache on dom0.  I
> > would not be surprised that the performance to a partition, LVM volume,
or
> > loop device is not that different, since they all hit the buffer cache,
> > especially if your tests do mostly reads.
> >
>
> I have to disagree here.  A physical partition / LVM gets directly
> passed to the domU and by-passes the dom0 buffer cache.  Since the image
> (loop) file resides on the host that will be cached by dom0.

Thanks Matt and Mark for the correction.  What you state is true for
paravirtualized domains (the open of the device is done in the kernel).
HVM domains, however, open the device in user space, which means the I/O
goes through the VFS cache.  I have been spending most of my time with HVM
domains and incorrectly assumed that all domains have that behavior.

Steve D.


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

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