Avoid unnecessary io-wq worker creation
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | io_uring/io-wq: move hash helpers to the topio_uring/ | +10 | 0 replies | |
| 2/3 | io_uring/io-wq: ignore non-busy worker going to sleepio_uring/ | +2 | 0 replies | |
| 3/3 | io_uring/io-wq: only create a new worker if it can make progressio_uring/ | +28 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCHSET 0/3] Avoid unnecessary io-wq worker creation
Hi,
Based on a report and RFC posted here:
https://lore.kernel.org/io-uring/[email protected]/
this attempts to avoid spurious and pointless io-wq worker creation. Patch 2 eliminates io-wq worker creation if the worker is currently idle, and patch 3 attempts to eliminate worker creation if it's blocking on a hashed item and the next work item is also hashed to the same bucket.
io_uring/io-wq.c | 50 ++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 40 insertions(+), 10 deletions(-)
Signature · 1 line
Jens Axboe