From patchwork Wed Jun 26 16:30: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: 55423 X-Patchwork-Delegate: gakhil@marvell.com 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 837ED2C57; Wed, 26 Jun 2019 18:31:04 +0200 (CEST) Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by dpdk.org (Postfix) with ESMTP id 14B073DC for ; Wed, 26 Jun 2019 18:30:51 +0200 (CEST) Received: by mail-wr1-f67.google.com with SMTP id f9so3438013wre.12 for ; Wed, 26 Jun 2019 09:30:51 -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=kqB/PIfvDh3mRjU+l5+jeGf3zHlztbv0YgDNwlZ7VK4=; b=OnDrvptVKwb9gTofQP/KhW6I9sC/TbPCcWTMn7oT/vyfxdi5b0CRM22rT9urHXOaRe jVCD2rrKu4vxc8TcPsn6xJkTbyGtJ10MmKBiu2bYTSA6lTMgJcEHFZhNadAbZrYF795O 757Z2PkVR75JcU7B7cnMExm4kGekBd1+vP+dMET1h6JG9xxNETxSkLXOlomnV7v2vL1H nFhel763fkFhi9aqB4mRJ9rlP/pmEoYk4Gyk2frDU/d3jfHB1zA6dC0jMyhSz5RvaLBb 4eI1vXGDlp9PzRFgwTqBS7Ja0nuVBqv7MZP7c98xstC7mN72/oeyfdqwvj4pgMyTSAe3 ADiw== 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=kqB/PIfvDh3mRjU+l5+jeGf3zHlztbv0YgDNwlZ7VK4=; b=iHg1N8t/iQDZWve5+dAOUYMg7lreP/bztaFxoJ4049GFqr5WDB4wIfSKHnCSvySQsf J6lTEt6xzoZKgAcake9VcU8x+fuVafDMX4+6oiQt+WSi4xdcOLw2rzI5CFiHofFoHR27 VhfSWoWa5ocY+OAcXiYF5SuQt8nCmDRDQuw2ZyeH76YjFqvxofbK33R5bFFUdJBqyn+1 5FM47wCc0sJj3VisuV0VF324f00SRjXev6X6JN1zf8/ooeCtNRm7L6bzRDMx7e24ughW SLTQtjbItAXxX/w/97gwxn0pfVnCTK5vW+LjsMnUYDbUCliEUGS+3pNHhuQ2b6BeUpJt Uafg== X-Gm-Message-State: APjAAAVLsgWJ7XKH8Gv0yXesQ927A7hn6sppYcHt7TdaCWVWxe9eosxM RVf4aMeiS7v6Kx8gr839iQ+5w5oNMIX0aw== X-Google-Smtp-Source: APXvYqzah0Wrmag8NnCoSJX3cAfvXnmrAEWmdnW7NNGTR2cV0apRBatR58InlIbzAPiGt5lC1RjEDQ== X-Received: by 2002:a5d:4a8d:: with SMTP id o13mr4189911wrq.350.1561566650646; Wed, 26 Jun 2019 09:30:50 -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 n10sm16989663wrw.83.2019.06.26.09.30.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 26 Jun 2019 09:30:50 -0700 (PDT) From: Tomasz Jozwiak To: dev@dpdk.org, fiona.trahe@intel.com, tjozwiakgm@gmail.com, shallyv@marvell.com, arturx.trybula@intel.com Date: Wed, 26 Jun 2019 18:30:31 +0200 Message-Id: <1561566633-12329-6-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: <1560032553-15528-1-git-send-email-tjozwiakgm@gmail.com> <1561566633-12329-1-git-send-email-tjozwiakgm@gmail.com> Subject: [dpdk-dev] [PATCH v3 5/7] doc: update dpdk-test-compress-perf description 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" From: Tomasz Jozwiak This patch updates a dpdk-test-compress-perf documentation. Signed-off-by: Tomasz Jozwiak --- doc/guides/tools/comp_perf.rst | 34 +++++++++++++++++++++++++++++++--- 1 file changed, 31 insertions(+), 3 deletions(-) diff --git a/doc/guides/tools/comp_perf.rst b/doc/guides/tools/comp_perf.rst index 52869c1..71eef18 100644 --- a/doc/guides/tools/comp_perf.rst +++ b/doc/guides/tools/comp_perf.rst @@ -6,7 +6,9 @@ dpdk-test-compress-perf Tool The ``dpdk-test-compress-perf`` tool is a Data Plane Development Kit (DPDK) utility that allows measuring performance parameters of PMDs available in the -compress tree. The tool reads the data from a file (--input-file), +compress tree. User can use multiple cores to run tests on but only +one type of compression PMD can be measured during single application +execution. The tool reads the data from a file (--input-file), dumps all the file into a buffer and fills out the data of input mbufs, which are passed to compress device with compression operations. Then, the output buffers are fed into the decompression stage, and the resulting @@ -26,9 +28,35 @@ Limitations * Stateful operation is not supported in this version. +EAL Options +~~~~~~~~~~~ + +The following are the EAL command-line options that can be used in conjunction +with the ``dpdk-test-compress-perf`` application. +See the DPDK Getting Started Guides for more information on these options. + +* ``-c `` or ``-l `` + + Set the hexadecimal bitmask of the cores to run on. The corelist is a + list cores to use. + +.. Note:: + + One lcore is needed for process admin, tests are run on all other cores. + To run tests on two lcores, three lcores must be passed to the tool. + +* ``-w `` + + Add a PCI device in white list. + +* ``--vdev `` + + Add a virtual device. + +Appication Options +~~~~~~~~~~~~~~~~~~ -Command line options --------------------- + ``--ptest [benchmark/verify]``: set test type (default: benchmark) ``--driver-name NAME``: compress driver to use