Re: [PATCH 3/3] mm: adjust vm_committed_as_batch according to vm overcommit policy

From: Michal Hocko
Date: Fri May 15 2020 - 03:44:48 EST


On Fri 08-05-20 15:25:17, Feng Tang wrote:
> When checking a performance change for will-it-scale scalability
> mmap test [1], we found very high lock contention for spinlock of
> percpu counter 'vm_committed_as':

Btw. you are focusing on a microbenchmark here but I believe that there
are non-synthetic worklaods which would benefit from a larger batch.
E.g. large in memory databases which do large mmaps during startups
from multiple threads.
--
Michal Hocko
SUSE Labs