From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id EAD7FB398 for ; Mon, 1 Sep 2014 11:17:43 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 01 Sep 2014 02:16:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.04,441,1406617200"; d="scan'208";a="596163577" Received: from irsmsx101.ger.corp.intel.com ([163.33.3.153]) by orsmga002.jf.intel.com with ESMTP; 01 Sep 2014 02:22:08 -0700 Received: from irsmsx152.ger.corp.intel.com (163.33.192.66) by IRSMSX101.ger.corp.intel.com (163.33.3.153) with Microsoft SMTP Server (TLS) id 14.3.195.1; Mon, 1 Sep 2014 10:22:08 +0100 Received: from irsmsx103.ger.corp.intel.com ([169.254.3.112]) by IRSMSX152.ger.corp.intel.com ([169.254.6.48]) with mapi id 14.03.0195.001; Mon, 1 Sep 2014 10:22:08 +0100 From: "Richardson, Bruce" To: "Zhang, Jerry" , Anand S Angadi , "dev@dpdk.org" Thread-Topic: [dpdk-dev] reg : adding grub entry with hugepages. Thread-Index: AQHPxcEcHqwkja41L0e25rYmCujlVJvr570AgAAYgKA= Date: Mon, 1 Sep 2014 09:22:07 +0000 Message-ID: <59AF69C657FD0841A61C55336867B5B0343ED95A@IRSMSX103.ger.corp.intel.com> References: <54040572.5090002@globaledgesoft.com> <540431E5.2070909@globaledgesoft.com> In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] reg : adding grub entry with hugepages. X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Sep 2014 09:17:44 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Zhang, Jerry > Sent: Monday, September 01, 2014 9:52 AM > To: Anand S Angadi; dev@dpdk.org > Subject: Re: [dpdk-dev] reg : adding grub entry with hugepages. >=20 > Hi, >=20 > Here is an example to enable both 1G and 2M in kernel parameters. >=20 > default_hugepagesz=3D1G hugepagesz=3D1G hugepages=3D8 hugepagesz=3D2M > hugepages=3D512 Just FYI: the default_hugepagesz part is not necessary, so I'd generally le= ave it out and let the system default be 2MB as normal. You can always get = a hugetlbfs mount of a particular hugepage size by passing the pagesize=3D = parameter when doing the mount. /Bruce