numam-dpdk/app
Anatoly Burakov 96dfeb609b app/crypto-perf: add new PMD benchmarking mode
This patch adds a new benchmarking mode, which is intended for
microbenchmarking individual parts of the cryptodev framework,
specifically crypto ops alloc-build-free, cryptodev PMD enqueue
and cryptodev PMD dequeue.

It works by first benchmarking crypto operation alloc-build-free
loop (no enqueues/dequeues happening), and then benchmarking
enqueue and dequeue separately, by first completely filling up the
TX queue, and then completely draining the RX queue.

Results are shown as cycle counts per alloc/build/free, PMD enqueue
and PMD dequeue.

One new test mode is added: "pmd-cyclecount"
  (called with --ptest=pmd-cyclecount)

New command-line argument is also added:
  --pmd-cyclecount-delay-ms: this is a pmd-cyclecount-specific parameter
      that controls the delay between enqueue and dequeue. This is
      useful for benchmarking hardware acceleration, as hardware may
      not be able to keep up with enqueued packets. This parameter
      can be increased if there are large amounts of dequeue
      retries.

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Reviewed-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
2017-10-12 15:13:18 +01:00
..
pdump ethdev: increase port id range 2017-10-06 18:23:25 +02:00
proc_info app/procinfo: fix compilation with -O3 2017-10-06 23:53:56 +02:00
test-crypto-perf app/crypto-perf: add new PMD benchmarking mode 2017-10-12 15:13:18 +01:00
test-eventdev app/testeventdev: fix divide by zero in stats 2017-07-31 22:43:48 +02:00
test-pmd app/testpmd: remove unnecessary cast 2017-10-12 01:52:50 +01:00
Makefile app/testeventdev: introduce dpdk-test-eventdev app 2017-07-07 09:30:46 +02:00