From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) by dpdk.org (Postfix) with ESMTP id 31D539AEE for ; Mon, 16 May 2016 16:31:48 +0200 (CEST) Received: by mail-wm0-f54.google.com with SMTP id g17so15562640wme.0 for ; Mon, 16 May 2016 07:31:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=ORjY17jIE2iksiFJ2IeOiyeFlfRZeejxChP0YIKHk54=; b=Vjkn7kUnbJCEzTA2bwYZKyB3lBcwbgqQjWKX2pB80sNKRw+aUXa0146vJz/C6wKWr+ 0k3tSVj15x81YYvCb6SUeACfICXqVsIqtuk6lLBr9EOWnl7cSf+NQrDor7U9p5+TXC0O 5MgqPZY9z8Dg0rEvoqHnQunXB2bPeAggPyLB9oNzJGp3j1mmoNsF8GAlr+2nqg4sfrzX ddio0m/PO1oAR44h5OSoEslscI4SeciY1ZrW5zhY5e76AlL0RLhHacd5zkzVfwSDxf8a td00I4/eOgRZCerlWqx4BZxIZARzZSdO0xiIcLs5JXYF1yWb3vGAnnlloeyIdlb2+NWW sueA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=ORjY17jIE2iksiFJ2IeOiyeFlfRZeejxChP0YIKHk54=; b=XSCx9EsdXpOMPH6A8Lq5s8LJlPGbpww7FUYyRXGgoyxVFQkBM6YRm+9P4S95SV4YM/ y0wv3YSyOEA4zDIu7Azq2W1FQNHaliitq/NXybfnHUrPZ9w4+oG9VougHF3c0/vL+xZl kNhtk1BX2mFn+yl4m1LEJFZy91E9TMsQ403QZ07sFjnPcmg/q8EpF4fmAfoZryT9yYuz S+38iBcuwdTQ9acvM6vPtzX2VozyxkDMoywvmhB21D+0ShI2Z3uJ/ycUuMzOjkLT57HA 6QM66/4nG+OzTx8FHmSiYnLa1Hx6n0t7bPb5g39Eljz/66ErPOXcgAjxcbZxg+ZDsxkc Tu7Q== X-Gm-Message-State: AOPr4FXGPQABrboA745wanvHGKjp+wWxUfKqeMRhI9Wjb/XP+3uxxJkwD5ke0/pxEq8+uW1z X-Received: by 10.28.167.206 with SMTP id q197mr17460058wme.85.1463409107946; Mon, 16 May 2016 07:31:47 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id ip10sm33985583wjb.33.2016.05.16.07.31.46 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 16 May 2016 07:31:46 -0700 (PDT) From: Thomas Monjalon To: "Wiles, Keith" Cc: dev@dpdk.org Date: Mon, 16 May 2016 16:31:46 +0200 Message-ID: <3913390.TQD3aJPodK@xps13> User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <5CADB23E-9C5D-4FD0-BC19-1E9C79BF1033@intel.com> References: <9407598A-CC69-4FEA-BB0F-F311E9B4126E@intel.com> <1769971.Of1QN7qGDT@xps13> <5CADB23E-9C5D-4FD0-BC19-1E9C79BF1033@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [RFC PATCH] tools:new tool for system info CPU, memory and huge pages X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2016 14:31:48 -0000 2016-05-16 14:11, Wiles, Keith: > >2016-05-13 15:48, Wiles, Keith: > >> I create this new tool to combine some information and use /sys/devices instead. What I was hoping was some of you could try this script and see if it works correctly. Also I was hope to find out if this script is useful and what other features you would like in this type of tool. > > > >What is the intent of this script? Is it to be used for bug report? > >There already have some tools to display system informations. Why adding > >one more? > >Examples of useful tools: hwloc/lstopo, lspci, hugeadm. > > I was looking to replace the cpu_layout.py tool which uses the /procfs instead of /sysfs, just figured we could then add some extra information into this script as well. Yes, we have other tools, but some people do not know or use or install these tools. I was hoping this one would be able to display a number of things to help the developer and us in helping them debug problems. > > Stephen Hemminger sent an email about the use of sysfs instead of procfs. > http://dpdk.org/ml/archives/dev/2016-May/038560.html I agree that cpu_layout.py should be removed. Should we implement something else? Or just point to existing tools? Or call existing tools from a small script? Is it the DPDK focus to develop and maintain such tool?