From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] usertools: use /sys/devices/system/cpu for CPU layout script Date: Tue, 25 Apr 2017 10:48:37 +0200 Message-ID: <1810447.5BRUVpxoUJ@xps> References: <1490962860-11567-1-git-send-email-Andriy.Berestovskyy@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Andriy Berestovskyy Return-path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 34CC35951 for ; Tue, 25 Apr 2017 10:48:38 +0200 (CEST) In-Reply-To: <1490962860-11567-1-git-send-email-Andriy.Berestovskyy@caviumnetworks.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi, 31/03/2017 14:21, Andriy Berestovskyy: > Some platforms do not have core/socket info in /proc/cpuinfo. > > Signed-off-by: Andriy Berestovskyy > --- > usertools/cpu_layout.py | 53 +++++++++++++++++++++---------------------------- > 1 file changed, 23 insertions(+), 30 deletions(-) Applied, thanks for improving this script. Do you think it is really a good idea to keep and maintain this script in DPDK? It was intentionnally not exported in "make install". I think it is a bit out of scope, and I wonder which alternatives do we have? I know hwloc/lstopo, but there are probably others.