From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E3AA5A0A0A; Wed, 20 Jan 2021 18:30:00 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 891DA140E21; Wed, 20 Jan 2021 18:29:57 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 40BEA140DD3 for ; Wed, 20 Jan 2021 18:29:54 +0100 (CET) IronPort-SDR: SLs0qel1KM9gWggTRzvxaA+3rCPPAowZQK7/z6i9kCnn62dOD/QScNSpeq9v2HOeRgZm9qnZ3/ 5v7RzC0TXO4Q== X-IronPort-AV: E=McAfee;i="6000,8403,9870"; a="179230233" X-IronPort-AV: E=Sophos;i="5.79,361,1602572400"; d="scan'208";a="179230233" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jan 2021 09:29:44 -0800 IronPort-SDR: HYC7wKPWEnl1dXa0v6WFHsg7bGLKquyC3ZrPb6/RhGXYeOcB9ARQpcRfNKImLqdv94hKrfjcmX aHBVJRF/JnPA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,361,1602572400"; d="scan'208";a="356126393" Received: from silpixa00400355.ir.intel.com (HELO silpixa00400355.ger.corp.intel.com) ([10.237.223.148]) by fmsmga008.fm.intel.com with ESMTP; 20 Jan 2021 09:29:40 -0800 From: Ciara Power To: dev@dpdk.org Cc: declan.doherty@intel.com, akhil.goyal@nxp.com, stephen@networkplumber.org, adamx.dybkowski@intel.com, thomas@monjalon.net, Ciara Power Date: Wed, 20 Jan 2021 17:29:27 +0000 Message-Id: <20210120172931.3135778-1-ciara.power@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201211173114.1924772-1-ciara.power@intel.com> References: <20201211173114.1924772-1-ciara.power@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v3 0/4] add crypto perf test graphing script X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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 introduces a python script to run various crypto performance test cases, and graph the results in a consumable manner. The test suites are configured via JSON file. Some config files are provided, or the user may create one. Currently throughput and latency ptests for devices crypto_qat, crypto_aesni_mb and crypto_aesni_gcm are supported. The final collection of graphs are output in PDF format, with multiple PDFs per test suite, one for each graph type. Some fixes are included for the throughput performance test and latency performance test csv outputs also. v3: - Moved script and configs to app/test-crypto-perf directory. - Made changes to documentation and MAINTAINERS to reflect the above change. v2: - Reduced changes to only fix csv format for all perf test types. - Added functionality for additional args such as config file, output directory and verbose. - Improved help text for script. - Improved script console output. - Added support for latency test cases with burst or buffer size lists. - Split config file into smaller config files, one for each device. - Split output PDFs into smaller files, based on test suite graph types. - Modified output directory naming and structure. - Made some general improvements to script. - Updated and improved documentation. Ciara Power (4): test/cryptodev: fix latency test csv output test/cryptodev: fix csv output format test/cryptodev: add script to graph perf results maintainers: update crypto perf app maintainers MAINTAINERS | 1 + .../configs/crypto-perf-aesni-gcm.json | 99 ++++++ .../configs/crypto-perf-aesni-mb.json | 108 ++++++ .../configs/crypto-perf-qat.json | 94 ++++++ app/test-crypto-perf/cperf_test_latency.c | 4 +- .../cperf_test_pmd_cyclecount.c | 2 +- app/test-crypto-perf/cperf_test_throughput.c | 4 +- app/test-crypto-perf/cperf_test_verify.c | 2 +- .../dpdk-graph-crypto-perf.py | 309 ++++++++++++++++++ doc/guides/tools/cryptoperf.rst | 143 ++++++++ 10 files changed, 760 insertions(+), 6 deletions(-) create mode 100644 app/test-crypto-perf/configs/crypto-perf-aesni-gcm.json create mode 100644 app/test-crypto-perf/configs/crypto-perf-aesni-mb.json create mode 100644 app/test-crypto-perf/configs/crypto-perf-qat.json create mode 100755 app/test-crypto-perf/dpdk-graph-crypto-perf.py -- 2.25.1