From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Pattan, Reshma" Subject: Re: [PATCH v2 1/3] packet_ordering: add statistics for each worker thread Date: Mon, 1 Apr 2019 12:58:22 +0000 Message-ID: <3AEA2BF9852C6F48A459DA490692831F2A43382E@irsmsx110.ger.corp.intel.com> References: <1546508946-12552-1-git-send-email-phil.yang@arm.com> <1553856998-25394-2-git-send-email-phil.yang@arm.com> <3AEA2BF9852C6F48A459DA490692831F2A432EBB@irsmsx110.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Cc: "Hunt, David" , "Gavin Hu (Arm Technology China)" , Honnappa Nagarahalli , nd , nd To: "Phil Yang (Arm Technology China)" , "dev@dpdk.org" , "thomas@monjalon.net" Return-path: Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 226443798 for ; Mon, 1 Apr 2019 14:58:26 +0200 (CEST) In-Reply-To: Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: Phil Yang (Arm Technology China) [mailto:Phil.Yang@arm.com] > Sent: Saturday, March 30, 2019 4:55 PM > To: Pattan, Reshma ; dev@dpdk.org; > thomas@monjalon.net > Cc: Hunt, David ; Gavin Hu (Arm Technology China) > ; Honnappa Nagarahalli > ; nd ; nd > Subject: RE: [PATCH v2 1/3] packet_ordering: add statistics for each work= er > thread >=20 > > -----Original Message----- > > From: Pattan, Reshma > > Sent: Saturday, March 30, 2019 12:40 AM > > To: Phil Yang (Arm Technology China) ; > > dev@dpdk.org; thomas@monjalon.net > > Cc: Hunt, David ; Gavin Hu (Arm Technology > > China) ; Honnappa Nagarahalli > > ; nd > > Subject: RE: [PATCH v2 1/3] packet_ordering: add statistics for each > > worker thread > > > > > > > > > -----Original Message----- > > > From: Phil Yang [mailto:phil.yang@arm.com] > > > > > > The current implementation using '__sync' built-ins to synchronize > > > statistics within worker threads. '__sync' built-ins functions are > > > full barriers which will affect the performance, so add a per worker > > > packets > > statistics. > > > > > > Enable by option --insight-worker. > > > > > > > I don't feel the need of this new option to print per core stats. Any > > reason for this? >=20 > Hi Reshma, >=20 > Thanks for your comment. > The per core stats aims at removing the '__sync' builtin full barrier in = the worker > thread. > It records the workload of each core (It shows the bottleneck core as wel= l). > Since the maximum core number may be more than 128, so disable the print = in > default and add this new option for debugging use. >=20 Ok fine with me then.=20 Thanks, Reshma