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] Newbe wants to move block device virtual machine

To: Dick Kniep <dick.kniep@xxxxxxxxx>
Subject: Re: [Xen-users] Newbe wants to move block device virtual machine
From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Date: Tue, 21 Nov 2006 17:21:20 +0000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 21 Nov 2006 09:21:40 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200611211815.30908.dick.kniep@xxxxxxxxx>
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: <200611211815.30908.dick.kniep@xxxxxxxxx>
Reply-to: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
On Tue, Nov 21, 2006 at 06:15:30PM +0100, Dick Kniep wrote:
> Hi list,
> 
> We are going to use Xen for our virtualization effort. Now I heard from some 
> friends who are experienced Xen users that performance of the block device 
> Xen machines is MUCH better than the performance of "file based" virtual 
> machines. (is that true?)

If you use blktap rather than loop devices for your file based virtual machines
there should be minimal difference, because blktap uses async/direct IO to 
bypass
the FS layer caching. You can switch to blktap by using 'tap:raw:' instead of
'file:' when configuring the disks.  The other benefit of using blktap for
file based disks is that it gives you much better data integrity upon crashes.

> Now if I use a block device as a basis for a virtual machine (on LVM), than 
> it 
> is not easy to move such a vm to another machine and make it accessible by 
> iScsi. (is that true?)

If you want to migrate VMs, then you need to use a network aware block device
such as iSCSI, or GNDB, or a shared SAN with Cluster-LVM. Of course same
applies for file  backed disks - you need to make sure the file is shared
across all hosts to which you migrate. So either way you need shared storage
at some point or another.

Regards,
Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

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

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