From patchwork Wed Oct 19 14:30:13 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Milard X-Patchwork-Id: 78260 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp278966qge; Wed, 19 Oct 2016 07:30:53 -0700 (PDT) X-Received: by 10.55.105.130 with SMTP id e124mr6822331qkc.278.1476887453365; Wed, 19 Oct 2016 07:30:53 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id n88si24494785qkl.10.2016.10.19.07.30.52; Wed, 19 Oct 2016 07:30:53 -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 A8889616DE; Wed, 19 Oct 2016 14:30:52 +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 70216616D5; Wed, 19 Oct 2016 14:30:49 +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 39A99616D7; Wed, 19 Oct 2016 14:30:48 +0000 (UTC) Received: from mail-lf0-f50.google.com (mail-lf0-f50.google.com [209.85.215.50]) by lists.linaro.org (Postfix) with ESMTPS id 3EC94616C0 for ; Wed, 19 Oct 2016 14:30:42 +0000 (UTC) Received: by mail-lf0-f50.google.com with SMTP id b75so26303488lfg.3 for ; Wed, 19 Oct 2016 07:30:42 -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=DYomGdM/V23QNbIdC4iUCnHxsU0/ofy1IZHVfyJHoZ0=; b=jglS30KACw1ehWfrspyafgErPPdu2BDFg7sBKu1dSrR5yDKlOvIVgIMT4vkQ9HzYg5 Ck27OPGrRKg+Va98t+US7aLI0cqVmryDB8hWc639rePt9+UEsXyZPaNdgMZvphSZtpvr aBRg8TYGVdrIYX/ZGI7EsFgIjY1ZoNoCHe+t5pH+C6yW5nzgh514h+XWDwv9nrrvUzYv JHkAU8UCGwo3jB2dimwhuPPU/PsyAuoa5CWyWKSkTZ+ZP7sjmUfwY/Xpa9QxCcJCsLcl NCALB/HGWKdAtnMdWZgwVGJp/j8E8JPDLIi6+ujyOkYTOqXSBUDsYP8ejfKWm9+Xo19Q yhZQ== X-Gm-Message-State: AA6/9Rn92YTJL4xJicCK+9vXkpQ7/KWQUCm4g6bH3p4ejShWek/eQCl7ltRbA56crFGHXhUt20g= X-Received: by 10.25.29.82 with SMTP id d79mr3196274lfd.52.1476887438587; Wed, 19 Oct 2016 07:30:38 -0700 (PDT) Received: from localhost.localdomain (c-83-233-76-66.cust.bredband2.com. [83.233.76.66]) by smtp.gmail.com with ESMTPSA id f198sm10805088lfe.10.2016.10.19.07.30.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 19 Oct 2016 07:30:37 -0700 (PDT) From: Christophe Milard To: bill.fischofer@linaro.org, matias.elo@nokia-bell-labs.com, lng-odp@lists.linaro.org Date: Wed, 19 Oct 2016 16:30:13 +0200 Message-Id: <1476887413-15272-1-git-send-email-christophe.milard@linaro.org> X-Mailer: git-send-email 2.7.4 X-Topics: patch Subject: [lng-odp] [API-NEXT PATCH] test: drv: shm: decrease test memory requirement 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" The memory consumption is proporsional to the number of ODP threads available. The test failed on systems with large number of CPU, due to outage ot pre-allocaed address space. This patch shrinks the test requirement. Signed-off-by: Christophe Milard --- test/common_plat/validation/drv/drvshmem/drvshmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 diff --git a/test/common_plat/validation/drv/drvshmem/drvshmem.c b/test/common_plat/validation/drv/drvshmem/drvshmem.c index 5e6d2e5..559c55d 100644 --- a/test/common_plat/validation/drv/drvshmem/drvshmem.c +++ b/test/common_plat/validation/drv/drvshmem/drvshmem.c @@ -16,7 +16,7 @@ #define TEST_SHARE_BAR (0xf0f0f0f) #define SMALL_MEM 10 #define MEDIUM_MEM 4096 -#define BIG_MEM 16777216 +#define BIG_MEM 65536 #define STRESS_SIZE 32 /* power of 2 and <=256 */ #define STRESS_RANDOM_SZ 5 #define STRESS_ITERATION 5000