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] Is LVM really that much slower than Container?

To: Tim Kaufmann <tim@xxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Is LVM really that much slower than Container?
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Mon, 13 Apr 2009 12:32:22 +0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 12 Apr 2009 22:33:06 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1290A483-6F28-41F8-BAB2-F5C29F7C3160@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <1290A483-6F28-41F8-BAB2-F5C29F7C3160@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, Apr 13, 2009 at 8:17 AM, Tim Kaufmann <tim@xxxxxxxxxxxxxx> wrote:
> Hi,
>
> I installed Windows XP SP3 to two domU. Only difference between them: one is
> stored in a container (let's call it domU1), while the other one (domU2) is
> stored on a logical volume made available by the dom0.
>
> I have a tar.gz-file which is 400 MB in size. Copying this file from a samba
> server on the network via LAN to domU1 takes 11 seconds on domU1 and a
> little more than 2 minutes on domU2.
>
> Creating a local copy of the file takes 3 seconds on domU1 and 80 seconds on
> domU2. Is that a penalty LVM-users have to live with or is something wrong
> with my system?

Could be cache effect. Since (when using file:/) the domU storage can
be cached in dom0, it will give the illussion of fast response when in
fact data has not been written yet. Does dom0 uses more than 400MB
memory (try xm list)?

It's not recommended to use file:/ as it's possible to cause data
corruption. Try changing it to tap:aio:/, and you should see that LVM
is faster.

Regards,

Fajar

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