From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 4CD23941E for ; Wed, 6 Jan 2016 04:27:57 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga102.fm.intel.com with ESMTP; 05 Jan 2016 19:27:56 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,527,1444719600"; d="scan'208";a="721008351" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.238.55.12]) by orsmga003.jf.intel.com with ESMTP; 05 Jan 2016 19:27:54 -0800 From: "xu,huilong" To: dts@dpdk.org Date: Wed, 6 Jan 2016 11:23:30 +0800 Message-Id: <1452050611-7029-1-git-send-email-huilongx.xu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1 1/2] set hugepage on socket 0 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: Wed, 06 Jan 2016 03:27:57 -0000 Signed-off-by: xu,huilong --- framework/dut.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/framework/dut.py b/framework/dut.py index fde5071..178c35f 100644 --- a/framework/dut.py +++ b/framework/dut.py @@ -283,7 +283,10 @@ class Dut(Crb): arch_huge_pages = hugepages if hugepages > 0 else 256 if total_huge_pages != arch_huge_pages: - self.set_huge_pages(arch_huge_pages) + # before all hugepage average distribution by all socket, + # but sometimes crete mbuf pool on socket 0 failed when setup testpmd, + # so set all huge page on socket 0 + self.set_huge_pages(arch_huge_pages, 0) self.mount_huge_pages() self.hugepage_path = self.strip_hugepage_path() -- 1.9.3