DPDK usage discussions
 help / color / mirror / Atom feed
From: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
To: Lucas <lucascrijns@gmail.com>
Cc: users@dpdk.org
Subject: Re: Increase DPDK's virtual memory to more than 512 GiB
Date: Thu, 20 Feb 2025 17:55:05 +0300	[thread overview]
Message-ID: <20250220175505.5116b4e0@sovereign> (raw)
In-Reply-To: <CADTTPn8G453gJW4FPWOTU4Z8OvtG2g3fWUi1aexDnBzKkW1ceg@mail.gmail.com>

2025-02-20 15:19 (UTC+0100), Lucas:
> As for the issue, at 550 GB so 252'757'352 MBUFs (using default mbuf buf
> size), it works now, with ring allocation. However, the physical memory
> usage now goes up a lot and I end up swapping. It appears that not all
> memory is in hugepages (not all pages are filled) and that perhaps the
> kernel also allocates more memory. I have 755 GiB RAM available, so 600 GB
> of mempool is pushing it.

How is your system configured to reserve hugepages?
DPDK always allocates hugepages; if none are available, allocation fails.
Hugepages never swap AFAIK.

  reply	other threads:[~2025-02-20 14:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-19 14:22 Lucas
2025-02-19 15:03 ` Stephen Hemminger
2025-02-19 22:28 ` Dmitry Kozlyuk
     [not found]   ` <CADTTPn-zDTotOsCsnkuEQiRDdEfuLGVDo1hmuXetgGLd+TTP6Q@mail.gmail.com>
2025-02-20 11:21     ` Dmitry Kozlyuk
2025-02-20 14:19       ` Lucas
2025-02-20 14:55         ` Dmitry Kozlyuk [this message]
2025-03-03 14:52           ` Lucas
2025-03-03 22:05             ` Dmitry Kozlyuk

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=20250220175505.5116b4e0@sovereign \
    --to=dmitry.kozliuk@gmail.com \
    --cc=lucascrijns@gmail.com \
    --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).