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

Re: [Xen-users] Swap: create or not?

  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: George Shuklin <george.shuklin@xxxxxxxxx>
  • Date: Fri, 11 Feb 2011 14:18:48 +0300
  • Delivery-date: Fri, 11 Feb 2011 03:19:45 -0800
  • 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=SvV8B/nhHOY73bgJcK+TWiGYD6JEjktFAFliXXYcbNz17zYiEhLEL47NsnF1zideyY 3pFEKCSmBRCb+FdRs0x0kzMjIUhGeqMViaBE8dhRa8oJ1fPaXuNrO3tQojh+Q1F7uF5D hwTE9F2vThIGI2cQYJ3JX90eXRuFjKUWpwH/c=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Yes, swap is almost mandatory - it will save machine from state 'very
low mem'. From my research (mostly on XCP) this state may cause
unstability for some kernels, causing OOM_killer to kill many processes
(sometimes including init - means kernel panic). Swap reducing chances
to get to this state.

Second very important point: ballooning. When ballooning (inflating
balloon = reduce mem) occur, if kernel have no free address space it can
invoke OOM_killer. Swap will save in case slightly wrong values for

Ð ÐÑ., 11/02/2011 Ð 10:12 +0000, Mauro ÐÐÑÐÑ:
> When creating a DomU I've always set a swap.
> Do you think it is necessary to have a swap in the DomU?
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

Xen-users mailing list



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