DPDK patches and discussions
 help / color / mirror / Atom feed
From: Anand S Angadi <as.anand@globaledgesoft.com>
To: Matthew Hall <mhall@mhcomputing.net>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] reg : adding grub entry with hugepages.
Date: Mon, 01 Sep 2014 14:56:35 +0530	[thread overview]
Message-ID: <54043BCB.1040304@globaledgesoft.com> (raw)
In-Reply-To: <20140901090619.GA18935@mhcomputing.net>

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

  parent reply	other threads:[~2014-09-01  9:22 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 [this message]
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

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=54043BCB.1040304@globaledgesoft.com \
    --to=as.anand@globaledgesoft.com \
    --cc=dev@dpdk.org \
    --cc=mhall@mhcomputing.net \
    /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).