From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 7D048239 for ; Tue, 2 Apr 2019 06:33:00 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Apr 2019 21:32:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,298,1549958400"; d="scan'208";a="334145244" Received: from unknown (HELO saesrv02-S2600CWR.intel.com) ([10.224.122.203]) by fmsmga005.fm.intel.com with ESMTP; 01 Apr 2019 21:32:54 -0700 From: Vipin Varghese To: dev@dpdk.org, marko.kovacevic@intel.com, reshma.pattan@intel.com Cc: keith.wiles@intel.com, john.mcnamara@intel.com, stephen1.byrne@intel.com, amit.tamboli@intel.com, sanjay.padubidri@intel.com, amol.patel@intel.com, Vipin Varghese Date: Tue, 2 Apr 2019 10:03:16 +0530 Message-Id: <20190402043318.20382-1-vipin.varghese@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190328150406.12051-1-vipin.varghese@intel.com> References: <20190328150406.12051-1-vipin.varghese@intel.com> Subject: [dpdk-dev] [PATCH v4 0/2] app/pdump: enhance to support unique cores 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, 02 Apr 2019 04:33:00 -0000 The patch series enhances application to support pdump capture to run on unique cores. Motivation ========== DPDK pdump capture tool currently runs as secondary on the default core 0. For all --pdump, core 0 iterates and capture packets. This leads to drops and delay in the capture. This introduces skew in result and performance bottleneck. In order to allow --pdump to unique cores, the pdump application has to be support multi-core in EAL arguments and each --pdump has to be mapped to unique cores. Status ====== - Default c_flag option is removed. - with option --multi, the application can run on unique cores. Change Log: =========== V4: - spelling correction - Reshma Pathan - remove c_falg - Reshma Pathan V3: - correct the parse_usage - Vipin Varghese - add change log - Vipin Varghese V2: - Replace option '-c' to '-l' - Keith Wiles Vipin Varghese (2): app/pdump: remove core restriction app/pdump: enhance to support multi-core capture app/pdump/main.c | 90 ++++++++++++++++++++++++++++++-------- doc/guides/tools/pdump.rst | 8 +++- 2 files changed, 78 insertions(+), 20 deletions(-) Future: ======= - In --multi mode, allow master to stop --pdump for desired packets. - In --multi mode, allow master to stop --pdump for desired file size. -- 2.17.1 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id D491EA0679 for ; Tue, 2 Apr 2019 06:33:02 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9B6FB2E81; Tue, 2 Apr 2019 06:33:01 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 7D048239 for ; Tue, 2 Apr 2019 06:33:00 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Apr 2019 21:32:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,298,1549958400"; d="scan'208";a="334145244" Received: from unknown (HELO saesrv02-S2600CWR.intel.com) ([10.224.122.203]) by fmsmga005.fm.intel.com with ESMTP; 01 Apr 2019 21:32:54 -0700 From: Vipin Varghese To: dev@dpdk.org, marko.kovacevic@intel.com, reshma.pattan@intel.com Cc: keith.wiles@intel.com, john.mcnamara@intel.com, stephen1.byrne@intel.com, amit.tamboli@intel.com, sanjay.padubidri@intel.com, amol.patel@intel.com, Vipin Varghese Date: Tue, 2 Apr 2019 10:03:16 +0530 Message-Id: <20190402043318.20382-1-vipin.varghese@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190328150406.12051-1-vipin.varghese@intel.com> References: <20190328150406.12051-1-vipin.varghese@intel.com> Subject: [dpdk-dev] [PATCH v4 0/2] app/pdump: enhance to support unique cores 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Content-Type: text/plain; charset="UTF-8" Message-ID: <20190402043316.GwsaEavmJW3_3jqzz_c0t4DsiDd1tOxOVRGNQa5210s@z> The patch series enhances application to support pdump capture to run on unique cores. Motivation ========== DPDK pdump capture tool currently runs as secondary on the default core 0. For all --pdump, core 0 iterates and capture packets. This leads to drops and delay in the capture. This introduces skew in result and performance bottleneck. In order to allow --pdump to unique cores, the pdump application has to be support multi-core in EAL arguments and each --pdump has to be mapped to unique cores. Status ====== - Default c_flag option is removed. - with option --multi, the application can run on unique cores. Change Log: =========== V4: - spelling correction - Reshma Pathan - remove c_falg - Reshma Pathan V3: - correct the parse_usage - Vipin Varghese - add change log - Vipin Varghese V2: - Replace option '-c' to '-l' - Keith Wiles Vipin Varghese (2): app/pdump: remove core restriction app/pdump: enhance to support multi-core capture app/pdump/main.c | 90 ++++++++++++++++++++++++++++++-------- doc/guides/tools/pdump.rst | 8 +++- 2 files changed, 78 insertions(+), 20 deletions(-) Future: ======= - In --multi mode, allow master to stop --pdump for desired packets. - In --multi mode, allow master to stop --pdump for desired file size. -- 2.17.1