From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <pablo.de.lara.guarch@intel.com> Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 77CE57CE8 for <dev@dpdk.org>; Fri, 18 Aug 2017 18:05:09 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga105.jf.intel.com with ESMTP; 18 Aug 2017 09:05:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,393,1498546800"; d="scan'208";a="891439707" Received: from silpixa00399464.ir.intel.com (HELO silpixa00399464.ger.corp.intel.com) ([10.237.222.157]) by FMSMGA003.fm.intel.com with ESMTP; 18 Aug 2017 09:05:02 -0700 From: Pablo de Lara <pablo.de.lara.guarch@intel.com> To: declan.doherty@intel.com, fiona.trahe@intel.com, deepak.k.jain@intel.com, john.griffin@intel.com, jerin.jacob@caviumnetworks.com, akhil.goyal@nxp.com, hemant.agrawal@nxp.com Cc: dev@dpdk.org, Pablo de Lara <pablo.de.lara.guarch@intel.com> Date: Fri, 18 Aug 2017 09:05:14 +0100 Message-Id: <20170818080520.43088-1-pablo.de.lara.guarch@intel.com> X-Mailer: git-send-email 2.9.4 Subject: [dpdk-dev] [PATCH 0/6] Crypto-perf app improvements X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <http://dpdk.org/ml/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://dpdk.org/ml/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <http://dpdk.org/ml/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> X-List-Received-Date: Fri, 18 Aug 2017 16:05:09 -0000 This patchset includes some improvements in the Crypto performance application. The last patch, in particular, introduces performance improvements. Currently, crypto operations are allocated in a mempool and mbufs in a different one. Since crypto operations and mbufs are mapped 1:1, the can share the same mempool object (similar to having the mbuf in the private data of the crypto operation). This improves performance, as it is only required to handle a single mempool, improving cache usage. Pablo de Lara (6): app/crypto-perf: set AAD after the crypto operation app/crypto-perf: parse AEAD data from vectors app/crypto-perf: parse segment size app/crypto-perf: overwrite mbuf when verifying app/crypto-perf: do not populate the mbufs at init app/crypto-perf: use single mempool app/test-crypto-perf/cperf_ops.c | 136 ++++++-- app/test-crypto-perf/cperf_ops.h | 2 +- app/test-crypto-perf/cperf_options.h | 4 +- app/test-crypto-perf/cperf_options_parsing.c | 45 +-- app/test-crypto-perf/cperf_test_latency.c | 365 ++++++++++------------ app/test-crypto-perf/cperf_test_throughput.c | 361 ++++++++++----------- app/test-crypto-perf/cperf_test_vector_parsing.c | 55 ++++ app/test-crypto-perf/cperf_test_verify.c | 382 +++++++++++------------ doc/guides/tools/cryptoperf.rst | 6 +- 9 files changed, 717 insertions(+), 639 deletions(-) -- 2.9.4