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: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] can Xen use swap instead or RAM?
From: George Shuklin <george.shuklin@xxxxxxxxx>
Date: Sat, 25 Sep 2010 01:53:18 +0400
Delivery-date: Fri, 24 Sep 2010 14:55:24 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=9KYidFdFMiGn4CedZIqgoxvAUexP/5WkMoTYedPQOuw=; b=i8VC29/2BUojuSk1ed6C+xDBu6lWeP/Iq3CIb+G091KFqZu0VNVgh6LT3uC9AypSEQ v3sRtEpdUnTipkFCjYXrWuAGnRl7Z5/LWpg84B8V4hLpxqLe+zc6P3FNCFInH7Qcn0NN 6+nmZcWOCyqkmjZu2GVUjrfrtU2/yWsy+7UmE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; b=V0lruYRSf76U5fRGQbck/lgK+n8MHrWH2COYBdFUUI83aZH0sHFUywmdCwEXIiB9fX MNlJ61zTNvuobRdMrbNX4DYol00JlcBqllykAhThaCyRSbbbWrBEhScOuOHQYqGr9kLZ kk+/RhVOfF7IkxnsF+jrnUXc/KswFKWDIKg1M=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTi=kWA_Ddrd5QX70XOsFiFC1BH904vnZZHnwVmD7@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: <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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

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