Message ID | 1486556381-22233-5-git-send-email-petri.savolainen@linaro.org |
---|---|
State | Accepted |
Commit | 0c3ee63ae7b133defa2e74d2573f541d68dae040 |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.182.3.34 with SMTP id 2csp2704627obz; Wed, 8 Feb 2017 04:30:12 -0800 (PST) X-Received: by 10.36.250.201 with SMTP id v192mr16746239ith.43.1486557012617; Wed, 08 Feb 2017 04:30:12 -0800 (PST) Return-Path: <lng-odp-bounces@lists.linaro.org> Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id d11si14640728ioe.165.2017.02.08.04.30.12; Wed, 08 Feb 2017 04:30:12 -0800 (PST) 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 1D6F1634C8; Wed, 8 Feb 2017 12:30:12 +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,URIBL_BLOCKED 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 8C80E634E4; Wed, 8 Feb 2017 12:24: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 44E26634E1; Wed, 8 Feb 2017 12:23:50 +0000 (UTC) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0119.outbound.protection.outlook.com [104.47.1.119]) by lists.linaro.org (Postfix) with ESMTPS id 55555634E5 for <lng-odp@lists.linaro.org>; Wed, 8 Feb 2017 12:19:53 +0000 (UTC) Received: from DB5PR07CA0008.eurprd07.prod.outlook.com (10.167.223.18) by HE1PR07MB1628.eurprd07.prod.outlook.com (10.166.124.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.888.5; Wed, 8 Feb 2017 12:19:51 +0000 Received: from AM1FFO11FD008.protection.gbl (2a01:111:f400:7e00::126) by DB5PR07CA0008.outlook.office365.com (2603:10a6:0:2d::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.888.5 via Frontend Transport; Wed, 8 Feb 2017 12:19:51 +0000 Received-SPF: SoftFail (protection.outlook.com: domain of transitioning linaro.org discourages use of 131.228.2.35 as permitted sender) Received: from hybrid2.ext.net.nokia.com (131.228.2.35) by AM1FFO11FD008.mail.protection.outlook.com (10.174.64.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.888.7 via Frontend Transport; Wed, 8 Feb 2017 12:19:51 +0000 Received: from fihe3nok1348.nsn-intra.net (10.158.36.136) by fihe3nok1346.nsn-intra.net (10.158.36.134) with Microsoft SMTP Server (TLS) id 15.1.466.34; Wed, 8 Feb 2017 14:19:48 +0200 Received: from mailrelay.int.nokia.com (10.130.128.21) by fihe3nok1348.nsn-intra.net (10.158.36.136) with Microsoft SMTP Server (TLS) id 15.1.466.34 via Frontend Transport; Wed, 8 Feb 2017 14:19:47 +0200 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 v18CJg0b027387 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <lng-odp@lists.linaro.org>; Wed, 8 Feb 2017 14:19:42 +0200 Received: from 10.144.19.15 ([10.144.104.219]) by fihe3nok0734.emea.nsn-net.net (8.14.9/8.14.5) with ESMTP id v18CJf6K027358 (version=TLSv1/SSLv3 cipher=AES128-SHA256 bits=128 verify=NOT) for <lng-odp@lists.linaro.org>; Wed, 8 Feb 2017 14:19:42 +0200 X-HPESVCS-Source-Ip: 10.144.104.219 From: Petri Savolainen <petri.savolainen@linaro.org> To: <lng-odp@lists.linaro.org> Date: Wed, 8 Feb 2017 14:19:40 +0200 Message-ID: <1486556381-22233-5-git-send-email-petri.savolainen@linaro.org> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1486556381-22233-1-git-send-email-petri.savolainen@linaro.org> References: <1486556381-22233-1-git-send-email-petri.savolainen@linaro.org> MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:131.228.2.35; IPV:NLI; CTRY:FI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(7916002)(39450400003)(39850400002)(39410400002)(39860400002)(39840400002)(2980300002)(199003)(189002)(50986999)(76176999)(626004)(81156014)(305945005)(5660300001)(5003940100001)(81166006)(6306002)(356003)(68736007)(2906002)(47776003)(8676002)(77096006)(48376002)(53936002)(50466002)(189998001)(97736004)(106466001)(36756003)(2351001)(33646002)(2950100002)(450100001)(6916009)(86362001)(92566002)(50226002)(105596002)(110136004)(8936002)(22756006)(38730400002); DIR:OUT; SFP:1102; SCL:1; SRVR:HE1PR07MB1628; H:hybrid2.ext.net.nokia.com; FPR:; SPF:SoftFail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; AM1FFO11FD008; 1:zJ+rPiK14uXoMSHadAdRsyTXKsoStDNjMeKFDp234w/jTaPTohaJPscuggG/+RfnhMAvNmvt9+2sWHpUFJyp2McKIchr6UvXVoGh/Bf6SMtwd9wZifpl40lnu4HFrDIg9Vsw9vjIpYXpXgtYoFqeODg6aawuExkPmrOE98UYiDXAmO/YfpYt4zhN1MWlzd1JgEyWAIlsMnkKVPZq/jOW7R/6TZTE4SJXkZkaVIkZJ2pPu6PwvThKOqA2KPXA8/U2/rdvaKjGdtPJTyHN6oCI/haTaunrNSvmJRSiS2y4iaHSK1gFmAM1YERMulgJKMsCujaVcLC7IQZrvwe3VScNazASi3vzEtcfnXzCKQNT8ubIwQMdWmQacxmBB2kEU0SaVaOJZp5ZfiEoMLiSOTWkhbbii5s2ijSPs3JW0LI/YKYW3zceXcfSYugF2gSDNFOquZfq6AZLH3ILpbG4VCKEPO5E9bJWHNZimARg4WpIwecMuAwZJHPF64yR/g41ao0rN6KF3GD98hX2KtBOnN3sxw== X-MS-Office365-Filtering-Correlation-Id: 83a31468-dcc2-4d37-feea-08d4501cc80b X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:HE1PR07MB1628; X-Microsoft-Exchange-Diagnostics: 1; HE1PR07MB1628; 3:tEeSYxMuYAtjChGCLjGAjhvd6TthFclohJNVWt3kMaobDJFM1tV+fEUwWL3kx9fhzCboBOT4bENoUbTCM1QhfIVJxaFxPQX9lKJlbMYv76B1VmL6txgOPAP2x0CkDMn2lvw9VUGa2dlPKO1EZbXw+aKbhka8K3NZTdgLZ7yc/FqewlkD4llzlGCh1uWB4o0AW9PQGh78rSdnjAJh2eFFoclGP+Zi/ImjHwCKev+FzQS39AHjmM+3pGXci/C2EXvnnHGBrH9uVMJxJCedSt5RVR2/dVgwq/5e0cihazpdOj1Q8O1PwrFXZRHB7KBGcvuZLmfcP7IaG3r+STPGGOeHLNqVmYto4dKIvdgsQJc92+YscePq0ICoN5RwPX0OXBn0; 25:pTHDqneIhWADtaq/0xmBMHgDLug2jgkuYK0upyS/x087KW9S5H7p/ZPyaAlywGtlqkKApwkggaKkHEOsbJ+7wZNJNd2xXDwQcila9xQwYxax1Jn7cqwuEYayZJeGBxXPk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kMf49HUywAQUSNyOpmX12M4Y/eAxM4Cxq94OQC9xL9d5j7ObaCou6fK1Sama/dIlHoHWeEU3fpyUDoEnX+iMlAxPOnBXtvYp8Tm0m1RQPuDcRNyoVxuxWDa6kTs114gUD4Ijph9bdqGYOat8WhGQS/yLnKVNWw6OFkj9L0kGRER1zqyvh9i3CwrBjmoajaVViGbSdGPczCU= X-Microsoft-Antispam-PRVS: <HE1PR07MB16280653CE0BCCC2FFBABEFCE7420@HE1PR07MB1628.eurprd07.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(13016025)(13018025)(2017020702029)(20170203043)(8121501046)(3002001)(10201501046)(6055026)(6041248)(20161123562025)(20161123564025)(20161123555025)(20161123558025)(20161123560025)(6072148); SRVR:HE1PR07MB1628; BCL:0; PCL:0; RULEID:; SRVR:HE1PR07MB1628; X-Microsoft-Exchange-Diagnostics: 1; HE1PR07MB1628; 4:wqD/zDuJ/YNM07GwNkSsvVNYq6WA54mWS7hFNh76C/7ahfHL2zUNBPF+lG1YnulnrWLsujLGJbrAa0rQzyZtqPFSa+1X1bkVjQOQZNZtrXsuLnVGICAVKUdHVws38R0jZSqetzg0q9XFk5rbd/eRMPBzs8WVSaJXRingXq1f5a5N10Xx5GFpOSmxJMHRiB/RAfp35/ltgF/k//wgr0JD9ZlSlvcmCfSedmWZuLMMKw0OE/rqlc3oZGk4baf/nrkqGqvTktJQCDbXbovwgmjjKgcaw0e60nE8Q/Et7m45rKVz3rIF5ZKEz8PhYKW0o3VRht3/ROMi9sLo7vQafwuAgDk5JJ5DSd4ZSzzsBImpgeqOUEfrpfM8wGK0N7MuEUjH628VUw28TbKdBEnFfFLF8WK3AxS125oCGoQ6HzAhB7+QRUh+68FITpXWQxYl9GeAiXsTEhVAfN9SYc0XDPB339s5UiX87h+eirke0MVqoSAB9zw7DVjhFr9v3qR63BNdXhZPYfD6sejNy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ZNTeS4gDkumbZXLeV5dY+g= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; HE1PR07MB1628; 7:KoO32I6+wiB9Wuy58JpeE7PSbp7PxQO9PJLqJolGxcyFXz1iejpbmUSjBuEvV6thBv/xpoLRho4GaQhbZNcBAOj4Kn7b5Xk6i+JdPNP49clHS+4bGFk9Yyjz7/PJHHoNNQi1XWWrUjCMNOMTKzF1kTyGcQIX/l9L6JH81u+F3gjvjGSik2tgecTvfsOweXjho/O0dObChqTcOB7RQv331O6jcJSNGIe8Jci9i+xlmUPP/D8sCWdMEaWgiQQfXJsDDvDSNwApRxPGkbVOsBPk2QoPGKyOyvlrPfp0H5GNg5/aJK0Uw2OqxgJJLgxFw1bPh1sJC1AJTPEV4ZGMkjfur9oJ6oH5C6AcnKeZ7Cbv/gaabPOXka1zghqGK/EWvC9S8XMB6T0SbOQrfF86MxsERK9Y7XgSN198nLBMebohbzyrbGbqMGNTP0+1jgVJvO0q99uqpWJhai6FEaN2nzC3jL4Au/Qn/1I+og0Vb1OVduyt9PWxhjrjN4/0q6flaRXgdc9Pj2KFNzZ5AvXNRvim7g== X-OriginatorOrg: nokia.onmicrosoft.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Feb 2017 12:19:51.0838 (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.35]; Helo=[hybrid2.ext.net.nokia.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR07MB1628 Subject: [lng-odp] [PATCH 4/5] test: l2fwd script: limit number of generator cpus X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" <lng-odp.lists.linaro.org> List-Unsubscribe: <https://lists.linaro.org/mailman/options/lng-odp>, <mailto:lng-odp-request@lists.linaro.org?subject=unsubscribe> List-Archive: <http://lists.linaro.org/pipermail/lng-odp/> List-Post: <mailto:lng-odp@lists.linaro.org> List-Help: <mailto:lng-odp-request@lists.linaro.org?subject=help> List-Subscribe: <https://lists.linaro.org/mailman/listinfo/lng-odp>, <mailto:lng-odp-request@lists.linaro.org?subject=subscribe> Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" <lng-odp-bounces@lists.linaro.org> |
Series |
Packet test fixes
|
expand
|
diff --git a/test/common_plat/performance/odp_l2fwd_run.sh b/test/common_plat/performance/odp_l2fwd_run.sh index 757cf53..dd42ede 100755 --- a/test/common_plat/performance/odp_l2fwd_run.sh +++ b/test/common_plat/performance/odp_l2fwd_run.sh @@ -66,12 +66,14 @@ run_l2fwd() exit 1 fi - #@todo: limit odp_generator to cores - #https://bugs.linaro.org/show_bug.cgi?id=1398 + # Max 4 workers + # @todo: ensure that generator and l2fwd workers are not allocated to + # the same CPUs (odp_generator${EXEEXT} --interval $FLOOD_MODE -I $IF0 \ --srcip 192.168.0.1 --dstip 192.168.0.2 \ - -m u 2>&1 > /dev/null) \ + -m u -w 4 2>&1 > /dev/null) \ 2>&1 > /dev/null & + GEN_PID=$! # this just turns off output buffering so that you still get periodic @@ -82,6 +84,8 @@ run_l2fwd() STDBUF= fi LOG=odp_l2fwd_tmp.log + + # Max 2 workers $STDBUF odp_l2fwd${EXEEXT} -i $IF1,$IF2 -m 0 -t 30 -c 2 | tee $LOG ret=$?
During 'make check' run generator on up to four cpus. Generator on all cpus was an overkill compared to l2fwd on two cpus. Generator and l2fwd still share cpus (on odp-linux) as cpumask_default_worker() returns the same cpumask for both. Signed-off-by: Petri Savolainen <petri.savolainen@linaro.org> --- test/common_plat/performance/odp_l2fwd_run.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) -- 2.8.1