[dpdk-dev] reg : adding grub entry with hugepages.

Anand S Angadi as.anand at globaledgesoft.com
Mon Sep 1 11:26:35 CEST 2014


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



More information about the dev mailing list