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: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Xen Partition Performance
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Tue, 25 Apr 2006 15:26:12 +0100
Cc: 'Luis Rodrigues' <l17173@xxxxxxxxxxxxxxxx>, Sylvain Coutant <sco@xxxxxxxxxx>
Delivery-date: Tue, 25 Apr 2006 07:28:29 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <00af01c66866$5db1e3d0$6f01a8c0@ELTON>
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>
References: <00af01c66866$5db1e3d0$6f01a8c0@ELTON>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.1
File backed VBDs can have pretty poor performance in some cases.  Also you 
*mustn't* put a ReiserFS filesystem into a file which is stored on a ReiserFS 
filesystem in the host.  It may break when you fsck the host [1]

LVM is probably the best compromise of flexibility / performance and should be 
pretty much as fast as partitions whilst being a lot more manageable.  You 
can also snapshot guest disks using it but be careful - snapshots don't scale 
that well if you use them long term and can run out of RAM.

Cheers,
Mark

[1] ReiserFS fsck looks for Reiser superblocks on the disk, in case they've 
got lost or something.  If you're fsck-ing dom0's filesystem using 
fsck.reiserfs and it finds the superblock from a domU filesystem there, it'll 
assume there's corruption and then proceed to do horrible things.  Don't go 
there.

On Tuesday 25 April 2006 13:47, Sylvain Coutant wrote:
> > 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, ...
>
> BR,
>
> --
> Sylvain COUTANT
>
> ADVISEO
> http://www.adviseo.fr/
> http://www.open-sp.fr/
>
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

-- 
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

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