From patchwork Wed Sep 14 08:53:07 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: 76152 Delivered-To: patch@linaro.org Received: by 10.140.106.72 with SMTP id d66csp1766505qgf; Wed, 14 Sep 2016 01:58:06 -0700 (PDT) X-Received: by 10.55.22.22 with SMTP id g22mr1483843qkh.267.1473843486629; Wed, 14 Sep 2016 01:58:06 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id m63si2421152qkb.20.2016.09.14.01.58.05; Wed, 14 Sep 2016 01:58:06 -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 63ECB60890; Wed, 14 Sep 2016 08:58:05 +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_H2, 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 94BC7609D7; Wed, 14 Sep 2016 08:57:57 +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 46916607D0; Wed, 14 Sep 2016 08:57:52 +0000 (UTC) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0102.outbound.protection.outlook.com [104.47.1.102]) by lists.linaro.org (Postfix) with ESMTPS id 4406061233 for ; Wed, 14 Sep 2016 08:53:21 +0000 (UTC) Received: from VI1PR07CA0006.eurprd07.prod.outlook.com (10.163.160.144) by DB5PR07MB1080.eurprd07.prod.outlook.com (10.163.103.146) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.609.9; Wed, 14 Sep 2016 08:53:16 +0000 Received: from DB3FFO11FD010.protection.gbl (2a01:111:f400:7e04::172) by VI1PR07CA0006.outlook.office365.com (2a01:111:e400:533d::16) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.619.10 via Frontend Transport; Wed, 14 Sep 2016 08:53:16 +0000 Received-SPF: Pass (protection.outlook.com: domain of nokia.com designates 131.228.2.241 as permitted sender) receiver=protection.outlook.com; client-ip=131.228.2.241; helo=fihe3nok0735.emea.nsn-net.net; Received: from fihe3nok0735.emea.nsn-net.net (131.228.2.241) 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.619.6 via Frontend Transport; Wed, 14 Sep 2016 08:53:15 +0000 Received: from fihe3nok0735.emea.nsn-net.net (localhost [127.0.0.1]) by fihe3nok0735.emea.nsn-net.net (8.14.9/8.14.5) with ESMTP id u8E8r725028583 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 14 Sep 2016 11:53:07 +0300 Received: from 10.144.19.15 ([10.144.104.92]) by fihe3nok0735.emea.nsn-net.net (8.14.9/8.14.5) with ESMTP id u8E8r7xH028564 (version=TLSv1/SSLv3 cipher=AES128-SHA256 bits=128 verify=NOT) for ; Wed, 14 Sep 2016 11:53:07 +0300 X-HPESVCS-Source-Ip: 10.144.104.92 From: Matias Elo To: Date: Wed, 14 Sep 2016 11:53:07 +0300 Message-ID: <1473843187-25588-2-git-send-email-matias.elo@nokia.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1473843187-25588-1-git-send-email-matias.elo@nokia.com> References: <1473843187-25588-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.241; IPV:NLI; CTRY:FI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(7916002)(2980300002)(438002)(189002)(199003)(229853001)(5660300001)(77096005)(16796002)(19580395003)(586003)(81156014)(2906002)(81166006)(19580405001)(8676002)(87936001)(47776003)(11100500001)(450100001)(2950100001)(36756003)(110136003)(50466002)(5003940100001)(356003)(68736007)(48376002)(107886002)(7846002)(97736004)(2351001)(33646002)(189998001)(50986999)(76176999)(92566002)(8936002)(106466001)(626004)(50226002)(305945005)(42882005); DIR:OUT; SFP:1102; SCL:1; SRVR:DB5PR07MB1080; H:fihe3nok0735.emea.nsn-net.net; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; DB3FFO11FD010; 1:+3Uo9HUinb4lplV9KZGFSOijt3G6d2+VVxIVg/EHM4qI+iqkLUE0c9qfsy9z04ai6+mEd53HrmSKohXqhZNxU7EyFnnhWXvh0MOt2SQO+gs1NJecs9KCa1PX00dyz7ONrVO0czoiImbA2XyhjSmfvC/U7gngdi4ee84PdXvD4l4BlwWPgeBRkSjpZXSL1Cx1MJsDd0q90myBjOZ7Qk8MwwFRlNkuCVkif+jYtqZy0RoiryNKMepqy3gNdJMWNCVzO/Q5c7FBxgLdN+Wg1bnd/zdjrPZexTwCqlA2IJEyBFEVh1YfpOla86qYlTmtsdv0huuCXjqnQRtFkVf6UONyXKLO5njxscUPNM4+wwap7DXLKRutfv0JEEBgDBLrYucSBmqrbWtjOo0FMfb6F/AYlsAxCWM5dHmnpFbx9be8ikZfBs2cn0VPCw2R4GO2Ig403FWVdsPshatiM+gsWDFX5QY+FVrOh3DLK5WxBjnc1R4= MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 064b7904-d549-4e1b-6ec4-08d3dc7c9155 X-Microsoft-Exchange-Diagnostics: 1; DB5PR07MB1080; 2:v+hC2fYEdY07hZFWQLxHxAR6rpzVk53IPa1N6pi8Qd4t7eEAtfaBBpMPrkN9lJeTHS6Oiyn5YBS66JL24EtVQL5nQquMeqpjz+3hUOFcqeKhSdkuDCZF9XaxckL5yCudcdFbQNositbv+8JPDZQtTA2Uw8iCSFijwYR1RkTWM6gT2MqYhrgJ+RaLEzNBvFcu; 3:9h/mlFCwv/OzuBb5cycn9cWzNKBiwYfVqxkMwjUe49iTlRXaRRRjgNfmxMdtfqOcDF+wBNFQkOUpvTVPAJ2TPMcHVXW34rSKlKG0WQH1q8Ld3bxGBlkuEzqmGt6f+9Ge2CluFsgRGhnyg/p5349Pt16Gd2mJtkKw3Stp32rD0cpHIhLGTb2TTuG6AJRiNFFgsXU5XC1kY6UGua464JfUG8wSFjeM0AXi8qNna6Gs9ssE1hPQeytkAiMZjV9Z3k4vYbJKWzrgKKpo5esyVALpZg== X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(8251501002); SRVR:DB5PR07MB1080; X-Microsoft-Exchange-Diagnostics: 1; DB5PR07MB1080; 25:KconGX/D9YW3EobiqO/bASrofrNQNVKFmVtykSwSeRNtVDqtEZS7s7c96ILFFhaDbyxqA4y8UZGrUFYnPxRybdJXlDmjIzwAP//aYsH2V7+kPAYO7x8l3R4ZNCImv5yYQGAG5AiqWcYDUmLWbcN14s9CGUhiro/H950tONF8bLZyoED9fSRI3gIoh+oAtqiJqlVS8ZQRl0/akBmlr1oB6ipyrLCQxEdOmM5Ym8WUO8u4tc8wxApwLF/CdewEHSUxICzzAG9es+zj61APkupTw8obB3Maqj/qPZ6uAmBAE2jiN9Q7mhWTWPuTvAtoiMjVHgfO3J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aj7p4by9C+zxSWgNMbExzRaE3+Fz4a43+tMK8GdzMsJ9is4RgzhBPq7ti4r6d9MJyjKcqvQrLoxCUrC9BpCz0bpFVY+KalASElOptwvLq48/rqiUY683DKs9YV18ROdNMTZSkMwo4w3tuGgePmeEc5AERfh4Oi64ccm6v7PYx6Ln2yU3D1bgjZvA3vP846h2xrSMm1LfMu69V4XVwEQGY8XW2foQo/V/9Bb+8EBfn0Tu0e5HebvBiu12KQtYuGdiLIcNThk= 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)(13016025)(13018025)(8121501046)(5005006)(10201501046)(3002001)(6055026); SRVR:DB5PR07MB1080; BCL:0; PCL:0; RULEID:; SRVR:DB5PR07MB1080; X-Microsoft-Exchange-Diagnostics: 1; DB5PR07MB1080; 4:X+2S5UTRDVSQDPkv1xRM+uNc1W9dS18NUDVatDOlNsfTYFTKRJNmc0rnuUP5CuuipQwOk5KrHmNyvTwXzoq89Mhtyshx0i3LkKZ1jVQGbSpeTkA7NgapmarYOh/0a3UZk38Vfzkbl46XTWvWXsI/W7sZJkETo54QNgdzpW5o9vNFuTXfjMAX3LXZC4MncZ1L5hg8ukSIrXRaqoWyRcal1PHMqXq6EKpWDDa1Zs8js1YS5QRT0n04fHcG7sxs1HZUKJt+r3nU54hk6hq+9zGPpYXJLDG5mhtvw2e8cJ1Rb9KSJulpgel1DyUb0hcUxOUNmC0j/0/AIh8cWlN+T7pqW1UvIW3cRkVV1wxSO70EU7VOwvSgHp5+a/bZRe6Z8gTAkgHgOQ1X2psanxbnBMLRilnq3g6Fkg0TnybhrxiqzGWXuXffDLrVS7BaXJ01xWLtl8LOeQJoihgKDy7I6+BeWH4+JegFMgFLnB9r89lunWA= X-Forefront-PRVS: 006546F32A X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB5PR07MB1080; 23:LfwlglGeWo2LY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ajtBFP0v3pwzYAOTmMlLkfNB4f4HALGmNRYe+jkqpoJO23J1MjDDXDr2uHAzDC1C7ugcEZ1TqfSp/Fsq8pk/3AnLRE4WUN2xUzAgRAxHcJEXWahuR2pFzu60E6Ijpc4RXSL0z939YeOthDPO1N1oy2GnLW+Xqpl9Fun0I SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nokia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Sep 2016 08:53:15.9850 (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.241]; Helo=[fihe3nok0735.emea.nsn-net.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR07MB1080 X-Topics: patch Subject: [lng-odp] [PATCH v2 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 --- V2: - Exit on first failure (Maxim) test/common_plat/performance/Makefile.am | 1 + .../performance/odp_sched_latency_run.sh | 28 ++++++++++++++++++++++ 2 files changed, 29 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..6048f58 --- /dev/null +++ b/test/common_plat/performance/odp_sched_latency_run.sh @@ -0,0 +1,28 @@ +#!/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)}" +ALL=0 + +run() +{ + echo odp_sched_latency_run starts requesting $1 worker threads + echo =============================================== + + $TEST_DIR/odp_sched_latency${EXEEXT} -c $1 || exit $? +} + +run 1 +run 5 +run 8 +run 11 +run $ALL + +exit 0