From owner-freebsd-bugs@FreeBSD.ORG Fri Mar 9 22:40:11 2012 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59A39106566C for ; Fri, 9 Mar 2012 22:40:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 44AE88FC0C for ; Fri, 9 Mar 2012 22:40:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q29MeAu5002749 for ; Fri, 9 Mar 2012 22:40:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q29MeAO6002748; Fri, 9 Mar 2012 22:40:10 GMT (envelope-from gnats) Date: Fri, 9 Mar 2012 22:40:10 GMT Message-Id: <201203092240.q29MeAO6002748@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Andriy Gapon Cc: Subject: Re: kern/165893: processor topology should be exported in more obvious format X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Andriy Gapon List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2012 22:40:11 -0000 The following reply was made to PR kern/165893; it has been noted by GNATS. From: Andriy Gapon To: bug-followup@FreeBSD.org, wollman@csail.mit.edu Cc: Subject: Re: kern/165893: processor topology should be exported in more obvious format Date: Sat, 10 Mar 2012 00:32:06 +0200 OTOH, it would probably also make sense to not assume that a topology is always uniform. There could be a different number of (online) cores per package, etc. BTW, you can try to use devel/hwloc (http://www.open-mpi.org/projects/hwloc/) - it provides convenience and portability. But I agree that this is a valid PR as our kernel could do a better job at providing topological information to userland in more ready form. -- Andriy Gapon