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

Re: [Xen-users] mem settings for dom0


  • To: Mike Sievers <saturngeist@xxxxxxxxxxxxxx>
  • From: Zhiqiang Ma <cnfnxk@xxxxxxxxx>
  • Date: Wed, 1 Dec 2010 22:32:09 +0800
  • Cc: xen-users <Xen-users@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Wed, 01 Dec 2010 06:33:43 -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:content-transfer-encoding; b=ibcLj8jFaqa+NoByFdmamDPi60WdX8nVcBfU2FxxSyAgP2MQ1e4uPLgdpJZGfSSvqr 4flXdy5yah/sYtKbwghhPC9yVuniUVn6WQZ3Az4RI8ygfrokv1cA2LTxQ+DER2g8L2x/ K2drs9aSWQK2/dfLy5jzGAvVAUy0VmcffzwA4=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On Wed, Dec 1, 2010 at 9:45 PM, Mike Sievers <saturngeist@xxxxxxxxxxxxxx> wrote:
> Hi List,
>
> I have just two basic questions:
>
> 1) should I set for example dom0_mem=2048M at grub?

I always do this in our cluster:
http://fclose.com/b/2258/managing-xen-dom0s-cpu-and-memory/ . And I
also set the minimum memory size to it. And I disable dom0 memory
ballooning.

I have experience sshd crashes when ballooning out dom0's memory.
That's a nightmare, which means I must go and find out the machine and
configure is.

Another reason is that we allow some other users create/shutdown DomUs
by themselves. These user may not familiar with the machines. Dom0 may
be left too little memory and becomes quite slow.

By doing this, dom0 can use less memory to store memory metadata.

Thanks.
Eric

> 2) should I set xm mem-max 0 4000 ?
>
> irsh # dominfo 0
> Id:ÂÂÂÂÂÂÂÂÂÂÂÂ 0
> Name:ÂÂÂÂÂÂÂÂÂÂ Domain-0
> UUID:ÂÂÂÂÂÂÂÂÂÂ 00000000-0000-0000-0000-000000000000
> OS Type:ÂÂÂÂÂÂÂ linux
> State:ÂÂÂÂÂÂÂÂÂ running
> CPU(s):ÂÂÂÂÂÂÂÂ 8
> CPU time:ÂÂÂÂÂÂ 115.3s
> Max memory:ÂÂÂÂ 4096000 kB
> Used memory:ÂÂÂ 2075136 kB
> Autostart:ÂÂÂÂÂ disable
>
> ??
>
> Best regards,
> Mike
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>



-- 
http://fclose.com/zma/
Blog: http://fclose.com/b/

_______________________________________________
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®.