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-devel

RE: [Xen-devel] [PATCH] Fix xmexamples about cpus

To: "Masaki Kanno" <kanno.masaki@xxxxxxxxxxxxxx>, "Zhang, Jingke" <jingke.zhang@xxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH] Fix xmexamples about cpus
From: "Ian Pratt" <Ian.Pratt@xxxxxxxxxxxxx>
Date: Fri, 9 May 2008 13:07:31 +0100
Cc: Ian Pratt <Ian.Pratt@xxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 09 May 2008 05:08:02 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <30C8B1B99E51B9kanno.masaki@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <2FC8B1929FCA09kanno.masaki@xxxxxxxxxxxxxx><EFE0C8A50A5D94448E3C7DD762E4FAA2017D1606@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <30C8B1B99E51B9kanno.masaki@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcixueDs3UJ3mKyjTAWvpYepwVJHWwAEkTRQ
Thread-topic: [Xen-devel] [PATCH] Fix xmexamples about cpus
> >Hi Kanno,
> >    We have tried cpus="^1" in the past. For we want to drop only
CPU1
> >no matter how many CPUs are on the machine. The result shows: CPU1
can
> >still be used by HVM and all the VCPU's affinity are "any cpu".
> >    So, do you think this setting is available? Or do we need some
> more
> >comments on this? Thanks!
> 
> Hi Zhang,
> 
> I think that a purpose to set "cpus" is to confine CPUs which VCPUs
run
> to a CPU or some CPUs.  If there are many CPUs on a machine, I think
> that we should avoid the setting for performance.

The "^1" syntax is quite useful if you're trying to reserve a CPU for
use by another domain e.g. domain0, but don't want to otherwise restrict
the guest.

We need to be able to deal with setting the affinity mask for a domain
(that is replicated to all VCPUs) as for individual VCPUs. I assume your
patch doesn't change the behaviour of the former?

BTW, it would also be nice to be able to specify CPUs by
node.socket.core.thread as opposed to just enumerated CPU number. It
should be possible to omit unused levels of the hierarchy, e.g. "0.3"
could be used to refer to the 4th core of the first socket on a dual
socket quad core machine.

If you're looking for further improvements in this area, enable CPU
groups to be defined and then allow domains/VCPUs to be assigned to a
group.


Thanks,
Ian 


> 
> Best regards,
>  Kan
> 
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel

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