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] Export Multicore information

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>, "John Levon" <levon@xxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH] Export Multicore information
From: "Kamble, Nitin A" <nitin.a.kamble@xxxxxxxxx>
Date: Tue, 12 Dec 2006 11:27:46 -0800
Cc: "Yu, Wilfred" <wilfred.yu@xxxxxxxxx>, Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>, Xen devel list <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Yang, Fred" <fred.yang@xxxxxxxxx>, "Mallick, Asit K" <asit.k.mallick@xxxxxxxxx>, "Nakajima, Jun" <jun.nakajima@xxxxxxxxx>, Keir Fraser <keir@xxxxxxxxxxxxx>
Delivery-date: Tue, 12 Dec 2006 11:27:44 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Accdfoc0GRLPeHB9QVCU3IZatg004QABSxZgAA83HIgAGIzYkA==
Thread-topic: [Xen-devel] [PATCH] Export Multicore information
Hi Keir,
   The most interesting field of the cacheinfo is "shared cpus map".
Take an example of clowertown. It has 4 cores per socket. Basically
there are 2 duel-core dies in the packages. So there are 2 pairs of
cores in the packages which share the L2 caches among the pair itself,
not across the package.
   So with this information the end user/admin would have better
selection when she decides to split the cores from a single package
across multiple domains.

Thanks & Regards,
Nitin 
Open Source Technology Center, Intel Corporation.
------------------------------------------------------------------------
-
The mind is like a parachute; it works much better when it's open.

-----Original Message-----
From: Keir Fraser [mailto:Keir.Fraser@xxxxxxxxxxxx] 
Sent: Monday, December 11, 2006 11:39 PM
To: Kamble, Nitin A; John Levon
Cc: Yu, Wilfred; Ian Pratt; Xen devel list; Yang, Fred; Mallick, Asit K;
Nakajima, Jun; Keir Fraser
Subject: Re: [Xen-devel] [PATCH] Export Multicore information

On 12/12/06 12:26 am, "Kamble, Nitin A" <nitin.a.kamble@xxxxxxxxx>
wrote:

>    Thanks for your comments. The situation is, dom0 may not see all
the
> processors in the system. Only hyper visor is capable of seeing all. I
> would let tools/apps on dom0 to see information about CPUs assigned to
> dom0, not the whole set available in the system. So it is necessary to
> have a hyper visor specific interface, and in my opinion xm is the
best
> choice for that.

A strong argument against 'xm cacheinfo' and the required extra
hypercall is
that x86 cache hierarchies are always symmetric, to the best of my
knowledge. So it does not matter which CPU dom0 happens to interrogate
for
cache info -- the information can be extrapolated to all other CPUs in
the
system. So the admin can run one of the many little tools that can be
downloaded and that dump out interesting CPUID information. The physical
CPU
topology hypercall (i.e., the smaller half of your patch) is more
interesting to me.

 -- Keir

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