From patchwork Tue Sep 6 11:29:27 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Elo, Matias \(Nokia - FI/Espoo\)" X-Patchwork-Id: 75497 Delivered-To: patch@linaro.org Received: by 10.140.106.11 with SMTP id d11csp496293qgf; Tue, 6 Sep 2016 04:30:12 -0700 (PDT) X-Received: by 10.107.16.7 with SMTP id y7mr4700529ioi.7.1473161412637; Tue, 06 Sep 2016 04:30:12 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id e72si5604273ioe.46.2016.09.06.04.30.12; Tue, 06 Sep 2016 04:30:12 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE dis=NONE) header.from=nokia.com Received: by lists.linaro.org (Postfix, from userid 109) id EA39660EA2; Tue, 6 Sep 2016 11:30:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id D022160E9D; Tue, 6 Sep 2016 11:30:01 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 0477760E82; Tue, 6 Sep 2016 11:29:54 +0000 (UTC) Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00120.outbound.protection.outlook.com [40.107.0.120]) by lists.linaro.org (Postfix) with ESMTPS id C6DEE6096E for ; Tue, 6 Sep 2016 11:29:52 +0000 (UTC) Received: from AM3PR07CA0034.eurprd07.prod.outlook.com (10.141.45.162) by VI1PR07MB1086.eurprd07.prod.outlook.com (10.163.168.22) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.587.9; Tue, 6 Sep 2016 11:29:51 +0000 Received: from DB3FFO11FD010.protection.gbl (2a01:111:f400:7e04::161) by AM3PR07CA0034.outlook.office365.com (2a01:111:e400:882c::34) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.609.9 via Frontend Transport; Tue, 6 Sep 2016 11:29:50 +0000 Received-SPF: Pass (protection.outlook.com: domain of nokia.com designates 131.228.2.240 as permitted sender) receiver=protection.outlook.com; client-ip=131.228.2.240; helo=fihe3nok0734.emea.nsn-net.net; Received: from fihe3nok0734.emea.nsn-net.net (131.228.2.240) by DB3FFO11FD010.mail.protection.outlook.com (10.47.216.166) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.587.6 via Frontend Transport; Tue, 6 Sep 2016 11:29:50 +0000 Received: from fihe3nok0734.emea.nsn-net.net (localhost [127.0.0.1]) by fihe3nok0734.emea.nsn-net.net (8.14.9/8.14.5) with ESMTP id u86BTTXx018935 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 6 Sep 2016 14:29:29 +0300 Received: from 10.144.19.15 ([10.144.104.92]) by fihe3nok0734.emea.nsn-net.net (8.14.9/8.14.5) with ESMTP id u86BTTTh018926 (version=TLSv1/SSLv3 cipher=AES128-SHA256 bits=128 verify=NOT) for ; Tue, 6 Sep 2016 14:29:29 +0300 X-HPESVCS-Source-Ip: 10.144.104.92 From: Matias Elo To: Date: Tue, 6 Sep 2016 14:29:27 +0300 Message-ID: <1473161367-28554-2-git-send-email-matias.elo@nokia.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1473161367-28554-1-git-send-email-matias.elo@nokia.com> References: <1473161367-28554-1-git-send-email-matias.elo@nokia.com> X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:131.228.2.240; IPV:NLI; CTRY:FI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(7916002)(2980300002)(438002)(199003)(189002)(16796002)(356003)(50986999)(76176999)(2950100001)(450100001)(77096005)(106466001)(2351001)(229853001)(5660300001)(626004)(68736007)(110136002)(189998001)(7846002)(33646002)(48376002)(305945005)(107886002)(5003940100001)(87936001)(19580405001)(19580395003)(50466002)(2906002)(8936002)(11100500001)(36756003)(81156014)(50226002)(92566002)(97736004)(586003)(81166006)(47776003)(8676002)(42882005); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR07MB1086; H:fihe3nok0734.emea.nsn-net.net; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; DB3FFO11FD010; 1:v/DO10gJdR+cL+YLtcYbO2fu/VUDGoSNAWuuwO2wka8NhYVd2Wuu6RQGnEKG0jr22mP4Gf3ovj8860+/JTyRgG4C8YjFYfqHCKRsTDH+UXNEwg3i92yyvSeF8TKvv4e/ivyblSdvvOkJdfJB3u5I1Q0E4hOKGq00WDJXssN8oB2hujNxrpRP+gePXoXQRSwTz7yni1EH8clITrmCFyM5H3E9naoJ+kjRMDLQhxFPqGZ/iK2vdWKz1FjzdKG8Gb8XdGV40GySGBv2dLB0meQZhmW2MTmFYNE6BnzlhcEj9UZsf6HuHtfux1G60oGJtWm1a8EOVMt+dYw95NZdB/FBtbwXEIgr5FgIPKQEIi+1VvJ4uqt4/Q4X2hTvBV4Zts2w5Yx6zTI3VN7uoSQX3Pv6yR5/GnSpFrzEr0SpRdA9djxYMZdt31eD9iWTVrKraMroSiSthHoFVxc8ceYy8Fe3uy5QG5Q2RrZEoLVQlULsixWoRroPG/9wlUzYzV8nnWtn MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 306d434d-3c09-48a2-fbdf-08d3d6491d8f X-Microsoft-Exchange-Diagnostics: 1; VI1PR07MB1086; 2:t4i8Ub9lpRFImblW8GI7jhO292gn//8raYesHj/tE4bxAO6xs7GFl7tdprnnIb9fIAIAXW7uaTC/p8FliFhCIcnsZcfkBLEI97RGn5L3i/DsOEkVs+BKWeOYzpFEknhdQinTXwWSAUTx2/ZERZBQ846A2ltAb/ZBqrCE1zWwqRMnakl5m0y7WeAlaz3JEF95; 3:A7Ws7J8cv5ixsG1Lt/M2wOvwKUFjG3vi6JUYdHSjTrXB9XahE/hLw99lsbrt1LfOVn1JJ08OqqxTCf3AXxxl4EYLP6g4eTude+3HNxvJ1zyWv6YE7lVmhV8qnkDrrSoMhBHpRqEXAn+0rVTtL5+G0wL8AGIYFxACUDcERnXI3MYQkyhGd7faYQkpqo61If23ohgLijg5kUzZFNJVSVgdLsqQpjAEEE3BJK9B0dFu39ZsHhilaHN3IAbq76Gc16iPZS8CsDjKCA2Dnbl2qevCvw==; 25:5TE7bvs3HJa8OYlW2gafA4zMmTXvN4EOGE8D2J6kaYNgk/wbTUwlPrHb1tFkua+1fn/SkFsDP8DH7J3KIHXdzbppp4udvxfx+kvDIbGwBzj8BRmgB2zU1iv4eKBrts2+OGlvxI5QyC1POoNQ5Zn/isDNm/djT6i23niTEpPoJsk0TnjulAW2ZrgjNCpVydSUET/39IPKgurPZcUUxoYio38sZU7Dj2MDjbXzjJNl0n9HuVv9s42vL8vS2Eqb5Oo9YkB0ibrP19TRSesn/VucWXVp3hjPpYLF3zWdwGG8ta4jK6Z0+uwBDRnoCU2I3TzzhOiGV0tb4irO9txZFGpS4NyTbvZRidATorEMDPd44T5/ayyUI+VFVKF+3dZulk+AEz7ih1usXmulxyp4J0DVMw== X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(8251501002); SRVR:VI1PR07MB1086; X-Microsoft-Exchange-Diagnostics: 1; VI1PR07MB1086; 31:pgh0FszAvOEc4bUFHiAXVkVF9uK0s+BDUtrQ7ca/km9J7rjZMN8FvCpGA0Ah1DR5Kz7LaHikguYGMDntyR0Ou5VOW4AGGQbNahOa9Lx3f4Gsmv4n0meF/P3Td6HrELqjKxIwqmh9HyzDd+hNhEQMWeTml4oKHcOMKmQXRhwH1YUFOaDC3cSeMSQBY3DlSyWiNCBdkJmlIyOA2XIYUedqI7PmWgmuvZ6ihAgGpFZHruQ=; 20:rXHOx4p0KB/HnEfzd8S1uq5dY0kYB7Aq6IwalxYwV75iE+63YRsVxWW7zhdnTRq5iu/s5rIgVFslf58OzKdXAQRRGDpY9KZowMxHO/nRmAJv8Hh191tqPjuhXbRuyfX79ZKq9qyE/Z/NRcx5VpzZ8S86I2NH/9hU3pWDA2qHAHq6zMM5Mddo1Kn86cfzLmixyznDQnT711fHDx5W60r/zPPnn3crIOvtf8IJlDPs8zalC7BkaWSc6YgLIGu5jMx22yvvgzpOc0+SYwqEcwkHi70SXhuarAOfAR+uJbYpLZFZ7TpmHL3hVVOTLqsUKeRV0ig6YiJvhv09Cc5S0H/tnhOv9t85nrDBbtNhDHQtumABUzIEYlt7NckL+ce0atEN0U4QLhMjTjAi0NME2CRsTtYSQkgSF0z6SVMS6+y2sJjBDPx06y1Wj5TGL8v+GoZ4gwzDXPqfxWYVdJuFYHDNZR3HQgCj0nDl1k3B2oLNz8oVe5S/+hAXUC5JvBapM/ZrN9YxN31nn7JYt6gs0DnNSpRA3t4mPMIWTHVO/Er2+swiSWjb/8eA0bi4P8GBxxT9t+AWxmshOitAtSiQPYeyb4H9QaU+MN3PrWEGdKK93Ps= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(82608151540597); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(8121501046)(5005006)(13016025)(13018025)(10201501046)(3002001)(6055026); SRVR:VI1PR07MB1086; BCL:0; PCL:0; RULEID:; SRVR:VI1PR07MB1086; X-Microsoft-Exchange-Diagnostics: 1; VI1PR07MB1086; 4:R26no6oliGtPaTje9V5k8NpF+oJzqDPxsM8BYOXuJCHdFedJt5XZL/1+0WdsQWsRMnCZs/CVnthyCASvr86RbdRj6ptd10t4gMeyeei3/HGdVdtx9VGCTKAyC31iO2PZNYNdbWubOQfbhDoD1hUF7LC3kktma2pCcPwMSTEJTLAQ39dOnLaKixG01jql0sT9bloQyunICFLWpbQMW/TLEyZHMAcVuhyffigkENC8088My/2mikwy+iZGt3ekFXBmJ+SrmGEXLmYmK5ANpVN6/LFQPPlSUO49Wg9j+A3AUePEZk86iYB/+1gy+Omfkdtud//QVIO8QR4NNM1ZrBQ3LpwFbt7ikxZeO73XiISaJg4KNLeq8uTa61hcqXRt1oUw+QmjSLIwyFjZZ4J2vWQ3xqjp756Gs5x7AYtDpM7H0xAVKDUs1VDGERZaRoykFOq57AlU5wv+2PEfEYzr0jKtX0/ItUG6p1p9T8Y7ue+KnlA= X-Forefront-PRVS: 0057EE387C X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR07MB1086; 23:U5DhL4i8sDHFD6xMh41kw/30mCTxNt6ktvGcftGt/?= =?us-ascii?Q?6wf15O91MfY23V7r6EPMdERdfdoiU0sIt1DvpvqNImLlM7XbIFCCvY0wJfGw?= =?us-ascii?Q?1jayfV53PAcokyCxFf6vRAfqF7tqUDm6HOtwTwkUEKaPjCug1FhIIfBq1ZjZ?= =?us-ascii?Q?ah118xpACRyAnBw8PA8W8+wW7f+vc6V2TrM2Q/JT6IherIrGLPL0cuiQGy1Z?= =?us-ascii?Q?bbbBYLs2vSZPde60Va0QZhE0xpuRJ8tIr4SF4xreoEhWa/EhupzsMotpm4tV?= =?us-ascii?Q?lDFnzLV/cmv0m+z5jRj6GlmxFGoHqp2wQWKaD2p93q0ijTAWWINTFiEPQkl+?= =?us-ascii?Q?4dHGA6VGgqinBiY8wg1NtGSSGdx8vz34mxUyI5bM+v/lRdqkQTLzZYNW6kzg?= =?us-ascii?Q?QrLBn89l3NeRdZc+CWRPVbidxUKGalauGQbYuklC1FK1rm7jDHFhzNBPUPYE?= =?us-ascii?Q?ndBRQVKdSqzbkzgP6RLqbRL86kz0doshtOYaFF1GiirDAkyr1JEvxA76UjHb?= =?us-ascii?Q?XlMbfA0Hhzn+baG3kburlufh7T6Bn78GuNDP+aOz5t6UXCVJR2QY1m3F+ulQ?= =?us-ascii?Q?RkjTs2HPj71UG6Szokq2N8r6zv171LglddhNGG+8a+gke4z5h4DfEwmJC1qL?= =?us-ascii?Q?SP1Ae6Oub8MZ5rwPpDFzIh0ltGwErGyEjDUCb3ShBsOa9TQz7IDtzbuZL69X?= =?us-ascii?Q?av3fEmm+sYDYrXooCVEPO/oQ/zS4/tMb63cH7pmbxJL/ijusT7ZUbjCGbgvU?= =?us-ascii?Q?lAwkgqW4hr5JfacIBgkprA1U2R4xJCLMAOHeRGOdPdoIRa3vbkXkoThUTsYu?= =?us-ascii?Q?rYKuM+1hTuzERCh6NbpPJdAc2HsFUFONaAhND1T5KuHMQsjgTyv5jUr7U7ob?= =?us-ascii?Q?l8VcJ1Jo11rTVOKcSBxj2AKk9RpqTU+Y5mJ3PzAQzKbgaiN0fe3ghZbtPcss?= =?us-ascii?Q?634nK9ItgNsTAK4qvVwC6lk+euwQ0LJBJrAdKhvtKk6INQbgHLoImuv6HQNk?= =?us-ascii?Q?XF6KzpDWkpe7zxRtk8u9tjMMTLIXqjq4G4wPLHQLrUf3azvjLi8ww97+ZFb+?= =?us-ascii?Q?SY8o12HEdifYUXG604fkF/ARflU4Zco1xTiixXeghwF9Bv1h9q36cfT2U+6E?= =?us-ascii?Q?dWnsEuJxug=3D?= X-Microsoft-Exchange-Diagnostics: 1; VI1PR07MB1086; 6:lmAu9quXnzxhdI8mjNBcFe6F/pjNYhFrEPBeTvH51ouPXHLJglVeUZHwYR9tUzOZrkIKuGUiwmNF41Nq0IhS2NgOlDhUZ3Oil8kp0Cq4ktABqu26raPB3O5PqesCFdkdlTROG2XQnwslOLdebGFE871c7gB1+dcsMyRi5KwFUCbcn0L0/hIYW8PRSGdatCU5EgA0j7DOTdmrFSgEDfLOqZ6ik7gLyzOT8x/VbpDoSs0ZLa0sQiMUMHVxvww51IYMGqHMJn3NX+TBf/S+FfihukLO5vO/5sKW/fkzf7GOzFwtHdltstDh0fbRTpxFFnTA; 5:SLGWvgFe2AM0VgzVUuA8WW9at7bE9hzqXBCDFrfrgPKOlva0H8RAjUm+SvamnfyeL7o+C6PCbkwtXtcCPlcY1NBW2Owl9L0TwtDK2puebve6F23s/DpMMOT9C1fMdg4WyyiCzzGN0UnAHXUzoTiQKg==; 24:LHojTG9qApHyze6hY3zc4xhtqv8KimwOSM0x1kBi5A4MotxY+F1xd4YPbHtB5+9MG3X2oUz+arRyR5rZoFb6eOSkaVYg+k9BBU9KDo9tYDg=; 7:tcHNuBdRLP7ktPxViKrSEnpAuU1rsZC8FCnX9rokt4ZmEMlB9Vnl0jtyuHGkMp4H6tKLSLxbV+ZfLJJONO4EwN6UqRE83Veib1U7BDGtpuF2qkyC+qacsXsxh7ZwNKRJpoMwtuO8s1jwnHNfIER4KnohdMKdzRhmTlTrrtbTlyhq9QNWl4tQA4aO7KWfNENFPc1GkughLBcGguiS3R9QnzOoDfBrztZKOlLGBGxT3gy9IuU7iRufGhXwUCmgurM/ SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nokia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Sep 2016 11:29:50.4431 (UTC) X-MS-Exchange-CrossTenant-Id: 5d471751-9675-428d-917b-70f44f9630b0 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5d471751-9675-428d-917b-70f44f9630b0; Ip=[131.228.2.240]; Helo=[fihe3nok0734.emea.nsn-net.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR07MB1086 X-Topics: patch Subject: [lng-odp] [PATCH 2/2] test: sched_latency: add test script X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" Signed-off-by: Matias Elo --- test/common_plat/performance/Makefile.am | 1 + .../performance/odp_sched_latency_run.sh | 29 ++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100755 test/common_plat/performance/odp_sched_latency_run.sh -- 2.7.4 diff --git a/test/common_plat/performance/Makefile.am b/test/common_plat/performance/Makefile.am index f5dd8dd..f184609 100644 --- a/test/common_plat/performance/Makefile.am +++ b/test/common_plat/performance/Makefile.am @@ -9,6 +9,7 @@ COMPILE_ONLY = odp_l2fwd$(EXEEXT) \ odp_scheduling$(EXEEXT) TESTSCRIPTS = odp_l2fwd_run.sh \ + odp_sched_latency_run.sh \ odp_scheduling_run.sh TEST_EXTENSIONS = .sh diff --git a/test/common_plat/performance/odp_sched_latency_run.sh b/test/common_plat/performance/odp_sched_latency_run.sh new file mode 100755 index 0000000..f1b288a --- /dev/null +++ b/test/common_plat/performance/odp_sched_latency_run.sh @@ -0,0 +1,29 @@ +#!/bin/sh +# +# Copyright (c) 2016, Linaro Limited +# All rights reserved. +# +# SPDX-License-Identifier: BSD-3-Clause +# +# Script that passes command line arguments to odp_sched_latency test when +# launched by 'make check' + +TEST_DIR="${TEST_DIR:-$(dirname $0)}" +ret=0 +ALL=0 + +run() +{ + echo odp_sched_latency_run starts requesting $1 worker threads + echo =============================================== + + $TEST_DIR/odp_sched_latency${EXEEXT} -c $1 || ret=1 +} + +run 1 +run 5 +run 8 +run 11 +run $ALL + +exit $ret