From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anand S Angadi Subject: Re: reg : adding grub entry with hugepages. Date: Mon, 01 Sep 2014 14:56:35 +0530 Message-ID: <54043BCB.1040304@globaledgesoft.com> References: <54040572.5090002@globaledgesoft.com> <540431E5.2070909@globaledgesoft.com> <54043630.6020407@globaledgesoft.com> <20140901090619.GA18935@mhcomputing.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Matthew Hall Return-path: In-Reply-To: <20140901090619.GA18935-Hv3ogNYU3JfZZajBQzqCxQ@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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