All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dan Siemon <dan@coverfire.com>
To: Xdp <xdp-newbies@vger.kernel.org>
Subject: Umem Questions
Date: Fri, 14 May 2021 10:34:01 -0400	[thread overview]
Message-ID: <c276e6d316beedd47f791aed0453aa181619edaf.camel@coverfire.com> (raw)

I've been trying to work with large Umem areas and have a few questions
. I'd appreciate any help or pointers. If it makes any difference, my
AF_XDP testing is with i40e.

1) I use kernel args to reserve huge pages on boot. The application
mmap call with the huge TLB flag appears to use huge pages as I can see
the count of used huge pages go up (/proc/meminfo). However, the number
of pages used by the umem, as shown in ss output, looks to still be 4k
pages. Are there plans to support huge pages in Umem? How hard would
this be?

2) It looks like there is a limit of 2GB on the maximum Umem size? I've
tried with and without huge pages. Is this fundamental? How hard would
it be to increase this?

For both of these, I'd like to try to help make them happen. If the
kernel side changes are deep or large, it may be beyond me but I can
offer lab equipment and testing.

Thanks.


             reply	other threads:[~2021-05-14 14:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-14 14:34 Dan Siemon [this message]
2021-05-17  8:21 ` Umem Questions Magnus Karlsson
2021-05-19 21:09   ` Dan Siemon
2021-05-20  6:14     ` Magnus Karlsson
2021-05-20 12:40       ` Magnus Karlsson
2021-05-20 12:50         ` Magnus Karlsson
2021-05-21 18:17           ` Dan Siemon

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=c276e6d316beedd47f791aed0453aa181619edaf.camel@coverfire.com \
    --to=dan@coverfire.com \
    --cc=xdp-newbies@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.