From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gesmail.globaledgesoft.com (gesmail.globaledgesoft.com [106.51.250.152]) by dpdk.org (Postfix) with ESMTP id 3634AB3A6 for ; Mon, 1 Sep 2014 11:22:24 +0200 (CEST) Received: from localhost.localdomain (unknown [172.16.7.141]) by gesmail.globaledgesoft.com (Postfix) with ESMTP id 7D7997C80F2; Mon, 1 Sep 2014 14:50:31 +0530 (IST) Message-ID: <54043BCB.1040304@globaledgesoft.com> Date: Mon, 01 Sep 2014 14:56:35 +0530 From: Anand S Angadi User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: Matthew Hall References: <54040572.5090002@globaledgesoft.com> <540431E5.2070909@globaledgesoft.com> <54043630.6020407@globaledgesoft.com> <20140901090619.GA18935@mhcomputing.net> In-Reply-To: <20140901090619.GA18935@mhcomputing.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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:22:24 -0000 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 hugepages 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=2M hugepagesz=2M hugepages=1024" 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 $ -- Thanks & Regards, ANAND