diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2021-08-24 23:13:04 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2021-08-24 23:13:04 -0700 |
commit | 74ff0a14d737974f9e38b46130b2318f70ccd996 (patch) | |
tree | 5c1699bc950d7a7b5b7c2b3b685f5645a8d55a20 /bootstrap | |
parent | 4fbaee45f4bc2fc06d5e7e5fc2d284d6535004d9 (diff) |
iou: try consume CQEs in batches
The code has been basically in the same "let's get io_uring
working" form since libiou was first written.
Looking more at the uring API, there's a non-waiting batched CQE
consumer. If enough SQEs are outstanding and being processed
fast enough, this could net a big efficiency gain.
Currently just using a max batch size of 16 which seemd like a
reasonable upper bound of operations to potentially grind on
before revisiting sqe flushing and async completions.
Diffstat (limited to 'bootstrap')
0 files changed, 0 insertions, 0 deletions