[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <57c89d5c-c05d-6be4-0e36-40b4a679983c@kernel.dk>
Date: Fri, 31 Mar 2023 09:18:08 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Pavel Begunkov <asml.silence@...il.com>, io-uring@...r.kernel.org
Cc: linux-kernel@...r.kernel.org
Subject: Re: [RFC 00/11] optimise registered buffer/file updates
On 3/30/23 8:53 AM, Pavel Begunkov wrote:
> Updating registered files and buffers is a very slow operation, which
> makes it not feasible for workloads with medium update frequencies.
> Rework the underlying rsrc infra for greater performance and lesser
> memory footprint.
>
> The improvement is ~11x for a benchmark updating files in a loop
> (1040K -> 11468K updates / sec).
>
> The set requires a couple of patches from the 6.3 branch, for that
> reason it's an RFC and will be resent after merge.
Looks pretty sane to me, didn't find anything immediately wrong. I
do wonder if we should have a conditional uring_lock helper, we do
have a few of those. But not really related to this series, as it
just moves one around.
--
Jens Axboe
Powered by blists - more mailing lists