test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH] framework dut: set the number of hugepage for arm64 platform
@ 2016-11-10 10:06 Jianbo Liu
  2016-11-14  3:01 ` Liu, Yong
  0 siblings, 1 reply; 2+ messages in thread
From: Jianbo Liu @ 2016-11-10 10:06 UTC (permalink / raw)
  To: dts; +Cc: Jianbo Liu

Set this number of hugepages to be 2048.

Signed-off-by: Jianbo Liu <jianbo.liu@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,
-- 
1.9.1

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dts] [PATCH] framework dut: set the number of hugepage for arm64 platform
  2016-11-10 10:06 [dts] [PATCH] framework dut: set the number of hugepage for arm64 platform Jianbo Liu
@ 2016-11-14  3:01 ` Liu, Yong
  0 siblings, 0 replies; 2+ messages in thread
From: Liu, Yong @ 2016-11-14  3:01 UTC (permalink / raw)
  To: Jianbo Liu, dts

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@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,

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-11-14  3:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-10 10:06 [dts] [PATCH] framework dut: set the number of hugepage for arm64 platform Jianbo Liu
2016-11-14  3:01 ` Liu, Yong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).