Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/85024/?format=api
https://patches.dpdk.org/api/patches/85024/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20201211173114.1924772-3-ciara.power@intel.com/", "project": { "id": 1, "url": "https://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20201211173114.1924772-3-ciara.power@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20201211173114.1924772-3-ciara.power@intel.com", "date": "2020-12-11T17:31:12", "name": "[2/4] test/cryptodev: improve csv output for perf tests", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "9cac8252c0c26c0e770817776a1c5c100eba2f60", "submitter": { "id": 978, "url": "https://patches.dpdk.org/api/people/978/?format=api", "name": "Power, Ciara", "email": "ciara.power@intel.com" }, "delegate": { "id": 6690, "url": "https://patches.dpdk.org/api/users/6690/?format=api", "username": "akhil", "first_name": "akhil", "last_name": "goyal", "email": "gakhil@marvell.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20201211173114.1924772-3-ciara.power@intel.com/mbox/", "series": [ { "id": 14267, "url": "https://patches.dpdk.org/api/series/14267/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=14267", "date": "2020-12-11T17:31:10", "name": "add crypto perf test graphing script", "version": 1, "mbox": "https://patches.dpdk.org/series/14267/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/85024/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/85024/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 565BBA09EE;\n\tFri, 11 Dec 2020 18:31:44 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 83E90C974;\n\tFri, 11 Dec 2020 18:31:25 +0100 (CET)", "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n by dpdk.org (Postfix) with ESMTP id 85636AC9B\n for <dev@dpdk.org>; Fri, 11 Dec 2020 18:31:22 +0100 (CET)", "from orsmga006.jf.intel.com ([10.7.209.51])\n by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 11 Dec 2020 09:31:21 -0800", "from silpixa00400355.ir.intel.com (HELO\n silpixa00400355.ger.corp.intel.com) ([10.237.223.148])\n by orsmga006.jf.intel.com with ESMTP; 11 Dec 2020 09:31:20 -0800" ], "IronPort-SDR": [ "\n nXlAevlbVvqS+XkDJ3knGfKIDC96ScgyHBFUBRvWdQgnqEwUruyI6o1MLXyW8Z2nNdkrZ8KrPb\n kTZHK9hpJdtw==", "\n rB8dKhZGnhXadXaTnuqN1lj0DGiGPeEEwEHH/nwhNDyXFI8GtIBbPJgNx34OA0hFsNmLoYmFh5\n qGV94tgzezXQ==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9832\"; a=\"238575051\"", "E=Sophos;i=\"5.78,412,1599548400\"; d=\"scan'208\";a=\"238575051\"", "E=Sophos;i=\"5.78,412,1599548400\"; d=\"scan'208\";a=\"339240427\"" ], "X-ExtLoop1": "1", "From": "Ciara Power <ciara.power@intel.com>", "To": "dev@dpdk.org", "Cc": "declan.doherty@intel.com, akhil.goyal@nxp.com,\n Ciara Power <ciara.power@intel.com>", "Date": "Fri, 11 Dec 2020 17:31:12 +0000", "Message-Id": "<20201211173114.1924772-3-ciara.power@intel.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20201211173114.1924772-1-ciara.power@intel.com>", "References": "<20201211173114.1924772-1-ciara.power@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH 2/4] test/cryptodev: improve csv output for perf\n\ttests", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "The csv outputs for performance tests were not easily consumed, due to\nunnecessary whitespaces and capitals. The delimiter is modified to now\nbe \",\" instead of \";\" which was present in some cases. Some unnecessary\nvalues were also removed from the output.\n\nSigned-off-by: Ciara Power <ciara.power@intel.com>\n---\n app/test-crypto-perf/cperf_test_latency.c | 13 +++++--------\n app/test-crypto-perf/cperf_test_throughput.c | 12 ++++++------\n 2 files changed, 11 insertions(+), 14 deletions(-)", "diff": "diff --git a/app/test-crypto-perf/cperf_test_latency.c b/app/test-crypto-perf/cperf_test_latency.c\nindex c2590a4dcf..f3c09b8c1c 100644\n--- a/app/test-crypto-perf/cperf_test_latency.c\n+++ b/app/test-crypto-perf/cperf_test_latency.c\n@@ -309,18 +309,15 @@ cperf_latency_test_runner(void *arg)\n \n \t\tif (ctx->options->csv) {\n \t\t\tif (rte_atomic16_test_and_set(&display_once))\n-\t\t\t\tprintf(\"\\n# lcore, Buffer Size, Burst Size, Pakt Seq #, \"\n-\t\t\t\t\t\t\"cycles, time (us)\");\n+\t\t\t\tprintf(\"\\n#buffer_size(b),burst_size,time(us)\");\n \n \t\t\tfor (i = 0; i < ctx->options->total_ops; i++) {\n \n-\t\t\t\tprintf(\"\\n%u;%u;%u;%\"PRIu64\";%\"PRIu64\";%.3f\",\n-\t\t\t\t\tctx->lcore_id, ctx->options->test_buffer_size,\n-\t\t\t\t\ttest_burst_size, i + 1,\n-\t\t\t\t\tctx->res[i].tsc_end - ctx->res[i].tsc_start,\n+\t\t\t\tprintf(\"\\n%u,%u,%.3f\",\n+\t\t\t\t\tctx->options->test_buffer_size,\n+\t\t\t\t\ttest_burst_size,\n \t\t\t\t\ttunit * (double) (ctx->res[i].tsc_end\n-\t\t\t\t\t\t\t- ctx->res[i].tsc_start)\n-\t\t\t\t\t\t/ tsc_hz);\n+\t\t\t\t\t- ctx->res[i].tsc_start) / tsc_hz);\n \n \t\t\t}\n \t\t} else {\ndiff --git a/app/test-crypto-perf/cperf_test_throughput.c b/app/test-crypto-perf/cperf_test_throughput.c\nindex f30f7d5c2c..a841a890b9 100644\n--- a/app/test-crypto-perf/cperf_test_throughput.c\n+++ b/app/test-crypto-perf/cperf_test_throughput.c\n@@ -294,13 +294,13 @@ cperf_throughput_test_runner(void *test_ctx)\n \t\t\t\t\tcycles_per_packet);\n \t\t} else {\n \t\t\tif (rte_atomic16_test_and_set(&display_once))\n-\t\t\t\tprintf(\"#lcore id,Buffer Size(B),\"\n-\t\t\t\t\t\"Burst Size,Enqueued,Dequeued,Failed Enq,\"\n-\t\t\t\t\t\"Failed Deq,Ops(Millions),Throughput(Gbps),\"\n-\t\t\t\t\t\"Cycles/Buf\\n\\n\");\n+\t\t\t\tprintf(\"#lcore_id,buffer_size(b),\"\n+\t\t\t\t\t\"burst_size,enqueued,dequeued,failed_enq,\"\n+\t\t\t\t\t\"failed_deq,ops(millions),throughput(gbps),\"\n+\t\t\t\t\t\"cycles_per_buf\\n\\n\");\n \n-\t\t\tprintf(\"%u;%u;%u;%\"PRIu64\";%\"PRIu64\";%\"PRIu64\";%\"PRIu64\";\"\n-\t\t\t\t\t\"%.3f;%.3f;%.3f\\n\",\n+\t\t\tprintf(\"%u,%u,%u,%\"PRIu64\",%\"PRIu64\",%\"PRIu64\",%\"PRIu64\",\"\n+\t\t\t\t\t\"%.3f,%.3f,%.3f\\n\",\n \t\t\t\t\tctx->lcore_id,\n \t\t\t\t\tctx->options->test_buffer_size,\n \t\t\t\t\ttest_burst_size,\n", "prefixes": [ "2/4" ] }{ "id": 85024, "url": "