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: Simon Hobson <linux@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Swap: create or not?
From: Mauro <mrsanna1@xxxxxxxxx>
Date: Fri, 11 Feb 2011 12:09:38 +0000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 11 Feb 2011 04:11:16 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=DEoEFZRJ4bxNCresIMjPuTGJ1knJZGW6EzmibwnuNLQ=; b=N4/7mevS3cC0gJEmS/rRnInB+d5ZikmvCHo38AWMRS2O0W2bxGiKcQRocPelxRZqbj SZA0/NYf2n0zxFnrcjv4LXrJ0QFCUzQY+MokLVix1QnSt4qBugvQs8g3QOJUYhU0+/kn TS8g7SRYsOIZhhayLB1IHHjAZfO06pFAMge28=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=MxeG5Gos+zegpiNZgpLJdAJF8JW9/AO7pPg7mKa/fefY/Px1H9My3z55STL8ItDoAK rX4fbNbzAWkRGveOvlZlnZHcEnQE1clAm8FnL3VCBdJm7MRp38yAOio3KWAJ83J9Oo8M XyNEMFoiFRZYDjjbFEFHl9ihY8fNbydz/mJN4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <p06240803c97ac06a79e5@xxxxxxxxxxxxxxxxxxxxxx>
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> <p06240803c97ac06a79e5@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On 11 February 2011 10:34, Simon Hobson <linux@xxxxxxxxxxxxxxxx> wrote:
> Mauro wrote:
>>
>> When creating a DomU I've always set a swap.
>
> So do I, but I guess it's partly because "I've always done it that way"

I do the same.
I'm using xen-tools package from debian squeeze and default
configuration for swap is 2G.
It's too much I think but I've always left that value.
With top I see that swap is not always used but for the most is cached:

Tasks:  75 total,   1 running,  74 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.0%us,  0.0%sy,  0.0%ni,100.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   1066840k total,   310596k used,   756244k free,    11496k buffers
Swap:  2097144k total,        0k used,  2097144k free,   215568k cached

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users