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] dom0 got load of 80

To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Subject: Re: [Xen-users] dom0 got load of 80
From: Heiko <rupertt@xxxxxxxxx>
Date: Wed, 28 Jan 2009 13:20:26 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 28 Jan 2009 04:22:15 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=cdWlllxOBnHoREyuJBTjpuXj3nOL6V+wC194zayaL9A=; b=PlnHmRYOhhoNiORdw0bVVAqif/TfHisNsaPVHv7+HM9eBC+kZBWFL776XfZ31hHCQE y8LH+FJP3RupzDU8IbhiVPluvS/NPTMiIVozKFLRf7SUnigx+ihQfNXCJpXigZbgii+8 KtXrueKP7fSeVLPYVgXzrjfQt3e63u4dPxquk=
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=mxdJqpGjcrjn5594WMQU+96vODfrDal2Rb0vz6hKq1Qvdio4Dn3DzhHo/2F09mNr/P dYW1S7MNmxfiFZM+8ExqMuJQini+jn/usr9mexVIsDD6drpbbNCA0q8Qw0R2Q/e/WjEy q8OJwF6jJZOoHHfk9FDuzzZL0lDKC1/4EcgFU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <7207d96f0901280131i787b6d99gad02ed9c87aa35d2@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: <537dcd6b0901272349ne767e82gffdcfb0ad3555d36@xxxxxxxxxxxxxx> <7207d96f0901280015id70df26y28f87013f8354af4@xxxxxxxxxxxxxx> <537dcd6b0901280030k3512ff8aw4b1c61c595e914b1@xxxxxxxxxxxxxx> <7207d96f0901280047w4e4d6211h68087315bbdc7cd2@xxxxxxxxxxxxxx> <537dcd6b0901280105s4670c8eeufb3c8e68ac1fecf9@xxxxxxxxxxxxxx> <7207d96f0901280131i787b6d99gad02ed9c87aa35d2@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, Jan 28, 2009 at 10:31 AM, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:
> On Wed, Jan 28, 2009 at 4:05 PM, Heiko <rupertt@xxxxxxxxx> wrote:
>> On Wed, Jan 28, 2009 at 9:47 AM, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:
>>> On Wed, Jan 28, 2009 at 3:30 PM, Heiko <rupertt@xxxxxxxxx> wrote:
>>>> i dont have set any option to give dom0 a seperate CPU or RAM,
>>>> do I have to set  (dom0-cpus 0) to (dom0-cpus 1) for that?
>>>
>>> It would be best, yes.
>>> Here's what I use on xend-config.sxp
>>>
>>> (dom0-cpus 1)
>>> (dom0-min-mem 256)
>>>
>> Hello,
>>
>> i did set this option and will restart the xend later?
>
> You don't need to restart actually.
> Just run
>
> xm vcpu-set 0 1
> xm vcpu-pin 0 0 0
>
> This will set dom0 to use only 1 CPU, CPU0. To have other domU NOT use
> that CPU, you need to add this option on every domU config
>
> cpus="^0"
>
Hello again.

it seems xen is ignoring this parameter.
I did set it but, the domU still take CPU 0.

i did:

#xm vcpu-set 0 1
#xm vcpu-pin 0 0 0

and put cpus="^0" into my domU configs


cheers

.r
> If you don't want to restart domUs, then simply look for the ones
> that's using CPU0 and relocate it
>
> xm vcpu-list
> xm vcpu-pin ...
>
> Note that this doesn't directly related to your problem though, but
> IMHO it's a best-practice.
>
>> Can i do the xend restart without any influence on the domUs?
>
> You should be. But again, it's not necessary in this scenario.
>
>> mmh, in the top below I can see that much pyhton stuff.
>> My xen domU check uses "xm list", can that be a problem?
>> This check gets exectuted for each domU, so i can happen that it runs
>> as much at one as there are domUs.
>
> Probably. You should limit it to run only one at a time (I don't know
> how though).
>
>>  6553 ?        S     18:37 /usr/bin/python /usr/sbin/yum-updatesd
>
> You MIGHT want to try disabling this as well.
>
> service yum-updatesd stop
> chkconfig yum-updatesd off
>
> It uses python, and not very useful anyway if you don't use a GUI
> (gnome,kde) on that server.
>
> On a side note, you might want to add some memory monitoring on that
> server. That should give you some info on when, how, and why you can
> get out-of-memory.
>
> Regards,
>
> Fajar
>

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