From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 7603AC640 for ; Tue, 28 Apr 2015 16:56:48 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP; 28 Apr 2015 07:56:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,664,1422950400"; d="scan'208";a="486717837" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by FMSMGA003.fm.intel.com with ESMTP; 28 Apr 2015 07:56:47 -0700 Received: from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com [10.239.29.90]) by shvmail01.sh.intel.com with ESMTP id t3SEujcg029893; Tue, 28 Apr 2015 22:56:45 +0800 Received: from shecgisg003.sh.intel.com (localhost [127.0.0.1]) by shecgisg003.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id t3SEuhk8006862; Tue, 28 Apr 2015 22:56:45 +0800 Received: (from yliu84x@localhost) by shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id t3SEuhiH006858; Tue, 28 Apr 2015 22:56:43 +0800 From: Yong Liu To: dts@dpdk.org Date: Tue, 28 Apr 2015 22:56:32 +0800 Message-Id: <1430232992-6798-5-git-send-email-yong.liu@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1430232992-6798-1-git-send-email-yong.liu@intel.com> References: <1430232992-6798-1-git-send-email-yong.liu@intel.com> Subject: [dts] [PATCH 4/4] framework: enlarge hugepage number for dpdk2.0 request more memory 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: Tue, 28 Apr 2015 14:56:49 -0000 From: Marvin Liu Signed-off-by: Marvin Liu --- framework/project_dpdk.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/project_dpdk.py b/framework/project_dpdk.py index bc6ccca..8963924 100644 --- a/framework/project_dpdk.py +++ b/framework/project_dpdk.py @@ -354,7 +354,7 @@ class DPDKtester(Tester): total_huge_pages = self.get_total_huge_pages() if total_huge_pages == 0: self.mount_huge_pages() - self.set_huge_pages(1024) + self.set_huge_pages(4096) self.session.copy_file_to("dep/tgen.tgz") self.session.copy_file_to("dep/tclclient.tgz") @@ -387,7 +387,7 @@ class DPDKtester(Tester): hugepages_size = self.send_expect("awk '/Hugepagesize/ {print $2}' /proc/meminfo", "# ") if int(hugepages_size) < (1024 * 1024): - arch_huge_pages = hugepages if hugepages > 0 else 1024 + arch_huge_pages = hugepages if hugepages > 0 else 4096 total_huge_pages = self.get_total_huge_pages() self.mount_huge_pages() -- 1.9.3