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

Jianbo Liu jianbo.liu at linaro.org
Thu Nov 10 11:06:34 CET 2016


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



More information about the dts mailing list