From: "Richardson, Bruce" <bruce.richardson@intel.com>
To: "Zhang, Jerry" <jerry.zhang@intel.com>,
Anand S Angadi <as.anand@globaledgesoft.com>,
"dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] reg : adding grub entry with hugepages.
Date: Mon, 1 Sep 2014 09:22:07 +0000 [thread overview]
Message-ID: <59AF69C657FD0841A61C55336867B5B0343ED95A@IRSMSX103.ger.corp.intel.com> (raw)
In-Reply-To: <FA09AAB07F084C4DA208D537E2734D2C374A2752@CDSMSX102.ccr.corp.intel.com>
> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Zhang, Jerry
> Sent: Monday, September 01, 2014 9:52 AM
> To: Anand S Angadi; dev@dpdk.org
> Subject: Re: [dpdk-dev] reg : adding grub entry with hugepages.
>
> Hi,
>
> Here is an example to enable both 1G and 2M in kernel parameters.
>
> default_hugepagesz=1G hugepagesz=1G hugepages=8 hugepagesz=2M
> hugepages=512
Just FYI: the default_hugepagesz part is not necessary, so I'd generally leave it out and let the system default be 2MB as normal. You can always get a hugetlbfs mount of a particular hugepage size by passing the pagesize= parameter when doing the mount.
/Bruce
prev parent reply other threads:[~2014-09-01 9:17 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
2014-09-01 9:22 ` Richardson, Bruce [this message]
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=59AF69C657FD0841A61C55336867B5B0343ED95A@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).