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

[Xen-users] Re: [Xen-devel] What's the different for "dom0_max_vcpus=4 d

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, "Pasi K?rkk?inen" <pasik@xxxxxx>
Subject: [Xen-users] Re: [Xen-devel] What's the different for "dom0_max_vcpus=4 dom0_vcpus_pin" and "dom0_max_vcpus=4" ?
From: lei yang <yanglei.fage@xxxxxxxxx>
Date: Sat, 22 May 2010 00:14:49 +0800
Cc: Xen Mailing List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 21 May 2010 09:24:59 -0700
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; bh=sJi1Ry5ZA2v7hTjgXQawb+/9VcHbRujDqBgY0pLkEmQ=; b=rNI77bIVpmIAqdz3IFMgRS5UfYQP2Pg2XpTzk2uovILfzJYFUAqSZFlCEilL9znm8H sroB4vS3fLRcUiCkmEN0/xUiNoVpVRtdKoARcfZ/R3YMALyrldjTv8eJDj0OT/s5xLUM 7SFaMvSikWjhzJLWGMP1cIrqpxU5p2Vwe876Q=
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; b=W1O/kz8TLgGD3CTpjKy+dK1WuenpeF9oxKDYpJxaG+N0O1zzmtbKVRy4AG6MF92Bl3 tej/z0JCpkk4FiZIKkhGQ+/GRSdS3FyxtMHwXaJzxh6TUBL/QkTDbmbAbjfFS3UKrzMq 0gS3HvkCqJS3ra26hOTep8TZeRYHoEIjQ4Czs=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C81C6EBF.14E45%keir.fraser@xxxxxxxxxxxxx>
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: <20100521155545.GU17817@xxxxxxxxxxx> <C81C6EBF.14E45%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I want to improve the lmbench results.
can you give me some points to improve it? from kernel userspace glibc gcc view or whatever else.
 
Thanks
Lei

On Sat, May 22, 2010 at 12:09 AM, Keir Fraser <keir.fraser@xxxxxxxxxxxxx> wrote:
On 21/05/2010 16:55, "Pasi Kärkkäinen" <pasik@xxxxxx> wrote:

>>    if I don't use "xm vcpu-pin" does it will use core 0 1 2 3 by default not
>>    can use 3 4 5 6?
>>
>
> Yes, it'll use 0 1 2 3 as a default. It cannot be changed, unless you do
> custom pinning after the system has started.

It will only stick to 0 1 2 3 if you specify dom0_vcpus_pin on the Xen
command line. And if you do that, then the pinning canno tbe changed by
xm/xl vcpu-pin.

If you do not specify dom0_vcpus_pin then dom0 VCPUs will execute on
arbitrary physical CPUs until you restrict each VCPU's affinity using xm/xl
vcpu-pin.

By default, any VCPU (whether dom0's or a domU's) can be executed at any
time on any physical CPU. If there are CPUs you specifically want to
restrict a given VCPU or domain to, then you have to get busy with xm/xl
vcpu-pin.

Anyway, I think that is this particular horse flogged to death. No more on
xen-devel please.

 K.





--
"We learn from failure, not from success!"
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users