From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7A4AAA0487 for ; Wed, 3 Jul 2019 17:24:47 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2ECC8288C; Wed, 3 Jul 2019 17:24:47 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 49B762AB for ; Wed, 3 Jul 2019 17:24:45 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Jul 2019 08:24:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,446,1557212400"; d="scan'208";a="184785297" Received: from atrybulx-mobl.ger.corp.intel.com (HELO build-VirtualBox.isw.intel.com) ([10.103.104.106]) by fmsmga001.fm.intel.com with ESMTP; 03 Jul 2019 08:24:43 -0700 From: Artur Trybula To: dev@dpdk.org, fiona.trahe@intel.com, akhil.goyal@nxp.com, adamx.dybkowski@intel.com, arturx.trybula@intel.com, tjozwiakgm@gmail.com Date: Wed, 3 Jul 2019 17:24:12 +0200 Message-Id: <20190703152418.8601-1-arturx.trybula@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <1561980385-3223-2-git-send-email-tjozwiakgm@gmail.com> References: <1561980385-3223-2-git-send-email-tjozwiakgm@gmail.com> Subject: [dpdk-dev] [PATCH v6 0/6] add multiple cores feature to test-compress-perf 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" This patchset adds multiple cores feature to compression perf tool. All structures have been aligned and are consistent with crypto perf tool. All test cases have constructor, runner and destructor and can use more cores and compression devices at the same time. v2 changes: - fixed checkpatch warning - fixed max_nb_queue_pairs detection. Based on compression API if max_nb_queue_pairs = 0 that means there is no limit in maximum number of queue pairs - fixed qp setup on the last device v3 changes: - merged with commit 2f6527b70c15 app/compress-perf: add prints for socket id - fixed wrong compression/decompression throughput calculation v4 changes: - moved release notes update to patch 1 - removed pmd cyclecount template v5 changes: - changed ctx null ptr detection inside constructors v6 changes: - rebase to the recent master (before applying) commit 82b9677cb23c Tomasz Jozwiak (6): app/test-compress-perf: add weak functions for multi-cores test app/test-compress-perf: add ptest command line option app/test-compress-perf: add verification test case app/test-compress-perf: add benchmark test case doc: update dpdk-test-compress-perf description app/test-compress-perf: add force process termination app/test-compress-perf/Makefile | 1 + app/test-compress-perf/comp_perf.h | 50 ++ app/test-compress-perf/comp_perf_options.h | 45 +- .../comp_perf_options_parse.c | 54 +- .../comp_perf_test_benchmark.c | 153 +++-- .../comp_perf_test_benchmark.h | 25 +- .../comp_perf_test_common.c | 284 ++++++++ .../comp_perf_test_common.h | 41 ++ .../comp_perf_test_verify.c | 137 +++- .../comp_perf_test_verify.h | 24 +- app/test-compress-perf/main.c | 605 +++++++----------- app/test-compress-perf/meson.build | 3 +- doc/guides/rel_notes/release_19_08.rst | 4 + doc/guides/tools/comp_perf.rst | 34 +- 14 files changed, 993 insertions(+), 467 deletions(-) create mode 100644 app/test-compress-perf/comp_perf.h create mode 100644 app/test-compress-perf/comp_perf_test_common.c create mode 100644 app/test-compress-perf/comp_perf_test_common.h -- 2.17.1