From patchwork Thu Jun 27 22:25:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Tomasz_J=C3=B3=C5=BAwiak?= X-Patchwork-Id: 55513 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EE91125D9; Fri, 28 Jun 2019 00:25:55 +0200 (CEST) Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) by dpdk.org (Postfix) with ESMTP id 674951E2F for ; Fri, 28 Jun 2019 00:25:54 +0200 (CEST) Received: by mail-wm1-f52.google.com with SMTP id f17so7106610wme.2 for ; Thu, 27 Jun 2019 15:25:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=74hQ35haifIHxfkGl0SEqKLYIZXjm+wlkSIRbt0t/IQ=; b=uKs4FRhLtRlhO5mVQUk8sVunfT62KhNw+1q4p6xxRMmpsWk2MfIWU9tbvS+mMskX0Y qjm/pH6HZtvERh3qkvyT8Exbz6kW3TXlFJereiUHaFkpye5IQjSf4FSC2W0FRtB/F+T4 qtZqTazQ0brvBNn42vjCv0ciyMA+IQwppjeZXS+8dDe8JkjIVmewdJU5zDDszCQ47Z0C kF2Me6E1qOVUjAq70VAY+QIu7hipy8r8RD+drI0a53xbuStWc6b8eyAoMj9PPl6ZsQ58 CF2fR85rDjdB7fL2dMADsSwNU/tKBgrHEA6gKfZpgZl/E9a/3cjpMqTDfUrfY6rb3yky cMag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=74hQ35haifIHxfkGl0SEqKLYIZXjm+wlkSIRbt0t/IQ=; b=VsHIbrPEES1wsZIrDYcW99NdycBiwGg6KTfw/E3vLFRNzCFWm0XyrYZvcQW/kSw16A JHxTD2Ly9+Ep5tlTg1jQEcXPsxeGL2YAhj/CwAftmydbemecgEyUOnuOU+zIiUR51dhO aPfiALlzYrHQhuLFg4PVCUKWHJVNDkfMO4A4DAwL0j/FqfYabkPtXJklSjDBndQsxrx7 od/86MvnfanGVCALLijjXDP2SakjFtkSMOHHht2zEYsvrZg2UboezNi+uWE+gktTAUX+ Jj4k9Pqvy/Dv0bec8ichlj/ODvV7wAJkbD7oQbwofHYIXeqtCF6qDIHo7MEOy31IjxT1 174w== X-Gm-Message-State: APjAAAVyIycjwaNk4d6qqtUV66Kf7Vlnaz4RQTKpr/uty6YH3r5wKkd8 LNHkNXKCLXnjTtt7tQGDjgkSc0tEUzRktQ== X-Google-Smtp-Source: APXvYqxqnqKOdjaoscIvNtclcMtD+rq58AxJbq/xPutoHbUP5D3Z0PWysm51vg9aIsOvOZ4t7jN8XQ== X-Received: by 2002:a7b:cd84:: with SMTP id y4mr4648191wmj.79.1561674353796; Thu, 27 Jun 2019 15:25:53 -0700 (PDT) Received: from localhost.localdomain (178.43.130.103.ipv4.supernova.orange.pl. [178.43.130.103]) by smtp.gmail.com with ESMTPSA id t14sm428236wrr.33.2019.06.27.15.25.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 27 Jun 2019 15:25:53 -0700 (PDT) From: Tomasz Jozwiak To: dev@dpdk.org, fiona.trahe@intel.com, tjozwiakgm@gmail.com, shallyv@marvell.com, arturx.trybula@intel.com Date: Fri, 28 Jun 2019 00:25:31 +0200 Message-Id: <1561674337-22086-1-git-send-email-tjozwiakgm@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1561566633-12329-1-git-send-email-tjozwiakgm@gmail.com> References: <1561566633-12329-1-git-send-email-tjozwiakgm@gmail.com> Subject: [dpdk-dev] [PATCH v4 0/6] add multiple cores feature to test-compress-perf X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 adds multiple cores feature to compression perf tool. All structures have been aligned and are consistent with crypto perf tool. All test cases have constructor, runner and destructor and can use more cores and compression devices at the same time. v2 changes: - fixed checkpatch warning - fixed max_nb_queue_pairs detection. Based on compression API if max_nb_queue_pairs = 0 that means there is no limit in maximum number of queue pairs - fixed qp setup on the last device v3 changes: - merged with commit 767350e7ede791932cc050bf2a192f6527b70c15 app/compress-perf: add prints for socket id - fixed wrong compression/decompression throughput calculation v4 changes: - moved release notes update to patch 1 - removed pmd cyclecount template Tomasz Jozwiak (6): app/test-compress-perf: add weak functions for multi-cores test app/test-compress-perf: add ptest command line option app/test-compress-perf: add verification test case app/test-compress-perf: add benchmark test case doc: update dpdk-test-compress-perf description app/test-compress-perf: add force process termination app/test-compress-perf/Makefile | 1 + app/test-compress-perf/comp_perf.h | 50 ++ app/test-compress-perf/comp_perf_options.h | 45 +- app/test-compress-perf/comp_perf_options_parse.c | 54 +- app/test-compress-perf/comp_perf_test_benchmark.c | 152 ++++-- app/test-compress-perf/comp_perf_test_benchmark.h | 25 +- app/test-compress-perf/comp_perf_test_common.c | 285 ++++++++++ app/test-compress-perf/comp_perf_test_common.h | 41 ++ app/test-compress-perf/comp_perf_test_verify.c | 136 +++-- app/test-compress-perf/comp_perf_test_verify.h | 24 +- app/test-compress-perf/main.c | 606 +++++++++------------- app/test-compress-perf/meson.build | 3 +- doc/guides/rel_notes/release_19_08.rst | 3 + doc/guides/tools/comp_perf.rst | 34 +- 14 files changed, 992 insertions(+), 467 deletions(-) create mode 100644 app/test-compress-perf/comp_perf.h create mode 100644 app/test-compress-perf/comp_perf_test_common.c create mode 100644 app/test-compress-perf/comp_perf_test_common.h