From patchwork Thu Jun 27 22:25:36 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: 55518 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 144BE378E; Fri, 28 Jun 2019 00:26:14 +0200 (CEST) Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) by dpdk.org (Postfix) with ESMTP id 229BA2AA0 for ; Fri, 28 Jun 2019 00:25:59 +0200 (CEST) Received: by mail-wm1-f45.google.com with SMTP id s3so7175053wms.2 for ; Thu, 27 Jun 2019 15:25:59 -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=LUatsmA/ewwruKnS4BHjjTbALjj9FpyMD2UA3Pio0trR/kpGsyBso/TS9SwhHQF9Zg sIfedmfPGQm5P9JYXHwYnkpml19muNkt8YKbafW9I3XjtsG/ST0XoBeadG7f1Iqd7RLa 4nOIgh+wsYBt7JlANHIrXAIsMMEyuIU+hbk32iK6IBvFBPqWpn1lEd4Nw/b1vVb7J3CR LUrz6s36D46EnA3To++gmsZhj1LgdU0cnNzqjcJvo5tOIeIRyGCzVXlMcd0cXW/DTJTP qEFLifXNmVAwwWf5xUoUCXq+DlLRWJ4xp9MUDsVTEi7ld/6hcxfgQZ9DJ8I0z6XOhWVb r5Gg== 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=H3QNsBym3iLtJxmKj/5LxOICa2xqWKuMmRe536c1Ns6NYuy/2z/JmOdB/0yE3uYQ9U P53Yj8DOayfIKy9iUCIcAabvV2wTVFqcPEAcWRW/gZdkxeCtbQY3ws0kAL6KHYgm5ePk DIBN5NCObkBbG9iRXDvwU17zIEr0ujc9zyPWXxXCJTQZgiMvMvGo6HJ8jJuCWUMN+cMr VB2TinuRtl4ZkCiKS3gnCtoEW+rT+b1dD1szOORjqndLgaWgCeNWSoOWr9TEHJFDlsk7 AoZk9Vn4sQIqD37Kinee+r0AmiZaloHMghCDDOX3QUKmxwv491otWRL8WVGqUDsI9A0b dS6Q== X-Gm-Message-State: APjAAAWsSZmW5o72oPbBYdpZqHcS2sG+Z9xkJcsjWVnf5+h+MTm1CaoV St6ASAFD3YqONYCGIx+yrjTH0v+YALCHFw== X-Google-Smtp-Source: APXvYqzw4+GlBgrQqgG6GQOafQJHz3khd2GBEMwhdYpo/YsFb5vqu6lX42z4dXQaUQkEjj6KNNBZzQ== X-Received: by 2002:a1c:c545:: with SMTP id v66mr2234716wmf.51.1561674358700; Thu, 27 Jun 2019 15:25:58 -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.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 27 Jun 2019 15:25:58 -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:36 +0200 Message-Id: <1561674337-22086-6-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: <1561566633-12329-1-git-send-email-tjozwiakgm@gmail.com> <1561674337-22086-1-git-send-email-tjozwiakgm@gmail.com> Subject: [dpdk-dev] [PATCH v4 5/6] 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 Acked-by: Shally Verma --- 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