Message ID | 20201001154842.26896-1-ming.lei@redhat.com (mailing list archive) |
---|---|
Headers | show |
Series | percpu_ref & block: reduce memory footprint of percpu_ref in fast path | expand |
On Thu, Oct 01, 2020 at 11:48:40PM +0800, 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. > > V7: > - add comments about reason for struct split Hello Jens Can you consider to merge the patchset in block tree if you are fine? Thanks, Ming
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.