From: Vito Caputo <vcaputo@pengaru.com>
To: Drew DeVault <sir@cmpwn.com>
Cc: io-uring@vger.kernel.org
Subject: Re: Is IORING_REGISTER_BUFFERS useful given the current default RLIMIT_MLOCK?
Date: Mon, 25 Oct 2021 08:42:47 -0700 [thread overview]
Message-ID: <20211025154247.fnw6ec75fmx5tkqy@shells.gnugeneration.com> (raw)
In-Reply-To: <CF8JHZUUYC1O.3DU8635RE8FSX@taiga>
On Mon, Oct 25, 2021 at 03:58:33PM +0200, Drew DeVault wrote:
> The current default for RLIMIT_MLOCK is set to 64 KiB. This is not much!
> This limit was set to this value in 2008 at the request of GnuPG.
>
> I understand that the main audience of io_uring is high-performance
> servers and such, where configuring the rlimits appropriately is not a
> particularly burdensome ask. However, this dramatically limits the
> utility of IORING_REGISTER_BUFFERS in the end-user software use-case,
> almost such that it's entirely pointless *without* raising the mlock
> rlimit.
>
> I wonder if we can/should make a case for raising the default rlimit to
> something more useful for $CURRENTYEAR?
If not for the gpg precedent cited, I'd say it's obviously
distribution-specific defaults choice territory when it's as simple as
what's preset in /etc/security/limits.conf.
Systemd has also been getting its hands a bit dirty in the area of
bumping resource limits, which I'm not sure how I feel about. But it
does illustrate how downstream is perfectly capable of managing these
limits on behalf of users.
Regards,
Vito Caputo
next prev parent reply other threads:[~2021-10-25 15:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-25 13:58 Is IORING_REGISTER_BUFFERS useful given the current default RLIMIT_MLOCK? Drew DeVault
2021-10-25 15:42 ` Vito Caputo [this message]
2021-10-26 7:12 ` Drew DeVault
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=20211025154247.fnw6ec75fmx5tkqy@shells.gnugeneration.com \
--to=vcaputo@pengaru.com \
--cc=io-uring@vger.kernel.org \
--cc=sir@cmpwn.com \
/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.