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: "John Levon" <levon@xxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH] Export Multicore information
From: "Kamble, Nitin A" <nitin.a.kamble@xxxxxxxxx>
Date: Mon, 11 Dec 2006 16:26:53 -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: Mon, 11 Dec 2006 16:27:01 -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: Accdfoc0GRLPeHB9QVCU3IZatg004QABSxZg
Thread-topic: [Xen-devel] [PATCH] Export Multicore information
Hi John,
   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.

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: John Levon [mailto:levon@xxxxxxxxxxxxxxxxx] 
Sent: Monday, December 11, 2006 3:47 PM
To: Kamble, Nitin A
Cc: Keir Fraser; Ian Pratt; Mallick, Asit K; Yu, Wilfred; Xen devel
list; Nakajima, Jun; Yang, Fred
Subject: Re: [Xen-devel] [PATCH] Export Multicore information

On Mon, Dec 11, 2006 at 03:25:49PM -0800, Kamble, Nitin A wrote:

> This information is for administrator/end user of the system to make
> better decisions about partitioning the processors in the system
across
> multiple domains. Dom0 may not be running on all the CPUs in the
system,
> so this gives a view from hyper visor about all the CPUs that hyper
> visor sees. And also the cache info may not always be symmetric in the
> system.

Whilst it might be useful to provide hypercalls for such, I do not think
it makes sense for 'xm' to have this information. It should be provided
as part of whatever OS tools already exist to output this information.
Adding xm cacheinfo seems like a hack.

regards
john

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