From: Stephen Hemminger <stephen@networkplumber.org>
To: Patrick Mahan <mahan@mahan.org>
Cc: users@dpdk.org
Subject: Re: Calculating number of HugeTLBs required
Date: Mon, 10 Mar 2025 14:21:40 -0700 [thread overview]
Message-ID: <20250310142140.4841e75b@hermes.local> (raw)
In-Reply-To: <ade50dc2-f9df-4c7d-969f-43bb6c84d29c@mahan.org>
On Tue, 4 Mar 2025 11:22:50 -0800
Patrick Mahan <mahan@mahan.org> wrote:
> Morning,
>
> This might be simple question, but it has my curiosity itching.
>
> I did a quick scan through the documentation, but I did not see any good
> guidelines for determining the number of HugeTLB based on the number of PMDs and
> number of RX/TX queues.
>
> I'm am looking at three different platforms, one has 2 ports (ixgbe), one has 3
> ports (1 e1000 and 2 i40es) and a third has 2 ports (1 e1000 and 1 Cavium liquidIO).
>
> I'm trying to come up with some means of defining the HugeTLB requirements other
> than trial and error.
>
> Thanks,
>
> Patrick
There is on exact way to estimate this. But for most applications the largest memory footprint
is the mbuf pool. For sizing the mbuf pool you need to account for all the NIC's, queues, and descriptor arrays
as well as any internal staging buffers.
next prev parent reply other threads:[~2025-03-10 21:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-04 19:22 Patrick Mahan
2025-03-10 21:21 ` Stephen Hemminger [this message]
2025-03-11 6:01 ` Patrick Mahan
2025-03-11 12:59 ` Igor Gutorov
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=20250310142140.4841e75b@hermes.local \
--to=stephen@networkplumber.org \
--cc=mahan@mahan.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).