Skip to content

RFC completion locking optimisation feature

Pavel Begunkov io-uring 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4io_uring: get rid of raw fill cqe in kill_timeoutfs/io_uring.c+23 -180 replies
2/4io_uring: get rid of raw fill_cqe in io_fail_linksfs/io_uring.c+6 -40 replies
3/4io_uring: remove raw fill_cqe from linked timeoutfs/io_uring.c+2 -140 replies
4/4io_uring: optimise compl locking for non-shared ringsfs/io_uring.c include/uapi/linux/io_uring.h+55 -75 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC 0/4] completion locking optimisation feature

A WIP feature optimising out CQEs posting spinlocking for some use cases. For a more detailed description see 4/4.

Quick benchmarking with fio/t/io_uring nops gives extra 4% to throughput for QD=1, and ~+2.5% for QD=4.

Pavel Begunkov (4):
io_uring: get rid of raw fill cqe in kill_timeout
io_uring: get rid of raw fill_cqe in io_fail_links
io_uring: remove raw fill_cqe from linked timeout
io_uring: optimise compl locking for non-shared rings

 fs/io_uring.c                 | 126 ++++++++++++++++++++++------------
 include/uapi/linux/io_uring.h |   1 +
 2 files changed, 85 insertions(+), 42 deletions(-)
Signature · 1 line
2.35.1