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: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] dom0 got load of 80
From: "Ryan Burke" <burke@xxxxxxxxxxxxxxxxx>
Date: Wed, 28 Jan 2009 09:14:07 -0600 (CST)
Delivery-date: Wed, 28 Jan 2009 07:14:46 -0800
Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=tailorhosting.com; h= message-id:in-reply-to:references:date:subject:from:to:reply-to :mime-version:content-type:content-transfer-encoding; s= selector1; bh=NWxDJlBymE8Snv/W5X7JdXUn0pU=; b=n/K/m4uGCRav0LBYiG 1kzt1uIX9HafLOOupohC8pHGYVslu3GA6Vq3yBZK3joFxauH/Hu2EzffBjYA+gPG zUWdaNsxq6VcdmlIEdu68lwHt5IXead6hovKEbAuaIB31UMyi1Ecoxf2Azz93iYs 1KcAqQaPjrY9ZqNUXA+dWJs8Q=
Domainkey-signature: a=rsa-sha1; c=nofws; d=tailorhosting.com; h=message-id :in-reply-to:references:date:subject:from:to:reply-to :mime-version:content-type:content-transfer-encoding; q=dns; s= selector1; b=zBSbzDVw7dzrWwHgT9C6fVD0AsYQlhGoUcBTWTqv2zAlCIvtBKE mgcZ5VkBjY/8DJGdnzUh9DQlY7gnJ2eJZyFhwDq5VEtqfGZ7cOFZEJbpxmzt2N2B iB9QriQ8cqYWerVKolsCY7xbCRGOXiFMwosvPQRjdLK4whx0MyRurUrc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: Normal
In-reply-to: <537dcd6b0901280649k256ef573v7fbae2c37452c8b9@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> <537dcd6b0901280420g1c546488n64f25234cada8fd8@xxxxxxxxxxxxxx> <7207d96f0901280633l2299066ctf63e33ea7a9ebd9a@xxxxxxxxxxxxxx> <537dcd6b0901280649k256ef573v7fbae2c37452c8b9@xxxxxxxxxxxxxx>
Reply-to: burke@xxxxxxxxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: SquirrelMail/1.4.13
> On Wed, Jan 28, 2009 at 3:33 PM, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:
>> On Wed, Jan 28, 2009 at 7:20 PM, Heiko <rupertt@xxxxxxxxx> wrote:
>>> 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
>>
>> This one only affects dom0, it doesn't affect any domU.
>>
>>>
>>> and put cpus="^0" into my domU configs
>>>
>>
>> Did you start/restart the domU after changing those config? If not,
>> and you don't want to restart domU, then you need to manually pin each
>> domU that's using CPU0 to other CPUs. See "xm vcpu-pin" for command
>> line help.
>>
>> If yes, what OS/xen version are you using?
>> What does "xm create --help_config | grep cpu" say?
>> What does "man xmdomain.cfg" says about cpus?
>>
>
> Hello,
> i did stop the domU and started it manually, they till used CPU0
> when i put cpus="1,2,3" there it works.

I've seen the problem before. What I needed to do was"
cpus="0-n,^0"
where n=(number of cores in the system - 1).

Ex. 4 core system
cpus="0-3,^0"
will allow the domU's to share CPU's 1,2,3 and not use CPU0 (reserved for
Dom0)


> The manpage says I can use the negation,
> the grep give me this:
> cpus=CPUS            CPUS to run the domain on.
>
> manually pinning the cores work also fine:
>
> prod_rd_vpn                        2     0     2   -b-     155.4 1-3
> prod_rd_vpn                        2     1     1   -b-     123.4 1-3
>
> I am using CentOS 5.2
>
> greetings
>
> .r
>
>> Regards,
>>
>> Fajar
>>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>



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