From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0068.outbound.protection.outlook.com [104.47.38.68]) by dpdk.org (Postfix) with ESMTP id 1C77C7CDE for ; Mon, 3 Jul 2017 21:16:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=apEWOoBu5GqE/dE9r6UOlLZT3PMqvoKLq3O/oEzZ0/Y=; b=OXdDipiFi6/kYWp9yPW/eEsjBIbospbJGMIrIAzSlgPuDtfLlB/f/puOL2yIPNEi9NoVKr07NPdf001YPzEyGhPsqipBa/musH2KE93DL2K5lxNOi2HM49He0fKOruGN8OFdi/FiEn/6ebrHBHqP5ZvkpZN4cqWx03sxWW2SJ3A= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=caviumnetworks.com; Received: from jerin.domain.name (111.93.218.67) by BLUPR0701MB1716.namprd07.prod.outlook.com (10.163.85.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.11; Mon, 3 Jul 2017 19:16:11 +0000 From: Jerin Jacob To: dev@dpdk.org Cc: harry.van.haaren@intel.com, bruce.richardson@intel.com, hemant.agrawal@nxp.com, gage.eads@intel.com, nipun.gupta@nxp.com, narender.vangati@intel.com, nikhil.rao@intel.com, gprathyusha@caviumnetworks.com, Jerin Jacob Date: Tue, 4 Jul 2017 00:43:52 +0530 Message-Id: <20170703191402.3638-25-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170703191402.3638-1-jerin.jacob@caviumnetworks.com> References: <20170528195854.6064-1-jerin.jacob@caviumnetworks.com> <20170703191402.3638-1-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: PN1PR01CA0103.INDPRD01.PROD.OUTLOOK.COM (10.174.144.19) To BLUPR0701MB1716.namprd07.prod.outlook.com (10.163.85.142) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: eebf6e20-ea37-49c7-ca65-08d4c247f98b X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BLUPR0701MB1716; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1716; 3:T/INX9NT0Hz4eqzN/W7ZUhc7GV7CIlPT22hHsGNQcvtzN8i/DwUNkWHIFmmJ7FMcY8kCP8OvO6j+cQA0wotvSnfsbWKZTw6C6yRqmJNJoa0lHB8vVsV8j1M0E5dsQFILX2013Qwm+Ym+kggsOP99S817rfDeSsH7bJ8z0qejnCWzMUyZpIud8tTbqBsSJMrjqnfXdCMEJP0X/+24dwZJwt1h6bF7XAnQ7NfV0jeqFzqrnBr7wWSGRrzapsR7U2QdO6wEYcFJ/OAjizQOTigLpOh/2nhQsCFQvvAc1cJoJEPVe/K9uKgcLhVE3Vp5bfmcxXkzFQuZgRWAho6JJ7MbfwCPnaod9lQzJhN0oZPYz0J/Iyis6T6wwYzxMONeQpvKsq347fax42DDZsEy9qGgRJFMdRiZMn1wqIhhw8agYrpH4EPwpMu6aXtIxPt4T0c4MWPKdr+SMcVbdgV2Ola6e9C+THKEug5ED7ueKbPgoC/OVKEhF41Uuz+L2a169Tfj9kfAx9x3k/SbqV6xqUnzVET3EuYD0HievCCybJ4GmzdN+edBtr3i2KBOmrUVb5dABO1Hh8B2Gn5kuQqJwf2qcWHhJGHCJZjAs78y4SnsL4o25UWxTtmuXRs1qSz4yPRa/ZrpBxlVVS/4VBsOtNHGbn+4aqfGgfW16nXVu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I8xaGyBpNBV+sLNSVYq/d2fOLSMXuf0IoFwJ33E+ShlelipKYy00GB6TdlijadsTT4hWpQiKioK2LIGZMAhMv3TMsBG1YbNu+7VCU9NUR+dlo+vQG3fipUfwruL9mdUa7der8BoRWRFLdaeMh2BKfzIK2q+dy1lpZUm086Yuvy669ZtgE25vCGDxpX/zOcYnX5EwBnvK3sUAFRBvFf6k1OdMClC65XUkNcE33d7vC9s8v8Okse1iThzL8VI1xBlZdBSPu+fNi/Su0ZcY5cNYK3fTGAoy6Ek/b8HS37hFTnYgyTIdUI5znJV2jBNyxGcKJAS+W7q74gwmOaAtOXg= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236129657087228)(148574349560750)(158140799945019)(228905959029699)(247924648384137); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(93006095)(3002001)(10201501046)(100000703101)(100105400095)(6041248)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123560025)(20161123555025)(20161123564025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BLUPR0701MB1716; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BLUPR0701MB1716; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1716; 4:+fbF3mIMdfSpi/EpCmCoGkvdamt0JzyPcsO5ltOf?= =?us-ascii?Q?QTW/o72mGa5sF5SHsFiV0JC7IeiKJp1A7zJ2F3iUKi2iB0IVmu89hYzErpJE?= =?us-ascii?Q?ksA3ErVN1UssvyxULAtv/ZnAm0KTPSn34WIR5IeBn/sio+pKiJ902WpA7GLP?= =?us-ascii?Q?paIFk8K+R0no44OWmLIe9BNFbWQFOVVA7SXZt8BoB/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NiKwCPShv7ZCAhIkdCBidT5OeOZ7hKBE4Cvb7tTfA?= =?us-ascii?Q?vwJvcM9FIcE2/xeporzqNE3qqme0jV7WDBSyD8mz49XWcbqeusHrqb9xR+4j?= =?us-ascii?Q?MWoqgTOSTnFKjxZ9UjBRc9kUGPfccYZdNtyUNtsSVuAv4oMZaWWSdtqy7+VC?= =?us-ascii?Q?gYl6Zh6IfLvx+AFfPNmEWewMWnLxVnwbRTEx8Av5xVMGX4duSRenRYu5zgBB?= =?us-ascii?Q?oXzF4N8XK4IlK5iXo/m6LaY=3D?= X-Forefront-PRVS: 035748864E X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39850400002)(39840400002)(39400400002)(39410400002)(39450400003)(7736002)(966005)(478600001)(53376002)(53416004)(72206003)(38730400002)(110136004)(107886003)(42186005)(8656002)(50986999)(76176999)(36756003)(6512007)(6306002)(53936002)(4326008)(25786009)(5003940100001)(6916009)(42882006)(2950100002)(66066001)(5009440100003)(6666003)(2351001)(2361001)(6486002)(6116002)(189998001)(305945005)(33646002)(19273905006)(5660300001)(81166006)(8676002)(3846002)(47776003)(1076002)(2906002)(50466002)(48376002)(562404015)(563064011); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0701MB1716; H:jerin.domain.name; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1716; 23:9ShyVpHpE+fZhDcU1/zrUeLm9W/OnhVJIcjxo9/?= =?us-ascii?Q?+HzuT0erI4jtUaQ+GK4NXpPaicrUS6le0D2y7+n99NqXGVMNcPFWtmxVckBh?= =?us-ascii?Q?u/Xy3t+XtuoJGEe7CH4NOeYSWpooJrIJAY8JJOjwLSq7WEtT5dqyrtKxM37S?= =?us-ascii?Q?cuUNiFQwKOmQ3GTGsZ36ous0fv4rnVKae9bxbtPxZ2qek/VS7s/Ti6bt4M/p?= =?us-ascii?Q?zqc68960AiTWflvXCy+Ypk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pIIOELFdmOq6LpS1FbJwH53+ihmiM= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1716; 7:ZLHkzzjrSYitYvkA+T+YCEQwFr8lxZoMhOcRd29rUc4mslETIMt/BVZlqPoTpjpl87SfhrtHr43FwEEptXOiUkA4/cYgt/6ON5P3UuTrctTPsDWrd20d6Ib703D6h0gZ9u/BbMqADcLZuSEdc6Y+JVDCpSJpMZlmGlFiK2UF6jMIE2Td8KrBzbh+1U9G5vxywbILyv8q87C6aYqcn/m0/6wu3jGPm1GU4rB6QhLG5wFOnfkrGc2xzuLC5keVDfrpU5Jj9Wnaj5qboI05PlgNYIaS6IYGnRoZvAi70vvSqMMBBGv1wvh+dY8bH09en4a0U+enByLHQA4FNQ2kJUU2T3TCNidMG2yMYxkoxZ0T6EjmokNHDgv1R0av7lSAU1Ifbay1ghrxMw8qYKFjH3WwWbLTTbEwkwwFhsgOEt7VXB5UmuNrXYeGz8qTRAxpqflfucicwpjx1PgQZf4Kmb2moMg9GpOUn0uUavK6RM6EeIvYuPgnbOmopy5zLXiWSSCcL0HdmD1kb4KfJw+1vYOyTD0Ih1IWoMLmSq/egtIXGicOUuXr3O4HCkIaxjwPwFK9W9+KDiJbK8flFEW2n+V+rbe7hhfrriNKK8L5Adfd3/1WobMGTXS5/2U+sFp2HmX7zEqCU9tVrVPzHVjHL6dhfNyiKMTIoVIJ91dPdOzQqG0dYCMENIMuRqePcEtXxHWxzTOZOuV+hD1wwfh8bUEmH3sB8O3BwpZzuPuLOKrKED9CKeBC9xMfPqVYKZzrutW7pvu1CHqc6135qNDLTnbY6R859E0ZduOuApP6wwA9xf8= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jul 2017 19:16:11.7017 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1716 Subject: [dpdk-dev] [PATCH v2 24/34] app/testeventdev: add perf queue test 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, 03 Jul 2017 19:16:16 -0000 This is a performance test case that aims at testing the following: 1. Measure the number of events can be processed in a second. 2. Measure the latency to forward an event. The perf queue test configures the eventdev with Q queues and P ports, where Q is nb_producers * nb_stages and P is nb_workers + nb_producers. The user can choose the number of workers, the number of producers and number of stages through the --wlcores , --plcores and the --stlist application command line arguments respectively. The producer(s) injects the events to eventdev based the first stage sched type list requested by the user through --stlist the command line argument. Based on the number of stages to process(selected through --stlist), the application forwards the event to next upstream queue and terminates when it reaches the last stage in the pipeline. On event termination, application increments the number events processed and print periodically in one second to get the number of events processed in one second. When --fwd_latency command line option selected, the application inserts the timestamp in the event on the first stage and then on termination, it updates the number of cycles to forward a packet. The application uses this value to compute the average latency to a forward packet. Example command to run perf queue test: sudo build/app/dpdk-test-eventdev --vdev=event_sw0 -- --test=perf_queue\ --slcore=1 --plcores=2 --wlcore=3 --stlist=p --nb_pkts=1000000000 Signed-off-by: Jerin Jacob Acked-by: Harry van Haaren --- app/test-eventdev/Makefile | 1 + app/test-eventdev/test_perf_queue.c | 152 ++++++++++++++++++++++++++++++++++++ 2 files changed, 153 insertions(+) create mode 100644 app/test-eventdev/test_perf_queue.c diff --git a/app/test-eventdev/Makefile b/app/test-eventdev/Makefile index 242d3eeac..7fed73eaa 100644 --- a/app/test-eventdev/Makefile +++ b/app/test-eventdev/Makefile @@ -48,5 +48,6 @@ SRCS-y += test_order_queue.c SRCS-y += test_order_atq.c SRCS-y += test_perf_common.c +SRCS-y += test_perf_queue.c include $(RTE_SDK)/mk/rte.app.mk diff --git a/app/test-eventdev/test_perf_queue.c b/app/test-eventdev/test_perf_queue.c new file mode 100644 index 000000000..1ac823109 --- /dev/null +++ b/app/test-eventdev/test_perf_queue.c @@ -0,0 +1,152 @@ +/* + * BSD LICENSE + * + * Copyright (C) Cavium 2017. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * * Neither the name of Cavium nor the names of its + * contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#include "test_perf_common.h" + +/* See http://dpdk.org/doc/guides/tools/testeventdev.html for test details */ + +static inline int +perf_queue_nb_event_queues(struct evt_options *opt) +{ + /* nb_queues = number of producers * number of stages */ + return evt_nr_active_lcores(opt->plcores) * opt->nb_stages; +} + +static int +perf_queue_eventdev_setup(struct evt_test *test, struct evt_options *opt) +{ + uint8_t queue; + int nb_stages = opt->nb_stages; + int ret; + + const struct rte_event_dev_config config = { + .nb_event_queues = perf_queue_nb_event_queues(opt), + .nb_event_ports = perf_nb_event_ports(opt), + .nb_events_limit = 4096, + .nb_event_queue_flows = opt->nb_flows, + .nb_event_port_dequeue_depth = 128, + .nb_event_port_enqueue_depth = 128, + }; + + ret = rte_event_dev_configure(opt->dev_id, &config); + if (ret) { + evt_err("failed to configure eventdev %d", opt->dev_id); + return ret; + } + + struct rte_event_queue_conf q_conf = { + .priority = RTE_EVENT_DEV_PRIORITY_NORMAL, + .nb_atomic_flows = opt->nb_flows, + .nb_atomic_order_sequences = opt->nb_flows, + }; + /* queue configurations */ + for (queue = 0; queue < perf_queue_nb_event_queues(opt); queue++) { + q_conf.event_queue_cfg = evt_sched_type2queue_cfg + (opt->sched_type_list[queue % nb_stages]); + + if (opt->q_priority) { + uint8_t stage_pos = queue % nb_stages; + /* Configure event queues(stage 0 to stage n) with + * RTE_EVENT_DEV_PRIORITY_LOWEST to + * RTE_EVENT_DEV_PRIORITY_HIGHEST. + */ + uint8_t step = RTE_EVENT_DEV_PRIORITY_LOWEST / + (nb_stages - 1); + /* Higher prio for the queues closer to last stage */ + q_conf.priority = RTE_EVENT_DEV_PRIORITY_LOWEST - + (step * stage_pos); + } + ret = rte_event_queue_setup(opt->dev_id, queue, &q_conf); + if (ret) { + evt_err("failed to setup queue=%d", queue); + return ret; + } + } + + ret = perf_event_dev_port_setup(test, opt, nb_stages /* stride */, + perf_queue_nb_event_queues(opt)); + if (ret) + return ret; + + ret = rte_event_dev_start(opt->dev_id); + if (ret) { + evt_err("failed to start eventdev %d", opt->dev_id); + return ret; + } + + return 0; +} + +static void +perf_queue_opt_dump(struct evt_options *opt) +{ + evt_dump_fwd_latency(opt); + perf_opt_dump(opt, perf_queue_nb_event_queues(opt)); +} + +static int +perf_queue_opt_check(struct evt_options *opt) +{ + return perf_opt_check(opt, perf_queue_nb_event_queues(opt)); +} + +static bool +perf_queue_capability_check(struct evt_options *opt) +{ + struct rte_event_dev_info dev_info; + + rte_event_dev_info_get(opt->dev_id, &dev_info); + if (dev_info.max_event_queues < perf_queue_nb_event_queues(opt) || + dev_info.max_event_ports < perf_nb_event_ports(opt)) { + evt_err("not enough eventdev queues=%d/%d or ports=%d/%d", + perf_queue_nb_event_queues(opt), + dev_info.max_event_queues, + perf_nb_event_ports(opt), dev_info.max_event_ports); + } + + return true; +} + +static const struct evt_test_ops perf_queue = { + .cap_check = perf_queue_capability_check, + .opt_check = perf_queue_opt_check, + .opt_dump = perf_queue_opt_dump, + .test_setup = perf_test_setup, + .mempool_setup = perf_mempool_setup, + .eventdev_setup = perf_queue_eventdev_setup, + .eventdev_destroy = perf_eventdev_destroy, + .mempool_destroy = perf_mempool_destroy, + .test_result = perf_test_result, + .test_destroy = perf_test_destroy, +}; + +EVT_TEST_REGISTER(perf_queue); -- 2.13.2