Re: [PATCH v2] mm: page_counter: relayout structure to reduce false sharing

2021-01-20 Thread Michal Hocko
On Tue 19-01-21 15:20:14, Feng Tang wrote: > When checking a memory cgroup related performance regression [1], > from the perf c2c profiling data, we found high false sharing for > accessing 'usage' and 'parent'. > > On 64 bit system, the 'usage' and 'parent' are close to each other, > and easy to

Re: [PATCH v2] mm: page_counter: relayout structure to reduce false sharing

2021-01-19 Thread Johannes Weiner
On Tue, Jan 19, 2021 at 03:20:14PM +0800, Feng Tang wrote: > When checking a memory cgroup related performance regression [1], > from the perf c2c profiling data, we found high false sharing for > accessing 'usage' and 'parent'. > > On 64 bit system, the 'usage' and 'parent' are close to each othe

Re: [PATCH v2] mm: page_counter: relayout structure to reduce false sharing

2021-01-19 Thread Shakeel Butt
On Mon, Jan 18, 2021 at 11:20 PM Feng Tang wrote: > > When checking a memory cgroup related performance regression [1], > from the perf c2c profiling data, we found high false sharing for > accessing 'usage' and 'parent'. > > On 64 bit system, the 'usage' and 'parent' are close to each other, > an