[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] can Xen use swap instead or RAM?


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.