[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1576958402.git.asml.silence@gmail.com>
Date: Sat, 21 Dec 2019 23:12:52 +0300
From: Pavel Begunkov <asml.silence@...il.com>
To: Jens Axboe <axboe@...nel.dk>, io-uring@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH v3 0/2] optimise ctx's refs grabbing in io_uring
Optimise percpu_ref_tryget() by not calling it for each request, but
batching it. This gave a measurable ~5% performance boost for large QD.
v2: fix uncommited plug (Jens Axboe)
better comments for percpu_ref_tryget_many (Dennis Zhou)
amortise across io_uring_enter() boundary
v3: drop "batching across syscalls"
remove error handling in io_submit_sqes() from common path
Pavel Begunkov (2):
pcpu_ref: add percpu_ref_tryget_many()
io_uring: batch getting pcpu references
fs/io_uring.c | 14 ++++++++++----
include/linux/percpu-refcount.h | 26 +++++++++++++++++++++-----
2 files changed, 31 insertions(+), 9 deletions(-)
--
2.24.0
Powered by blists - more mailing lists