Re: [PATCH V7 0/2] percpu_ref & block: reduce memory footprint of percpu_ref in fast path

From: Jens Axboe
Date: Tue Oct 06 2020 - 09:30:36 EST


On 10/1/20 9:48 AM, Ming Lei wrote:
> Hi,
>
> The 1st patch removes memory footprint of percpu_ref in fast path
> from 7 words to 2 words, since it is often used in fast path and
> embedded in user struct.
>
> The 2nd patch moves .q_usage_counter to 1st cacheline of
> 'request_queue'.
>
> Simple test on null_blk shows ~2% IOPS boost on one 16cores(two threads
> per core) machine, dual socket/numa.

Applied, thanks.

--
Jens Axboe