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/
Home Products Support Community News


Re: [Xen-users] mem settings for dom0

To: Mike Sievers <saturngeist@xxxxxxxxxxxxxx>
Subject: Re: [Xen-users] mem settings for dom0
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=WsALFuo85BHKdKKECWMjIlgzx8c+8CksDAibahp9UkQ=; b=cRMzdRDgaHAeI5YKtkBfBRWO8rdo6zf1mWcpEC7pg22D3VgGmjaEs/GlqAtlLtMUpz Tp1vWCCtMbabOpnTZZ8EQUdYL6xtjOK0SyxCkUBLI4f3FubHUwHqKPZGSxVqTULcsD42 RQq+1FWY4E7xDTapw9wtjlbwjWaice/mMJEa4=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTi=XRvMW-Mag2dEc0f=v2WfRXjJCQtnmMq49WSwr@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: <AANLkTi=XRvMW-Mag2dEc0f=v2WfRXjJCQtnmMq49WSwr@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

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.


> 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

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

Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>