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

Re: [Xen-users] dom0 got load of 80


  • To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

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