From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 368E52C55 for ; Tue, 8 Mar 2016 09:06:23 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP; 08 Mar 2016 00:06:23 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,556,1449561600"; d="scan'208";a="931975955" Received: from irsmsx101.ger.corp.intel.com ([163.33.3.153]) by fmsmga002.fm.intel.com with ESMTP; 08 Mar 2016 00:05:47 -0800 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.13]) by IRSMSX101.ger.corp.intel.com ([169.254.1.157]) with mapi id 14.03.0248.002; Tue, 8 Mar 2016 08:05:42 +0000 From: "Dumitrescu, Cristian" To: Thomas Monjalon , "Zhang, Roy Fan" Thread-Topic: [dpdk-dev] [PATCH v2] examples/ip_pipeline: CPU utilization measurement and display Thread-Index: AQHReGUmRLl9NjBmMkKEgMkM27mRGJ9N2a0AgAFXhJA= Date: Tue, 8 Mar 2016 08:05:41 +0000 Message-ID: <3EB4FA525960D640B5BDFFD6A3D8912647968B3B@IRSMSX108.ger.corp.intel.com> References: <1456150024-31304-1-git-send-email-roy.fan.zhang@intel.com> <2247891.YdKobRMisS@xps13> <2152992.B2xTvfyGUx@xps13> In-Reply-To: <2152992.B2xTvfyGUx@xps13> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZjI1ODAyMzctODQ4ZS00ZDgyLTk0NDAtOTRlNzQwYTY1ZGIwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IndXRXdJdndkeWYxU1ZvNWpKUE42U3hWWWhkTFVqUDZ1UGRJWVRTaGhwbUk9In0= x-ctpclassification: CTP_IC x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "dev@dpdk.org" , "Wodkowski, PawelX" Subject: Re: [dpdk-dev] [PATCH v2] examples/ip_pipeline: CPU utilization measurement and display 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: Tue, 08 Mar 2016 08:06:23 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Thomas Monjalon > Sent: Monday, March 7, 2016 11:34 AM > To: Zhang, Roy Fan > Cc: dev@dpdk.org; Wodkowski, PawelX > Subject: Re: [dpdk-dev] [PATCH v2] examples/ip_pipeline: CPU utilization > measurement and display >=20 > 2016-03-07 12:31, Thomas Monjalon: > > 2016-02-22 14:07, Fan Zhang: > > > This patch adds CPU utilization measurement and idle cycle rate > > > computation to packet framework. The measurement is done by > measuring > > > the cycles spent while a thread pulls zero packet from RX queue. Thes= e > > > cycles are treated as idle cycles (or headroom). A CLI command is add= ed > > > to display idle cycle rate of specific thread. The CLI command format= is > > > shown as following: > > > > > > t headroom > > > > > > Signed-off-by: Fan Zhang > > > Acked-by: Cristian Dumitrescu > > > > Applied, thanks >=20 > Question: Would you be helped by librte_jobstats? All we needed for now is retrieving the current TSC value. We might conside= r using librte_jobstats for the next release.