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

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

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

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



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