From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 63B3520C89; Tue, 25 Apr 2017 04:48:38 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Tue, 25 Apr 2017 04:48:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=I8dUsjKQ8CRsbaL dj+qGbKF02BXdHaj8lwBBPrN1G5k=; b=UZWPE4ZAkE+Srj4DxhCHPyojvwmMKQ9 dDRAEyLVXHzRto6j+lEVgO5oP2RFVfpKgV2mGPu2N9fm3S5lsbpbtnl99x3FnTp8 cG82CmgrsJxuADq620cZqG8GzTnHakZc+bQ/vF3mw/3oGL7JFKniN8wOlTxdCxqI 4w0mzzmepLi0= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=I8dUsjKQ8CRsbaLdj+qGbKF02BXdHaj8lwBBPrN1G5k=; b=fJ23T1sV /Etcxf3orli+oCwGW+ar/88oh95c9bt6a3SFDZbGaFVQDcICpEs3EAxjy8EwZ99N A6hL0aBztpwU85e8Kdvh9Ppv5/wyOzbOViJRWie3s/eam+35lM5CMtZvt4nOX6OA bgtOUH/6I57y+po1C5F0wnwf81eNvjAvU5Atd30FvIa0pdkERyEnedcqqFPdiShd mICnPSkNa9NfqOkhSGptyX6puCU+aeKn1/7kgGtA4KaIJBSGGaO1WcL2fv5lX7AU w9BoojDK2GmAeOdOX7GoWSq0slGif9Lt7OCaS1t737EJJkATqu0iaRtg0J1LQmXE 9D9xqy6i86UPlg== X-ME-Sender: X-Sasl-enc: BpHyC6jGQYWLuHmoU0pA5BfGMcpPxchn+2skQ2G+HvKk 1493110118 Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 065347E0EE; Tue, 25 Apr 2017 04:48:38 -0400 (EDT) From: Thomas Monjalon To: Andriy Berestovskyy Cc: dev@dpdk.org Date: Tue, 25 Apr 2017 10:48:37 +0200 Message-ID: <1810447.5BRUVpxoUJ@xps> In-Reply-To: <1490962860-11567-1-git-send-email-Andriy.Berestovskyy@caviumnetworks.com> References: <1490962860-11567-1-git-send-email-Andriy.Berestovskyy@caviumnetworks.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] usertools: use /sys/devices/system/cpu for CPU layout script X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2017 08:48:39 -0000 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.