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 10:57:51 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 28 Jan 2009 01:59:16 -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=s3VxekNj1wUlFNo/OdP0zaGD1+HXOezFF16fWgJBghE=; b=A+M9r1y20EIjrioU2469tKyNbs6YL2Ca48wPi9Qcqx3+WocHdHxDGKxkj1llBbGKjB XE09Aukdji+SWD3o+Q2fG87ip38u2Vl/7KqYzOvuEgojSEMyIVObHtJ+hW2teB2A+o9Q ls10wGiDR/YTyUmeQYACL9XkrmWjiYFR82glg=
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=tR+P9US5KwauNrH045PgxRvsfSwiRHF9aukamNdv3MKxM2noi22dBoJQxGzkFE07va HfTF9vG7FaC03Zg5t1JzXttxGCQnT5DU3PHtb/hzcXDQh8nb8CV1n630/Aa5AMvrfVDQ gvtnGGRAT8k4Ofn/4mahXVzIrVLeFaCFeSMkU=
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"
>
> 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.
>
Hello Fajar,


thanks for all the tips. i will make these changes to all my dom0.
Do the following line show me that no domU is usign CPU0?

[root@x1blade1:/etc/xen]# xm vcpu-list
Name                              ID VCPUs   CPU State   Time(s) CPU Affinity
Domain-0                           0     0     0   r--  123346.0 0
Domain-0                           0     1     -   --p   33745.7 any cpu
Domain-0                           0     2     -   --p   36581.9 any cpu
Domain-0                           0     3     -   --p   34744.3 any cpu
Domain-0                           0     4     -   --p   33350.9 any cpu
Domain-0                           0     5     -   --p   46965.1 any cpu
Domain-0                           0     6     -   --p   43458.5 any cpu
Domain-0                           0     7     -   --p   38519.7 any cpu
auto-input-vm1                     1     0     2   -b-    7267.0 any cpu
auto-input-vm1                     1     1     2   -b-    3639.3 any cpu
distribution-vm1                   5     0     2   -b-   98132.9 any cpu
distribution-vm1                   5     1     4   -b-   48432.8 any cpu
monitoring-1                       2     0     6   r--  528173.3 any cpu
monitoring-1                       2     1     7   r--  538368.0 any cpu
translator-vm1                     4     0     4   -b-   47545.9 any cpu
translator-vm1                     4     1     2   -b-   17323.2 any cpu
uat-vm1                            3     0     1   -b-    6479.1 any cpu
uat-vm1                            3     1     5   -b-    3240.7 any cpu

greetings

.r

> Regards,
>
> Fajar
>

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