DPDK usage discussions
 help / color / mirror / Atom feed
From: David Aldrich <david.aldrich.ntml@gmail.com>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: users <users@dpdk.org>
Subject: Re: Help needed with hugepages
Date: Wed, 23 Oct 2024 18:09:18 +0100	[thread overview]
Message-ID: <CAJK_ieiOMVPkv5cfjDcSHse4MnZs7rQx8n7c8FTN52Uxg7P=cQ@mail.gmail.com> (raw)
In-Reply-To: <20241023095454.459bd52b@hermes.local>

Thanks for your help.

On Wed, Oct 23, 2024 at 5:54 PM Stephen Hemminger
<stephen@networkplumber.org> wrote:
>
> On Wed, 23 Oct 2024 17:51:28 +0100
> David Aldrich <david.aldrich.ntml@gmail.com> wrote:
>
> > I guess it is because the huge pages are not mounted. Is mounting
> > required if using kernel parameters to specify the sizes?
> >
> > On Wed, Oct 23, 2024 at 5:47 PM David Aldrich
> > <david.aldrich.ntml@gmail.com> wrote:
> > >
> > > On Wed, Oct 23, 2024 at 4:39 PM Stephen Hemminger
> > > <stephen@networkplumber.org> wrote:
> > > >
> > > > On Wed, 23 Oct 2024 16:04:06 +0100
> > > > David Aldrich <david.aldrich.ntml@gmail.com> wrote:
> > > >
> > > > > Hi, we are running on Ubuntu 24.04. The kernel parameters include:
> > > > >
> > > > > default_hugepagesz=1G hugepagesz=1G hugepages=25 hugepagesz=2M hugepages=1024
> > > > >
> > > >
> > > > Maybe mixing hugepage sizes can cause confusion?
> > > >
> > > > Did you try using dpdk-hugepages script?
> > >
> > > Thanks. The script shows:
> > >
> > > $ dpdk-hugepages.py -s
> > > Node Pages Size Total
> > > 0    1024  2Mb    2Gb
> > > 0    25    1Gb    25Gb
> > >
> > > So that looks correct.
>
> The DPDK uses the mounted huge pages to find/use them.
>
>
> https://edc.intel.com/content/www/us/en/design/products/ethernet/config-guide-e810-dpdk/hugepages-setup/

      reply	other threads:[~2024-10-23 17:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-23 15:04 David Aldrich
2024-10-23 15:39 ` Stephen Hemminger
2024-10-23 16:47   ` David Aldrich
2024-10-23 16:51     ` David Aldrich
2024-10-23 16:54       ` Stephen Hemminger
2024-10-23 17:09         ` David Aldrich [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='CAJK_ieiOMVPkv5cfjDcSHse4MnZs7rQx8n7c8FTN52Uxg7P=cQ@mail.gmail.com' \
    --to=david.aldrich.ntml@gmail.com \
    --cc=stephen@networkplumber.org \
    --cc=users@dpdk.org \
    /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).