From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 064A7A0487 for ; Mon, 1 Jul 2019 13:26:36 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F02252C38; Mon, 1 Jul 2019 13:26:35 +0200 (CEST) Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com [209.85.208.170]) by dpdk.org (Postfix) with ESMTP id C05B32BB5 for ; Mon, 1 Jul 2019 13:26:34 +0200 (CEST) Received: by mail-lj1-f170.google.com with SMTP id p17so12797776ljg.1 for ; Mon, 01 Jul 2019 04:26:34 -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=QYBPnthRckPC8FEiaIQVXHp9NH+opF6ViLY1kX0Xu9A=; b=TukQNExIWpBAqSB4jQgsVvJ6nG+CjIJk0fmVsjiOXSVgYNLNhtvtnqyUn2wlQCsDOb ilVX0rLBJTC2SjfWSoMY/VoeWqRkHsA0tlFVwfPqab7f1nO9pWLhKTb5fI8DG4s/TMQo VEg22epUv42sTcTVXSGR9qwG9p5xNvmmj0OwnxZcBKH6NWeyF16SNdzYg0mBNsNtPQNO FtL0qO0OsmRpMuvzuBtfGKiWASP9mveI3qMu05JmwtNBIh7S/wr+bIFac4530vDru+wP /51S6cDtCK+HTGLG7ZeOfsFrInZrNMIqsvUzUcj2TGVUqlFiQY7KXLH8Ak1Y6E52cG2O 6bqQ== 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=QYBPnthRckPC8FEiaIQVXHp9NH+opF6ViLY1kX0Xu9A=; b=UuXD6ffFxMVvXh0JMnfQgQC8IjPJ9ZdaIv851rwGRwjQg8UucQ43tzl+FNuGLgV2on b41tTt4ZIUZnb7g5crlNNaC/JpWKHag+p9hDmt9ZsS3ak7KZ0B7dauXKz09xQWgcKosL RRzQPU6WbxA+GJIZpjzVSmZcOW3erynakD9W+2RdNPHoiqacTldWUYL/YdiTHZcnDwoG DR8JKhzGwoB8uN9pb4l/DLI9O/CmRPgJ7M/4pD11F2k66AgaXzgQMfkmW5DpkmJXLrHp kK253Kea0bbnItZ4hpGGKpsu/eUh9boCS0MqTsrJS9jCL1ozg7cICwzR1LWKl4g3qNON ad6g== X-Gm-Message-State: APjAAAV7/8P0P4U7MTFv/crjaMLB/DaYNRBS9rH0pndyCnE3+q2RObjK Xd/ATirkMlRTHNNz7YUsqf+p7pkJzTs= X-Google-Smtp-Source: APXvYqyFSbAmfUWz6F6g25wP3LbJALmcW9NKEOfGxWrxXo/NO6xCVdNjdKm7NYXsLvifFmUXmQkqIw== X-Received: by 2002:a2e:5c6:: with SMTP id 189mr14057560ljf.22.1561980393699; Mon, 01 Jul 2019 04:26:33 -0700 (PDT) Received: from tj-idea-500s.lan (user-94-254-233-31.play-internet.pl. [94.254.233.31]) by smtp.gmail.com with ESMTPSA id h3sm3211640lja.93.2019.07.01.04.26.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 01 Jul 2019 04:26:32 -0700 (PDT) From: Tomasz Jozwiak To: dev@dpdk.org, fiona.trahe@intel.com, tjozwiakgm@gmail.com, shallyv@marvell.com, arturx.trybula@intel.com Date: Mon, 1 Jul 2019 13:26:19 +0200 Message-Id: <1561980385-3223-1-git-send-email-tjozwiakgm@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1561674337-22086-1-git-send-email-tjozwiakgm@gmail.com> References: <1561674337-22086-1-git-send-email-tjozwiakgm@gmail.com> Subject: [dpdk-dev] [PATCH v5 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 v5 changes: - changed ctx null ptr detection inside constructors 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 | 153 ++++-- app/test-compress-perf/comp_perf_test_benchmark.h | 25 +- app/test-compress-perf/comp_perf_test_common.c | 284 ++++++++++ app/test-compress-perf/comp_perf_test_common.h | 41 ++ app/test-compress-perf/comp_perf_test_verify.c | 137 +++-- app/test-compress-perf/comp_perf_test_verify.h | 24 +- app/test-compress-perf/main.c | 605 +++++++++------------- 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 -- 2.7.4