Skip to content

io_uring: registered huge buffer optimisations

Pavel Begunkov io-uring lkml 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4io_uring/rsrc: disallow multi-source reg buffersio_uring/rsrc.c+8 -50 replies
2/4io_uring/rsrc: fix a comment in io_import_fixed()io_uring/rsrc.c+1 -10 replies
3/4io_uring/rsrc: optimise single entry advanceio_uring/rsrc.c+4 -10 replies
4/4io_uring/rsrc: optimise registered huge pagesio_uring/rsrc.c+32 -62 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH for-next 0/4] io_uring: registered huge buffer optimisations

Improve support for registered buffers consisting of huge pages by keeping them as a single element bvec instead of chunking them into 4K pages. It improves performance quite a bit cutting CPU cycles on dma-mapping and promoting a more efficient use of hardware.

With a custom fio/t/io_uring 64K reads benchmark with multiple Optanes I've got 671 -> 736 KIOPS improvement (~10%).

Pavel Begunkov (4):
io_uring/rsrc: disallow multi-source reg buffers io_uring/rsrc: fix a comment in io_import_fixed() io_uring/rsrc: optimise single entry advance io_uring/rsrc: optimise registered huge pages

 io_uring/rsrc.c | 58 ++++++++++++++++++++++++++++++++++++++-----------
 1 file changed, 45 insertions(+), 13 deletions(-)
Signature · 1 line
2.39.1