public inbox for [email protected]
 help / color / mirror / Atom feed
From: Victor Stewart <[email protected]>
To: [email protected]
Subject: IORING_OP_SENDMSG_FIXED + IORING_OP_RECVMSG_FIXED
Date: Sat, 29 Aug 2020 17:30:56 -0400	[thread overview]
Message-ID: <CAM1kxwiDwDLWm-KY3KGE2vkBiCuYze9S+XCnthvyK=gNNMjkRQ@mail.gmail.com> (raw)

Hello all my name is Victor Stewart.

I just mentioned to Jens on Twitter how fixed sendmsg and recvmsg
would be fantastic additions for burgeoning QUIC traffic.

We have MSG_ZEROCOPY, but it's fairly dead on arrival. For one, it's
only on the send side. It also involves locking pages into memory for
each send. Testing has shown it's only worth using for >10KB sends,
and even still only improves production traffic by single digit %s
(cite LWN).

so Jens suggested I post here to see if anyone is already working on
this. And if not, if someone would like to collaborate?

I've never contributed to the kernel before so I wouldn't know where
to begin with tooling, testing and guidelines, but I would enjoy
learning by doing.

Probably a weekend's work. Seems trivial enough to flag msg_iov as
within a registered buffer, on the back of fixed reads and writes. The
rest of msghdr is doubtfully worth the aggravation.

V

                 reply	other threads:[~2020-08-29 21:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='CAM1kxwiDwDLWm-KY3KGE2vkBiCuYze9S+XCnthvyK=gNNMjkRQ@mail.gmail.com' \
    [email protected] \
    [email protected] \
    /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