io_uring: add napi busy polling support
Get series with b4
b4 am [email protected]Versions newest first
- v16 Latest7 patches 2 repliesIn review 2 of 7 applied
Changes in v16 from the cover letter
- Rebase on current tree
- Various cleanups
- Rename NAPI_F_NO_SCHED to NAPI_F_END_ON_RESCHED
Patches in v16 2 of 7 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | net: split off __napi_busy_poll from napi_busy_pollnet/ | +28 | 0 replies | Applied |
| 2/7 | net: add napi_busy_loop_rcu()include/ net/ | +19 | 0 replies | Applied |
| 3/7 | io-uring: move io_wait_queue definition to header fileio_uring/ io_uring/ | +22 | 0 replies | |
| 4/7 | io-uring: add napi busy poll supportinclude/ io_uring/ io_uring/ +4 more | +370 | 0 replies | |
| 5/7 | io-uring: add sqpoll support for napi busy pollio_uring/ io_uring/ io_uring/ | +33 | 0 replies | |
| 6/7 | io_uring: add register/unregister napi functioninclude/ io_uring/ io_uring/ +1 more | +83 | 0 replies | |
| 7/7 | io_uring: add prefer busy poll to register and unregister napi apiinclude/ io_uring/ | +9 | 0 replies |
Reviews trailers per patch
3 of 7 patches have a Reviewed-by or Acked-by.
| Patch | Jakub Kicinski |
|---|---|
| 1/7 | |
| 2/7 | |
| 3/7 | |
| 4/7 | A-b |
| 5/7 | |
| 6/7 | A-b |
| 7/7 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCHSET v16 0/7] io_uring: add napi busy polling support
Hi,
I finally got around to testing this patchset in its current form, and results look fine to me. It Works. Using the basic ping/pong test that's part of the liburing addition, without enabling NAPI I get:
Stock settings, no NAPI, 100k packets:
rtt(us) min/avg/max/mdev = 31.730/37.006/87.960/0.497
and with -t10 -b enabled:
rtt(us) min/avg/max/mdev = 23.250/29.795/63.511/1.203
In short, this patchset enables per io_uring NAPI enablement, rather than need to enable that globally. This allows targeted NAPI usage with io_uring.
Here's Stefan's v15 posting, which predates this one:
https://lore.kernel.org/io-uring/[email protected]/
Patches are on top of the current 6.9 io_uring branch.
Changes since v15
- Rebase on current tree
- Various cleanups
- Rename NAPI_F_NO_SCHED to NAPI_F_END_ON_RESCHED
Signature · 1 line
Jens Axboe