From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id E4BA23277 for ; Mon, 14 Nov 2016 04:02:20 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP; 13 Nov 2016 19:02:19 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,488,1473145200"; d="scan'208";a="901031609" Received: from stv-crb-56.sh.intel.com (HELO [10.239.128.116]) ([10.239.128.116]) by orsmga003.jf.intel.com with ESMTP; 13 Nov 2016 19:02:18 -0800 Message-ID: <58292922.2090200@intel.com> Date: Mon, 14 Nov 2016 11:01:54 +0800 From: "Liu, Yong" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Jianbo Liu , dts@dpdk.org References: <1478772394-16534-1-git-send-email-jianbo.liu@linaro.org> In-Reply-To: <1478772394-16534-1-git-send-email-jianbo.liu@linaro.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dts] [PATCH] framework dut: set the number of hugepage for arm64 platform X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Nov 2016 03:02:21 -0000 Thanks Jianbo, applied into master branch. On 11/10/2016 06:06 PM, Jianbo Liu wrote: > Set this number of hugepages to be 2048. > > Signed-off-by: Jianbo Liu > --- > framework/dut.py | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/framework/dut.py b/framework/dut.py > index c96aba7..c8a3fe4 100644 > --- a/framework/dut.py > +++ b/framework/dut.py > @@ -305,6 +305,8 @@ class Dut(Crb): > force_socket = True > elif self.architecture == "ppc_64": > arch_huge_pages = hugepages if hugepages > 0 else 512 > + elif self.architecture == "arm64": > + arch_huge_pages = hugepages if hugepages > 0 else 2048 > > if total_huge_pages != arch_huge_pages: > # before all hugepage average distribution by all socket,