Branch: refs/heads/master
  Home:   https://github.com/Linaro/odp
  Commit: f7c03ade975b018be0766d5fea300d03642b4b12
      
https://github.com/Linaro/odp/commit/f7c03ade975b018be0766d5fea300d03642b4b12
  Author: Matias Elo <matias....@nokia.com>
  Date:   2018-07-05 (Thu, 05 Jul 2018)

  Changed paths:
    M test/performance/.gitignore
    M test/performance/Makefile.am
    A test/performance/odp_cpu_bench.c

  Log Message:
  -----------
  test: performance: add new CPU benchmarking application

New self-contained test application for CPUs stress testing.

The application launches a number of worker threads, which receive
preallocated test UDP packets from the scheduler and perform the following
per packet processing:

1. Calculate a CRC-32C hash over the packet data and check that it matches
   to the value stored in test header
2. Perform full packet parsing
3. Read a value from dummy lookup table based on packet data
4. Modify packet payload based on the lookup table data and sequence number
5. Update UDP checksum
6. Recalculate CRC-32C hash and store it in test header

Dummy lookup table (default 1M entries) is used to increase memory usage.
The size of the lookup table can be modified with '-l' option.

The application measures and prints the maximum throughput per each worker
thread.

Signed-off-by: Matias Elo <matias....@nokia.com>
Reviewed-by: Bogdan Pricope <bogdan.pric...@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org>



      **NOTE:** This service been marked for deprecation: 
https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.

Reply via email to