summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2019-12-28 14:13:03 +0300
committerJens Axboe <axboe@kernel.dk>2020-01-21 03:04:02 +0300
commit2b85edfc0c90efc68dea3d665bb4111bf0694e05 (patch)
tree9e5cb950fa5d4fbafd3981e569ef3d9c856cf127 /tools/perf/scripts/python/export-to-postgresql.py
parent4e5ef02317b12e2ed3d604281ffb6b75261f7612 (diff)
downloadlinux-2b85edfc0c90efc68dea3d665bb4111bf0694e05.tar.xz
io_uring: batch getting pcpu references
percpu_ref_tryget() has its own overhead. Instead getting a reference for each request, grab a bunch once per io_submit_sqes(). ~5% throughput boost for a "submit and wait 128 nops" benchmark. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> __io_req_free_empty() -> __io_req_do_free() Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions