[dpdk-dev] [PATCH 0/6] Crypto-perf app improvements

Pablo de Lara pablo.de.lara.guarch at intel.com
Fri Aug 18 10:05:14 CEST 2017


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



More information about the dev mailing list