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] Can we run more virtual machine than the memory avaible?

To: "Rachid Abdoun" <rachid.abdoun@xxxxxxxxxx>, Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-users] Can we run more virtual machine than the memory avaible?
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Thu, 22 Jun 2006 15:21:26 +0200
Cc: EHRENSBERGER Juergen <Juergen.Ehrensberger@xxxxxxxxxx>
Delivery-date: Thu, 22 Jun 2006 06:22:32 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <5480D5ED-302C-4BBE-AA27-8F1193B4E4D4@xxxxxxxxxx>
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
Thread-index: AcaV/T70K5XRePM2RgG5u+Czy6Gz8QAAPDuQ
Thread-topic: [Xen-users] Can we run more virtual machine than the memory avaible?
> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Rachid Abdoun
> Sent: 22 June 2006 14:06
> To: Xen-users@xxxxxxxxxxxxxxxxxxx
> Cc: EHRENSBERGER Juergen
> Subject: [Xen-users] Can we run more virtual machine than the 
> memory avaible?
> 
> Hi,
> 
> I'd like to create a virtual network with xen who have more tha 20  
> hosts. Every host has 30MB in his configuration file. The total of  
> memory is
> 
> 20X30 = 600MB
> 
> +
> 
> 64MB for the dom0
> --------------------------
> = 664MB
> 
> but I only have 512MB on my workstation. Can this virtual network  
> possible with xen? Or you need to have enough ram!?

You need enough RAM. 

What you COULD do, assuming the GUEST OS supports it, is to reduce the
amount of RAM you give each guest, and let the guest swap to disk. 

The reason you can't overcommit memory from Xen's side of things is that
the Xen hypervisor doesn't actually know how (or what) to swap to/from
disk. This is, primarily, because we don't actually want Xen to do this
(since it wouldn't actually know which parts of memory the OS is using
for what...), but also because the hypervisor doesn't have a clue what a
hard-disk is - there's no drivers for any storage-device in Xen. 

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



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