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 Xen use swap instead or RAM?

To: George Shuklin <george.shuklin@xxxxxxxxx>
Subject: Re: [Xen-users] can Xen use swap instead or RAM?
From: Martinx - ジェームズ <thiagocmartinsc@xxxxxxxxx>
Date: Fri, 24 Sep 2010 19:00:38 -0300
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 24 Sep 2010 15:03:09 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=gTNB4mVnqFBhwmm81c95s+Bdm50Jm7uTVFLWHfC9a4k=; b=g4FJ/4bjpyaQ4WotnddgGN1/AWSS1195tRyuSSg/E1j4VC/w454pOtj+oGa2RuMGpr HZHeJbhFz9Fnn2s+N68EvyIajVw+feIg7jJ4WmXxdFwuiyA6hbieioIfxpHTK12Gen3D yQNX5ZOxT4QlhEF+ln3CDWGdvQoGIkWsRJN+s=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=ZsxqwVO1Q5R2hC91XA/lEeLrZDW3kbDi5xM+Lnc81HKuIQXwx2MrCrYdYrhTWvmXLW YxlPGaKANgu35R9o7rJ1bnAqKjqDuF7kA1q5byfC7H/s8spLmuUKPB3MrVI69Nc3gM7i EeSknOPoHBDUAxP2jRZ3Q6/HJ4NMhamodsmd0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1285365198.3845.1285.camel@xxxxxxxxxxxxxxxx>
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: <AANLkTinBrT_vyCSCZPRC=g=PfTdtkZgFCEvpx=9y-tYv@xxxxxxxxxxxxxx> <1285350395.3845.1278.camel@xxxxxxxxxxxxxxxx> <AANLkTikb_vQC9s9ik-uAeiSqmcoo6hy+p8f6oaK_8H0k@xxxxxxxxxxxxxx> <1285354189.3845.1280.camel@xxxxxxxxxxxxxxxx> <AANLkTi=kWA_Ddrd5QX70XOsFiFC1BH904vnZZHnwVmD7@xxxxxxxxxxxxxx> <1285365198.3845.1285.camel@xxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Okay, I understand... And what about the Linux Kernel Samepage Merging feature?


 But I don't know if Xen can take advantage of it...

 I my Ubuntu 10.04 Desktop, I have 4G of RAM and I can bootup ~6 clone VMs with 1024M of RAM for each...

On 24 September 2010 18:53, George Shuklin <george.shuklin@xxxxxxxxx> wrote:
Nope.

Ballooning is cool mechanism, but it is not overcommitment. We can say
'theoretical overcommitment' - if we starting few machines with mem=1GiB
maxmem=10GiB, we (theoretically) give every machine 10G, but this is not
overcommitment, it just limits, raised up beyond host memory.

Actual overcommitment/oversell is when sum of actually allocated memory
(as displayed by 'free' in every guest) is more then memory on host.

Xen lack of this feature and I believe this make it more pricey in term
of VPS/VDS hosting, but much better quality for end-users (domUs),
compare to OpenVZ overcommitment.


В Птн, 24/09/2010 в 16:24 -0300, Martinx - ジェームズ пишет:
> Mmm... You mean this:
>
>
> http://blog.xen.org/index.php/2008/08/27/xen-33-feature-memory-overcommit/
>
>
> ?
>
> On 24 September 2010 15:49, George Shuklin <george.shuklin@xxxxxxxxx>
> wrote:
>         Yes, It is nice technology, but it still do not allow
>         hypervisor
>         swapping or overselling. :)
>
>         В Птн, 24/09/2010 в 14:57 -0300, Martinx - ジェームズ пишет:
>         > Hi!
>
>         >  The Xen 4.0 introduces the TMEM project, take a look at it:
>
>         >  http://wiki.xensource.com/xenwiki/Xen4.0
>
>         >  TMEM allows improved utilization of unused (for example
>         page cache)
>         > PV guest memory. more
>         > information: http://oss.oracle.com/projects/tmem/
>         >
>
>
>         > On 24 September 2010 14:46, George Shuklin
>         <george.shuklin@xxxxxxxxx>
>         > wrote:
>         >         You can use swap of any size at VM level (every VM
>         will have
>         >         it own
>         >         swap).
>         >
>         >         Right now there is no way to do hypervisor swap or
>         oversell
>         >         memory.
>         >
>         >         В Птн, 24/09/2010 в 13:14 -0400, Boris Epstein
>         пишет:
>         >
>         >         > Hello listmates,
>         >         >
>         >         > Let's say I've got a machine with 1 GB of RAM and
>         I want to
>         >         host 3 512
>         >         > MB virtual machines on it? Is that possible -
>         i.e., is it
>         >         possible to
>         >         > force Xen to use swap and pass it off as RAM to
>         the VM's? I
>         >         know it is
>         >         > slow and inefficient but for the purposes of
>         testing - is
>         >         that
>         >         > possible?
>         >         >
>
>
>
>
>
>
>         _______________________________________________
>         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

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>