DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Richardson, Bruce" <bruce.richardson@intel.com>
To: "Zhang, Jerry" <jerry.zhang@intel.com>,
	Anand S Angadi <as.anand@globaledgesoft.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] reg : adding grub entry with hugepages.
Date: Mon, 1 Sep 2014 09:57:50 +0000	[thread overview]
Message-ID: <59AF69C657FD0841A61C55336867B5B0343ED9BF@IRSMSX103.ger.corp.intel.com> (raw)
In-Reply-To: <FA09AAB07F084C4DA208D537E2734D2C374A28BA@CDSMSX102.ccr.corp.intel.com>

> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Zhang, Jerry
> Sent: Monday, September 01, 2014 10:37 AM
> To: Anand S Angadi
> Cc: dev@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

  reply	other threads:[~2014-09-01  9:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <54040572.5090002@globaledgesoft.com>
2014-09-01  8:44 ` Anand S Angadi
2014-09-01  8:52   ` Zhang, Jerry
2014-09-01  9:02     ` Anand S Angadi
2014-09-01  9:06       ` Matthew Hall
2014-09-01  9:19         ` Richardson, Bruce
2014-09-01  9:26         ` Anand S Angadi
2014-09-01  9:39           ` Zhang, Jerry
2014-09-01  9:36       ` Zhang, Jerry
2014-09-01  9:57         ` Richardson, Bruce [this message]
2014-09-01  9:22     ` Richardson, Bruce

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=59AF69C657FD0841A61C55336867B5B0343ED9BF@IRSMSX103.ger.corp.intel.com \
    --to=bruce.richardson@intel.com \
    --cc=as.anand@globaledgesoft.com \
    --cc=dev@dpdk.org \
    --cc=jerry.zhang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).