From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id B664DB3B2 for ; Mon, 1 Sep 2014 11:35:06 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP; 01 Sep 2014 02:39:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,862,1389772800"; d="scan'208";a="379713672" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by FMSMGA003.fm.intel.com with ESMTP; 01 Sep 2014 02:35:02 -0700 Received: from fmsmsx116.amr.corp.intel.com (10.18.116.20) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.195.1; Mon, 1 Sep 2014 02:39:31 -0700 Received: from cdsmsx151.ccr.corp.intel.com (172.17.4.38) by fmsmsx116.amr.corp.intel.com (10.18.116.20) with Microsoft SMTP Server (TLS) id 14.3.195.1; Mon, 1 Sep 2014 02:39:31 -0700 Received: from cdsmsx102.ccr.corp.intel.com ([169.254.2.168]) by CDSMSX151.ccr.corp.intel.com ([169.254.3.145]) with mapi id 14.03.0195.001; Mon, 1 Sep 2014 17:39:29 +0800 From: "Zhang, Jerry" To: Anand S Angadi , Matthew Hall Thread-Topic: [dpdk-dev] reg : adding grub entry with hugepages. Thread-Index: AQHPxcEczNIicneRnUu441/sLyVUlZvr+BOg//99RQCAAAEFgIAABaqAgACJLpA= Date: Mon, 1 Sep 2014 09:39:28 +0000 Message-ID: References: <54040572.5090002@globaledgesoft.com> <540431E5.2070909@globaledgesoft.com> <54043630.6020407@globaledgesoft.com> <20140901090619.GA18935@mhcomputing.net> <54043BCB.1040304@globaledgesoft.com> In-Reply-To: <54043BCB.1040304@globaledgesoft.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.17.6.105] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "dev@dpdk.org" 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:35:07 -0000 >-----Original Message----- >From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Anand S Angadi >Sent: Monday, September 1, 2014 5:27 PM >To: Matthew Hall >Cc: dev@dpdk.org >Subject: Re: [dpdk-dev] reg : adding grub entry with hugepages. > >On 09/01/2014 02:36 PM, Matthew Hall wrote: >> On Mon, Sep 01, 2014 at 02:32:40PM +0530, Anand S Angadi wrote: >>>> Hello everyone, >>>> I am using fedora 16, i want to Add additional Grub entry with hugepag= es >enabled permanently can u tell me how can i add? >>>> and wher can i add? >> Try /etc/default/grub . >> >Hi Matthew, >I added "default_hugepagesz=3D2M hugepagesz=3D2M hugepages=3D1024" and did >reboot. >after i did cat /proc/meminfo but i am not getting Hugepages_total 1024. >the output is as mentioned bellow. > >$cat /proc/meminfo >: >: >: >HardwareCorrupted: 0 kB >AnonHugePages: 43008 kB >HugePages_Total: 0 >HugePages_Free: 0 >HugePages_Rsvd: 0 >HugePages_Surp: 0 >Hugepagesize: 2048 kB >DirectMap4k: 12288 kB >DirectMap2M: 4024320 kB >$ > Make sure current kernel parameters is correct by below command. $cat /proc/cmdline