From: Jens Axboe <[email protected]>
To: Pavel Begunkov <[email protected]>, [email protected]
Subject: Re: [PATCH v2 0/4] singly linked list for chains
Date: Fri, 30 Oct 2020 15:32:39 -0600 [thread overview]
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
On 10/30/20 6:46 AM, Pavel Begunkov wrote:
> On 28/10/2020 14:18, Jens Axboe wrote:
>> On 10/27/20 5:25 PM, Pavel Begunkov wrote:
>>> v2: split the meat patch.
>>>
>>> I did not re-benchmark it, but as stated before: 5030 vs 5160 KIOPS by a
>>> naive (consistent) nop benchmark that submits 32 linked nops and then
>>> submits them in a loop. Worth trying with some better hardware.
>>
>> Applied for 5.11 - I'll give it a spin here too and see if I find any
>> improvements. But a smaller io_kiocb is always a win.
>
> Might be a good time for a generic single list. There are at least 3
> places I remember: bio, io-wq, io_uring
Yes, kind of weird that we don't have one. There's the normal doubly
linked one, and then there's the single head for hash tables. But I
could not find anything good for io-wq, which is why I rolled my own.
Would be nice to turn it into a generic one and reuse it everywhere (and
I bet it would grow more users).
The lockless lists (llist) is singular, but overkill if you already have
locking you're under.
--
Jens Axboe
prev parent reply other threads:[~2020-10-30 21:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-27 23:25 [PATCH v2 0/4] singly linked list for chains Pavel Begunkov
2020-10-27 23:25 ` [PATCH 1/4] io_uring: track link's head and tail during submit Pavel Begunkov
2020-10-27 23:25 ` [PATCH 2/4] io_uring: track link timeout's master explicitly Pavel Begunkov
2020-10-27 23:25 ` [PATCH 3/4] io_uring: link requests with singly linked list Pavel Begunkov
2020-10-27 23:25 ` [PATCH 4/4] io_uring: toss io_kiocb fields for better caching Pavel Begunkov
2020-10-28 14:18 ` [PATCH v2 0/4] singly linked list for chains Jens Axboe
2020-10-30 12:46 ` Pavel Begunkov
2020-10-30 21:32 ` Jens Axboe [this message]
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 \
[email protected] \
[email protected] \
[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