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] Swap: create or not?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Swap: create or not?
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:from:to:in-reply-to:references :content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=lqdDpY8H7l/bWc3mmRBhejGW+zR6R+kEysyH9IRv1ro=; b=dfsP1zYBYDeaaVJvAcixeal2BZcPGBFdxGdadGrAV3zRsl6dudHDEcyaFNzOtYB86A 8FbtCXX9oiIEOApvpTyiLjLfwx7C0F7ds+rvVYWxxJI0dA2rmYBbc+0MYc/wIO58d+RA 4j/DcrebS5VPiaFnf7xcv1PBk+lRR9PXkuSJM=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTikkta3+fDqvMqfO5FgiRaUDDgx8QAdb7BRhGp+1@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: <AANLkTikkta3+fDqvMqfO5FgiRaUDDgx8QAdb7BRhGp+1@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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
balloon.

В Пт., 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
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users