From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0089.outbound.protection.outlook.com [104.47.41.89]) by dpdk.org (Postfix) with ESMTP id DC0877D0E for ; Mon, 3 Jul 2017 21:15:55 +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=OP2LbZ+RynvKl4uRn8hpuqXjTe2jIF5Kz25dnT3nsAE=; b=QFNVRRApMGMvSOznFUj1FfNMGf76+46GaA1cdaOjC49lvSrtFMl6B0t99PKgMvuOjKOSljfxaZPyaTMG/UdblC6MhEQ0RHyvmzh7e0Xg5YzKgbvhy8juUhUVDTBiwZI1R7CYBqZIVuis0O8/LJCdHDCGn8d/6PHq3yVugDGCMik= 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:15:51 +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:47 +0530 Message-Id: <20170703191402.3638-20-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: bde6a4c5-ecc3-481c-ffea-08d4c247ed55 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:qQfyf+tTDiKNgwVaY4GLZlsl21CktYAZRj7jx3VLzPkUd5EyidwC+UZKKIL6dkSx1KZCG6Obt7TkwZ7fIKdIxeoca7OHTpWkQOhYdX2exs6l2ROyqYlbRd0qot8DkPKEedLBWTFmhNezWH5fTpExf7IKv+opk9eCgVqBdMItIVIVLqAhhepaz1xz6yR3irUYfRBEyaEDq80d0XW32ZAbDwmaJjBFVCF8kZsq2VsCHLJlDeV6dbrcYuCoPlFQlME0xrV0ZDZFc4GSoM11l4EQTOMOjzVJlCm2neTXo7TKniXLK7+xGI6FUX/fkl5Smr9+x4XpO3hHasDCB/lorPZSOLOG3D/m4OVSR5TZ96N/mo/WRLrZurRK4QBlVgrtwvB5v4cDr/yAmWgX8gFgVsCfmyMWZpTIfp/khvWCLBAai/XS20mvHZrsxA2wP5nk6SafSB2jvTYKqns/QHJswBc6Eg2+/n49KoPcPJDT+NfqCiLIw3S/iAa45efyqHA8ONZhwx8Tm5cdz2GeMTVOv+m5kPtQXTQp1R1BDTyRSTb4hI5uxs5lqmQjZZrc0WMYa5iJDiPg/zmeq8tTaujCQebA3I2aMTrVblIDZJZvzSCW7+mW/CFCMKqsIytifH0pX+2qgmofwRT05oEOrdS1TV7UrcUFMbWMDmLbgAtG7bUOIxCXF4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G8T36XAVgvJQa4i0dUScxuJg08A48TGvPMSTc53u+kG6nKqIMAemxRQh/ZlALIn70aW18dFwQqHy+3NehhilPZcIo42JBeRtctw3iOdSIqNSAwfuvOjc0sDD1LTRceidK/l2JTOzbFFFntlqPIUsql0k7R+KE25P8FLGf75qkXGRHHotysOMAC/scFQKuAZYzyLE+t+dPTF7pvw20Dfhi8SXR9a/v+sxutk9mbO5TqrRUNHMRBTkoh1CT29U9swkkNbD+8D0J+5/3eqDHKZ+hzB04jdkgD3Mb5eNoafwmIlBGCbKmRY2UJKgUoTyrtBNVUVGPt4= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236129657087228)(148574349560750)(158140799945019)(228905959029699); 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:gvekRciTmcGcN2Eq3+6Kj8MKoeA3CBLq4se/oQ22?= =?us-ascii?Q?X0EG2nceMpMK13HvA6RIl4Cnp+IqPl//ELptRscNhsKriVEBcPV4rLZbiMBJ?= =?us-ascii?Q?FY2sW5caA+US4aOkbZluvbn4r+7OnKKb8rxcFYgeGH7Uw/54Ae8PrWvo+rko?= =?us-ascii?Q?Tk442iT9NILG4jjHCNV+J/5KllMDs5G1Cv7J52fH18SPa/olnZIU/FrtjmBb?= =?us-ascii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3wiuSD1Ht3VK1S6acvKgL1Ca?= =?us-ascii?Q?7P5aQ1MrLGAPL3bOrIFIPmB4NWDc29mi9E5OQQbuLYyZXyQBkvwUOINw3ZKU?= =?us-ascii?Q?wo0Y0mbaD+RsNndn74soQMeX7sGxKKLYom2doidsn4fGtoMLcyvpikDrPyBP?= =?us-ascii?Q?aGC67DtoOTAejdPWJP6LVJ7UnzjhKP/uFaUKZlDj?= X-Forefront-PRVS: 035748864E X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39850400002)(39840400002)(39400400002)(39410400002)(39450400003)(7736002)(478600001)(53416004)(72206003)(38730400002)(110136004)(107886003)(42186005)(8656002)(50986999)(76176999)(36756003)(6512007)(53936002)(4326008)(25786009)(5003940100001)(6916009)(42882006)(2950100002)(66066001)(5009440100003)(6666003)(2351001)(2361001)(6486002)(6116002)(189998001)(305945005)(33646002)(5660300001)(81166006)(8676002)(3846002)(47776003)(1076002)(2906002)(50466002)(48376002); 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:P0ZTVUM98g0A/YTAZS6Q+WioVSWeLfGkPy/kbTZ?= =?us-ascii?Q?e3qwBZcuJjSLRitvkppnoF4M4mQteS/UkKlw/DxjwUdSvyNXY28Wl2IqW4Qf?= =?us-ascii?Q?a1AA1TEAbOAz6/w79G61TD7/IV5ba3mZDkZ6zJ10fEHyGuUMMy30hhXlHoRZ?= =?us-ascii?Q?hZrviWucV5EGxs1r//gJsFmnqbs1MY1XSHLsuBzcyJ6Bo+GUBnWBLatEgnTs?= =?us-ascii?Q?3Sgb384Y+pxhfI1cwG23Xw19svR17z7xJGXpcDOiD/WKkPTDCYX7fFBGDj5R?= =?us-ascii?Q?EroQ4D3R+U+84Q72Jm9/wyh826P2DEUl6YPNI3HH4812PvW4I130AFfIvIz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JvLyavjGqZbt/?= =?us-ascii?Q?XmnyZLVFUBYl+LciU7qhZAKDIswHWcoKlBl/O+/5H/GfKDPcnfZPRvmhaD2n?= =?us-ascii?Q?TNQkrXxz9Ay51FuukLv7lfrbVxJylbXof6aytWw6qfuW3ExsA8gfGohFJYvV?= =?us-ascii?Q?IDE=3D?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1716; 5:vFAgoAZvb+EHIHmVTdp7ifFbll5DJetbLF2jStLlNz+Zp1AQVOQlPHul54GOnUCKM69cl7wT8/ZArm1WiFRRqJ7C4mH39lVnWexqgyWRD+HKt10SYWGBNn9otuvEpmfGmxPhOCIJcFskS7CE8r/zDCcQt+Y/LrO+Otg7fCw5pOOSPXpjOYgwKPbCwlqdnN6k4aWGztNNTHJIZyXddm7cow1ggXsH0r6qbAYP7WZwmHwR0zzqOb6LkCJCRPRK0kxROCw4VnWfwTxYNgbgTnIXOYjIaxCNscXfTgpqfxEFDFe4GBIslGLUELBA7MTYzIy72J/DHLdaSBbsErhys6Nxoy5ellWb3gmX7r9dV74Xh4zOyCxtTK4MMbYjr8hTKSG5eDLeKCahbTMnrhhnD6kFt9dLWI+dD3q8f1/XvEZCqs46xm/ucVUrw/bnEze3S17KSnmxyv68zLOFYI4LpDyUlbyOSxNFz4hAWlmX9UY1G0gr30l1wQsTeviOQX6+UAco; 24:ItvDtmAGehUa8PQ0OaGCkhVRxEQyU10/0uIUa+/TU7fhyJjPcsJlsL1JdPLI+g6ZM4fWXZW3mC5HbPb+WrNF63u3qRe+6VELjuUaB+e3M6c= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1716; 7:mDuIDZnyvqvxiREli/tzPoN/aCiDouQ+CsmfxSWWMOBVDVDfydZi1O2n1T8qsS8feNMeARpOSEmBx05VLoXOH2wp+KthKIr0cGprnXSSzH9GBzfklqn4t3uQ/ExhC6DRF0yXLABmJy0mBZL+ahY2dRn5SFzruVs1FU3FeBtXSke3LZxwSK5UtnB5MxbBSfFsK5GeQeZsCGa+5o0i9nRdl+gIitGzjrf2/oC2xrG7/4MSxUebklyPu8lpOcGUKnfneBdnrkjRtLxkEPSqdlpfL9fFaHtOcdLUFIdrWSLSWEVu9N6VMETPA/5KHq9xPRiXL2fkPrtGInkVYwvROpjvSxit+Z08fq/o9ElldqsIH0ofhn9Yx+smu8sLJmZlZytX1ao7e/AWkV1WMPIHQmUn+u0IDZ/heM/42gIjO0MoBUJ6AXtvh1YDh0amVucLIoCKmbykHKsQTGoP0Kb2qwadIl+8MJqSzaKaOyGHfhNuX6NLkigpr7n8EdAPPTW9ehvu0w57jFmmlw5EuPiTNlMdl8ZuXF//HruFhcnEj/NCAwdEwNYIwW+B+JQNpUI9X88iu1JqM4u4dNIUlaluDc5G1q01p5rZhxSK/LXjI/TqTNs2nhsFD2zUwOTJ/RIV9zqikImYoMmE2gOhN/yUnlDfnSkfgD4TZj3n0fCBtsZHBdniLg0iz6SIipE/rLPMx6FrzubeMVTqOjvgvLpYq2PDU3Xj/O1oB2NgTV7gdiXVnotqwdQEw8oXuGF1Fb2OjAddFxevHBDjzl7hjNNAEZQSsvVrGIUGJMzZT1cpSUK/y6M= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jul 2017 19:15:51.1227 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1716 Subject: [dpdk-dev] [PATCH v2 19/34] app/testeventdev: perf: add test setup and destroy 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:15:56 -0000 perf test has the queue and all types queue variants. Introduce test_perf_common* to share the common code between those tests. Signed-off-by: Jerin Jacob Acked-by: Harry van Haaren --- app/test-eventdev/Makefile | 2 + app/test-eventdev/test_perf_common.c | 71 +++++++++++++++++++++++++++++ app/test-eventdev/test_perf_common.h | 88 ++++++++++++++++++++++++++++++++++++ 3 files changed, 161 insertions(+) create mode 100644 app/test-eventdev/test_perf_common.c create mode 100644 app/test-eventdev/test_perf_common.h diff --git a/app/test-eventdev/Makefile b/app/test-eventdev/Makefile index 93c36e510..242d3eeac 100644 --- a/app/test-eventdev/Makefile +++ b/app/test-eventdev/Makefile @@ -47,4 +47,6 @@ SRCS-y += test_order_common.c SRCS-y += test_order_queue.c SRCS-y += test_order_atq.c +SRCS-y += test_perf_common.c + include $(RTE_SDK)/mk/rte.app.mk diff --git a/app/test-eventdev/test_perf_common.c b/app/test-eventdev/test_perf_common.c new file mode 100644 index 000000000..d95eb6252 --- /dev/null +++ b/app/test-eventdev/test_perf_common.c @@ -0,0 +1,71 @@ +/* + * 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 networks 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" + + +int +perf_test_setup(struct evt_test *test, struct evt_options *opt) +{ + void *test_perf; + + test_perf = rte_zmalloc_socket(test->name, sizeof(struct test_perf), + RTE_CACHE_LINE_SIZE, opt->socket_id); + if (test_perf == NULL) { + evt_err("failed to allocate test_perf memory"); + goto nomem; + } + test->test_priv = test_perf; + + struct test_perf *t = evt_test_priv(test); + + t->outstand_pkts = opt->nb_pkts * evt_nr_active_lcores(opt->plcores); + t->nb_workers = evt_nr_active_lcores(opt->wlcores); + t->done = false; + t->nb_pkts = opt->nb_pkts; + t->nb_flows = opt->nb_flows; + t->result = EVT_TEST_FAILED; + t->opt = opt; + memcpy(t->sched_type_list, opt->sched_type_list, + sizeof(opt->sched_type_list)); + return 0; +nomem: + return -ENOMEM; +} + +void +perf_test_destroy(struct evt_test *test, struct evt_options *opt) +{ + RTE_SET_USED(opt); + + rte_free(test->test_priv); +} diff --git a/app/test-eventdev/test_perf_common.h b/app/test-eventdev/test_perf_common.h new file mode 100644 index 000000000..ab5c082f5 --- /dev/null +++ b/app/test-eventdev/test_perf_common.h @@ -0,0 +1,88 @@ +/* + * 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 networks 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. + */ + +#ifndef _TEST_PERF_COMMON_ +#define _TEST_PERF_COMMON_ + +#include +#include +#include + +#include +#include +#include +#include +#include +#include + +#include "evt_common.h" +#include "evt_options.h" +#include "evt_test.h" + +struct test_perf; + +struct worker_data { + uint64_t processed_pkts; + uint64_t latency; + uint8_t dev_id; + uint8_t port_id; + struct test_perf *t; +} __rte_cache_aligned; + +struct prod_data { + uint8_t dev_id; + uint8_t port_id; + uint8_t queue_id; + struct test_perf *t; +} __rte_cache_aligned; + +struct test_perf { + /* Don't change the offset of "done". Signal handler use this memory + * to terminate all lcores work. + */ + int done; + uint64_t outstand_pkts; + uint8_t nb_workers; + enum evt_test_result result; + uint32_t nb_flows; + uint64_t nb_pkts; + struct rte_mempool *pool; + struct prod_data prod[EVT_MAX_PORTS]; + struct worker_data worker[EVT_MAX_PORTS]; + struct evt_options *opt; + uint8_t sched_type_list[EVT_MAX_STAGES] __rte_cache_aligned; +} __rte_cache_aligned; + +int perf_test_setup(struct evt_test *test, struct evt_options *opt); +void perf_test_destroy(struct evt_test *test, struct evt_options *opt); + +#endif /* _TEST_PERF_COMMON_ */ -- 2.13.2