[dts] [PATCH] framework dut: set the number of hugepage for arm64 platform

Liu, Yong yong.liu at intel.com
Mon Nov 14 04:01:54 CET 2016


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 <jianbo.liu at linaro.org>
> ---
>   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,



More information about the dts mailing list