Enable bio recycling for polled IO
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest6 patches 13 repliesIn review
- v46 patches 10 repliesSuperseded
- v35 patches 8 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 4 patches | 11 replies | Superseded |
Changes in v5 from the cover letter
- Kill __bio_init() helper
- Kill __bio_put() helper
- Cleanup bio_alloc_kiocb()
- Expand commit messages
- Various little tweaks
- Add kerneldoc for bio_alloc_kiocb()
- Fix attribution on last patch
- Remove bio.h list manipulation leftovers
- Move cpuhp_dead notifier to end of bio_set
- Rebase on for-5.15/io_uring
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | bio: optimize initialization of a bioblock/ | +28 | 1 reply | |
| 2/6 | fs: add kiocb alloc cache flaginclude/ | +2 | 1 reply | |
| 3/6 | bio: add allocation cache abstractionblock/ include/ include/ +1 more | +136 | 2 replies | |
| 4/6 | block: clear BIO_PERCPU_CACHE flag if polling isn't supportedblock/ | +4 | 7 replies | |
| 5/6 | io_uring: enable use of bio alloc cachefs/ | +1 | 2 replies | |
| 6/6 | block: use the percpu bio cache in __blkdev_direct_IOfs/ | +4 | 0 replies |
Reviews trailers per patch
5 of 6 patches have a Reviewed-by or Acked-by.
| Patch | Christoph Hellwig |
|---|---|
| 1/6 | R-b |
| 2/6 | R-b |
| 3/6 | R-b |
| 4/6 | R-b |
| 5/6 | R-b |
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCHSET v5 0/6] Enable bio recycling for polled IO
Hi,
For v4, see posting here:
https://lore.kernel.org/io-uring/[email protected]/
3.5M+ IOPS per core:
axboe@amd ~/g/fio (master)> sudo taskset -c 0 t/io_uring -b512 -d128 -c32 -s32 -p1 -F1 -B1 /dev/nvme3n1 i 8, argc 9
Added file /dev/nvme3n1 (submitter 0)sq_ring ptr = 0x0x7fdab1a8d000
sqes ptr = 0x0x7fdab1a8b000cq_ring ptr = 0x0x7fdab1a89000
polled=1, fixedbufs=1, register_files=1, buffered=0 QD=128, sq_ring=128, cq_ring=256 submitter=1757
IOPS=3520608, IOS/call=32/31, inflight=47 (47)
IOPS=3514432, IOS/call=32/32, inflight=32 (32)
IOPS=3513440, IOS/call=32/31, inflight=128 (128)
IOPS=3507616, IOS/call=32/32, inflight=32 (32)
IOPS=3505984, IOS/call=32/32, inflight=32 (32)
IOPS=3511328, IOS/call=32/31, inflight=64 (64)
[snip]
Changes can also be bound in my io_uring-bio-cache.5 branch, and sit on top of for-5.15/io_uring.
block/bio.c | 164 +++++++++++++++++++++++++++++++++---- block/blk-core.c | 5 +- fs/block_dev.c | 6 +- fs/io_uring.c | 2 +- include/linux/bio.h | 13 +++ include/linux/blk_types.h | 1 + include/linux/cpuhotplug.h | 1 + include/linux/fs.h | 2 + 8 files changed, 175 insertions(+), 19 deletions(-)
Changes since v4:
- Kill __bio_init() helper
- Kill __bio_put() helper
- Cleanup bio_alloc_kiocb()
- Expand commit messages
- Various little tweaks
- Add kerneldoc for bio_alloc_kiocb()
- Fix attribution on last patch
- Remove bio.h list manipulation leftovers
- Move cpuhp_dead notifier to end of bio_set
- Rebase on for-5.15/io_uring
Signature · 1 line
Jens Axboe