Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757476Ab1FPJod (ORCPT ); Thu, 16 Jun 2011 05:44:33 -0400 Received: from mail-iy0-f174.google.com ([209.85.210.174]:51225 "EHLO mail-iy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756868Ab1FPJob convert rfc822-to-8bit (ORCPT ); Thu, 16 Jun 2011 05:44:31 -0400 MIME-Version: 1.0 In-Reply-To: <20110616085547.GH4935@const.famille.thibault.fr> References: <20110616085547.GH4935@const.famille.thibault.fr> Date: Thu, 16 Jun 2011 11:44:30 +0200 Message-ID: Subject: Re: [RFC] Add Arm cpu topology definition From: Vincent Guittot To: Samuel Thibault , Vincent Guittot , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linaro-dev@lists.linaro.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1350 Lines: 39 On 16 June 2011 10:55, Samuel Thibault wrote: > Hello, > > Vincent Guittot, le Thu 16 Jun 2011 10:49:13 +0200, a ?crit : >> The affinity between Arm processors is defined in the MPIDR register. >> We can identify which processors are in the same cluster, >> and which ones have performance interdependency. The cpu topology >> ?of an Arm platform can be set thanks to this register and this topology >> is then used by sched_mc and sched_smt. > > Cool! ?Could you check that the hwloc tool gets also gets this > information from userland through /sys, and/or send me the output of the > hwloc-gather-topology tool from hwloc so we can add an testcase for > this? > The output of hwloc-gather-topology is : Machine (phys=0 local=280840KB total=280840KB) Socket #0 (phys=3) Core #0 (phys=0) PU #0 (phys=0) Core #1 (phys=1) PU #1 (phys=1) depth 0: 1 Machine (type #1) depth 1: 1 Socket (type #3) depth 2: 2 Cores (type #5) depth 3: 2 PUs (type #6) Topology not from this system let me know if it's what you want > Samuel > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/