aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorPavel Begunkov <[email protected]>2021-01-19 13:32:47 +0000
committerJens Axboe <[email protected]>2021-02-01 10:02:42 -0700
commite342c807f556dbcee1370ab78af1d8faf497d771 (patch)
treeab6f899c1118e520edc267eadc9e47df521913a1 /tools/perf/scripts/python/export-to-sqlite.py
parent9affd664f0e0512d8997dbdddb1448a4faf9bc82 (diff)
io_uring: save atomic dec for inline executed reqs
When a request is completed with comp_state, its completion reference put is deferred to io_submit_flush_completions(), but the submission is put not far from there, so do it together to save one atomic dec per request. That targets requests that complete inline, e.g. buffered rw, send/recv. Proper benchmarking haven't been conducted but for nops(batch=32) it was around 7901 vs 8117 KIOPS (~2.7%), or ~4% per perf profiling. Signed-off-by: Pavel Begunkov <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions