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

Richardson, Bruce bruce.richardson at intel.com
Mon Sep 1 11:57:50 CEST 2014


> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Zhang, Jerry
> Sent: Monday, September 01, 2014 10:37 AM
> To: Anand S Angadi
> Cc: dev at dpdk.org
> Subject: Re: [dpdk-dev] reg : adding grub entry with hugepages.
> 
> >> 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?
> >>
> >> --
> >> Thanks & Regards,
> >> ANAND
> >>
> >>
> >>
> >>
> >Hi Zhang,
> >Thank you for your reply, now I am using same thing but i want it permanently
> to
> >add. means after every time reboot i have write again it, please help me.
> 
> You may add this parameter in /etc/default/grub
> 
> GRUB_CMDLINE_LINUX="default_hugepagesz=1G hugepagesz=1G
> hugepages=8 hugepagesz=2M hugepages=512"

Again, please note that after changing the grub defaults you still need to regenerate the grub configuration file, which is generally in /boot (on fedora 20 it's in /boot/grub2/grub.cfg). This is the file actually read at boot time by grub.

/Bruce


More information about the dev mailing list