Optimise io_uring completion waiting
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 35 repliesIn review
- v1 RFC2 patches 2 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | sched/wait: Add wait_thresholdinclude/ kernel/ kernel/ | +94 | 5 replies | |
| 2/2 | io_uring: Optimise cq waiting with wait_thresholdfs/ | +24 | 0 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Pavel Begunkov |
|---|---|
| Series | R-b T-b |
| 1/2 | |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] Optimise io_uring completion waiting
From: Pavel Begunkov <[email protected]>
There could be a lot of overhead within generic wait_event_*() used for waiting for large number of completions. The patchset removes much of it by using custom wait event (wait_threshold).
Synthetic test showed ~40% performance boost. (see patch 2)
v2: rebase
Pavel Begunkov (2):
sched/wait: Add wait_threshold
io_uring: Optimise cq waiting with wait_threshold
fs/io_uring.c | 35 ++++++++++++------ include/linux/wait_threshold.h | 67 ++++++++++++++++++++++++++++++++++ kernel/sched/Makefile | 2 +- kernel/sched/wait_threshold.c | 26 +++++++++++++ 4 files changed, 118 insertions(+), 12 deletions(-) create mode 100644 include/linux/wait_threshold.h create mode 100644 kernel/sched/wait_threshold.c
Signature · 1 line
2.23.0