Re: [RFC 00/11] optimise registered buffer/file updates

From: Gabriel Krisman Bertazi
Date: Fri Mar 31 2023 - 09:35:18 EST



Pavel,

Pavel Begunkov <asml.silence@xxxxxxxxx> writes:
> 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).

Nice. That's a really impressive improvement.

I've been adding io_uring test cases for automated performance
regression testing with mmtests (open source). I'd love to take a look
at this test case and adapt it to mmtests, so we can pick it up and run
it frequently.

is it something you can share?

--
Gabriel Krisman Bertazi