From patchwork Sat Jun 8 22:22:26 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: 54569 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 3A7BD1BD1E; Sun, 9 Jun 2019 00:22:43 +0200 (CEST) Received: from mail-lj1-f193.google.com (mail-lj1-f193.google.com [209.85.208.193]) by dpdk.org (Postfix) with ESMTP id 729261BD1B for ; Sun, 9 Jun 2019 00:22:42 +0200 (CEST) Received: by mail-lj1-f193.google.com with SMTP id a21so4711830ljh.7 for ; Sat, 08 Jun 2019 15:22:42 -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=syxidhX/JV4Xr4AL/HZjoWSb6KWg+pOrEQOZAiyqtmA=; b=jn1NxysiJU1yk9l/hdNG3SOcOrNSS/PmrOgfAGQuXqav1aGPl1KeQozlvyEP0gOVCK PXxo9XU9HatIHjf8zPLUis70UYyFnD4uH42dF2Pza2Ll+G3h9Dmeekf++OY3bbtqfxtB gg+Z6Sl9PAF6oHQQ7e7PKk2KKwuwtsprzapYqP8UDsbIrY+0B38fGYCDMEV02Knd9QU4 1eMp54N5o1z6fKh6/zdJrrqULosmPQjoova6Omk/bYybv22vPYNsKQhqtYiQwDpUQUnx jE7n01M5SN8MM37tg/65Gb7B3H3Gmn1IGSsxKegsPP5j/0SC8a8D9xV11mF+MaNhGFr/ pSow== 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=syxidhX/JV4Xr4AL/HZjoWSb6KWg+pOrEQOZAiyqtmA=; b=eq6a7HmYmpoLEOy9GU+6xwbSBVnezmaI5Q8GliB8zJeVOi31qxQ65XdE+m294JbWFu e8209TzFy55t+4wvr/EooHu+5BkpN9vSJrr7ioFUAYM0OXCGrnQrq3HUjkl5FJ2wykTP 2YZqR0h4WT59gcBmArcRYUG5EQNbBUmlosAk6UXfFyizsgOLJpy2otLE8pnfprxDZTJU fH+HirJcAocO7T+hzMnYr1LVJ+eO/WkHUmGnGZF68TWJ/rmBmoxrn5R7AL2yfC3FgkTU 0o9pzeZoFby95yRcwlnUhYN5mdhl71Tm3BZrVxoCX2hwZPdKcFkJtpgI8tukk4gv31I8 9KgA== X-Gm-Message-State: APjAAAWm1q67+70CR6gkcJhUA9vmQQKhAQWTJXC7l0WrwvgeCi8+2gBp Hhv9k1no3vWc500zOscCUgABCVFiEYQ= X-Google-Smtp-Source: APXvYqyJqiKtWr8lLXwspbsWk5HLPj+RkLa/S6kGEppShirGVqYBi7Ve4PWKsSkFtKSOSiAJ/FU3tQ== X-Received: by 2002:a2e:9e85:: with SMTP id f5mr25873846ljk.104.1560032561773; Sat, 08 Jun 2019 15:22:41 -0700 (PDT) Received: from tj-idea-500s.lan (user-5-173-144-53.play-internet.pl. [5.173.144.53]) by smtp.gmail.com with ESMTPSA id w28sm1060597ljd.12.2019.06.08.15.22.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 08 Jun 2019 15:22:41 -0700 (PDT) From: Tomasz Jozwiak To: dev@dpdk.org, fiona.trahe@intel.com, tjozwiakgm@gmail.com, shallyv@marvell.com Date: Sun, 9 Jun 2019 00:22:26 +0200 Message-Id: <1560032553-15528-1-git-send-email-tjozwiakgm@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1559203588-24046-1-git-send-email-tomaszx.jozwiak@intel.com> References: <1559203588-24046-1-git-send-email-tomaszx.jozwiak@intel.com> Subject: [dpdk-dev] [PATCH v2 0/7] 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 Tomasz Jozwiak (7): 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 doc: update release notes for 19.08 app/test-compress-perf/Makefile | 1 + app/test-compress-perf/comp_perf.h | 61 +++ app/test-compress-perf/comp_perf_options.h | 46 +- app/test-compress-perf/comp_perf_options_parse.c | 58 +- 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 | 633 ++++++++++------------ 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, 1036 insertions(+), 466 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