From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id A53114BE1 for ; Mon, 18 Sep 2017 16:06:05 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Sep 2017 07:05:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,413,1500966000"; d="scan'208";a="1220319929" Received: from irsmsx154.ger.corp.intel.com ([163.33.192.96]) by fmsmga002.fm.intel.com with ESMTP; 18 Sep 2017 07:05:30 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.167]) by IRSMSX154.ger.corp.intel.com ([169.254.12.83]) with mapi id 14.03.0319.002; Mon, 18 Sep 2017 15:05:29 +0100 From: "De Lara Guarch, Pablo" To: "Burakov, Anatoly" , "dev@dpdk.org" CC: "Doherty, Declan" Thread-Topic: [PATCH v2 2/2] app/crypto-perf: add new PMD benchmarking mode Thread-Index: AQHTK6ql7TraalVKAkW65Cr7jAwQe6K6tuLA Date: Mon, 18 Sep 2017 14:05:29 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNjdlMTdiZTctOGM1OC00MTFhLWI4ZWMtYzVmMWNhZDQzNWJkIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6Ino2YnVHYzFiOGZzZTZ5TlFqa21rOXNZYmVDZGxlR2NjRzRaMndLTmtuaUk9In0= x-ctpclassification: CTP_IC dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2 2/2] app/crypto-perf: add new PMD benchmarking mode 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: , X-List-Received-Date: Mon, 18 Sep 2017 14:06:06 -0000 > -----Original Message----- > From: Burakov, Anatoly > Sent: Tuesday, September 12, 2017 10:36 AM > To: dev@dpdk.org > Cc: Doherty, Declan ; De Lara Guarch, Pablo > > Subject: [PATCH v2 2/2] app/crypto-perf: add new PMD benchmarking > mode >=20 > This patch adds a new benchmarking mode, which is intended for > microbenchmarking individual parts of the cryptodev framework, > specifically crypto ops alloc-build-free, cryptodev PMD enqueue and > cryptodev PMD dequeue. >=20 > It works by first benchmarking crypto operation alloc-build-free loop (no > enqueues/dequeues happening), and then benchmarking enqueue and > dequeue separately, by first completely filling up the TX queue, and then > completely draining the RX queue. >=20 > Results are shown as cycle counts per alloc/build/free, PMD enqueue and > PMD dequeue. >=20 > One new test mode is added: "pmd-cyclecount" > (called with --ptest=3Dpmd-cyclecount) >=20 > New command-line argument is also added: > --pmd-cyclecount-delay-ms: this is a pmd-cyclecount-specific parameter > that controls the delay between enqueue and dequeue. This is > useful for benchmarking hardware acceleration, as hardware may > not be able to keep up with enqueued packets. This parameter > can be increased if there are large amounts of dequeue > retries. >=20 > Signed-off-by: Anatoly Burakov Reviewed-by: Pablo de Lara