From patchwork Fri Aug 26 16:14:06 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 74821 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp437450qga; Fri, 26 Aug 2016 09:14:18 -0700 (PDT) X-Received: by 10.55.5.17 with SMTP id 17mr4180655qkf.279.1472228058354; Fri, 26 Aug 2016 09:14:18 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id j33si14848921qte.53.2016.08.26.09.14.16; Fri, 26 Aug 2016 09:14:18 -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=pass (p=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 3A22160D6A; Fri, 26 Aug 2016 16:14:16 +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=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL 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 35E70609F6; Fri, 26 Aug 2016 16:14:12 +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 35654609F6; Fri, 26 Aug 2016 16:14:10 +0000 (UTC) Received: from mail-qk0-f177.google.com (mail-qk0-f177.google.com [209.85.220.177]) by lists.linaro.org (Postfix) with ESMTPS id 4373B609F6 for ; Fri, 26 Aug 2016 16:14:09 +0000 (UTC) Received: by mail-qk0-f177.google.com with SMTP id t7so81093421qkh.1 for ; Fri, 26 Aug 2016 09:14:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=J3aRp/1o9NEE5/R409xDarB0EPdiFDN+xbNJljCT2J8=; b=LhsdGR+gdcJSpQukzevfo0kuw7xPkrqIPZ1CwWaG9Z89VJRcbkswDDB2BECldvoHip +dN5GtSjS9PoZiAftgqELVltlVfrDwFPF+B7WS5A7Y0CHVSghZKfhswZV7qMogDcj+LA Q3viEtUV83eBgaEL4p/FAiQURTqLTp6oqb5F89qYtIqilBPhcaWEQENQh5tQ6A67RXWT VolYERz58PIHgLdcZ1rBRd1DnUFdciagIQcgGYfsEC7y/kNm2v83pbJJzukdgPEvX6/t Op4ZFB+zMyRolmCImW/ZpqyhruzY7WKn2EtYV9n5OZkBiaYFDWmlAHR3x+gckvIVW9os vUrQ== X-Gm-Message-State: AE9vXwMmfUBVKT5zmqrcE+ZKuYI491RWrQXqkgkeaySanE3dKlJMCJjSehA7r2ZdwaIqzHzq7hc= X-Received: by 10.55.120.195 with SMTP id t186mr4167253qkc.118.1472228048929; Fri, 26 Aug 2016 09:14:08 -0700 (PDT) Received: from localhost (c-98-221-136-245.hsd1.nj.comcast.net. [98.221.136.245]) by smtp.gmail.com with ESMTPSA id v60sm10703760qtd.22.2016.08.26.09.14.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Aug 2016 09:14:08 -0700 (PDT) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Fri, 26 Aug 2016 12:14:06 -0400 Message-Id: <1472228046-9002-1-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.7.4 X-Topics: patch Subject: [lng-odp] [PATCH v2] test: perf: add prime num threads to odp_scheduling 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" A recent bug showed the limitations of using powers of two, add a prime number of threads as a new test case. Signed-off-by: Mike Holmes --- v2 Test with max cores (Maxim) DEPENDENCIES | 4 ++++ test/common_plat/performance/odp_scheduling_run.sh | 3 +++ test/linux-generic/performance/odp_scheduling_run_proc.sh | 3 +++ 3 files changed, 10 insertions(+) -- 2.7.4 Reviewed-by: Bill Fischofer diff --git a/DEPENDENCIES b/DEPENDENCIES index f1f0edd..3c74d6d 100644 --- a/DEPENDENCIES +++ b/DEPENDENCIES @@ -260,3 +260,7 @@ The tested version of doxygen is 1.8.8 To have this tool also check spelling you need codespell. # Debian/Ubuntu #sudo apt install codespell + +7.0 Validation tests + Some tests use nproc to determine how many CPUs are available. + $ apt-get install coreutils diff --git a/test/common_plat/performance/odp_scheduling_run.sh b/test/common_plat/performance/odp_scheduling_run.sh index 755b0c1..d1480dc 100755 --- a/test/common_plat/performance/odp_scheduling_run.sh +++ b/test/common_plat/performance/odp_scheduling_run.sh @@ -20,6 +20,9 @@ run() } run 1 +run 5 run 8 +run 11 +run ${nproc} exit $ret diff --git a/test/linux-generic/performance/odp_scheduling_run_proc.sh b/test/linux-generic/performance/odp_scheduling_run_proc.sh index b3ef26f..591f86f 100755 --- a/test/linux-generic/performance/odp_scheduling_run_proc.sh +++ b/test/linux-generic/performance/odp_scheduling_run_proc.sh @@ -21,6 +21,9 @@ run() } run 1 +run 5 run 8 +run 11 +run ${nproc} exit $ret