Re: [PATCH -mm -v2] mm: Clear to access sub-page last when clearing huge page

2017-08-21 Thread Huang, Ying
Michal Hocko writes: > On Tue 15-08-17 09:46:18, Huang, Ying wrote: >> From: Huang Ying >> >> Huge page helps to reduce TLB miss rate, but it has higher cache >> footprint, sometimes this may cause some issue. For example, when >> clearing huge page on

Re: [PATCH -mm -v2] mm: Clear to access sub-page last when clearing huge page

2017-08-21 Thread Huang, Ying
Michal Hocko writes: > On Tue 15-08-17 09:46:18, Huang, Ying wrote: >> From: Huang Ying >> >> Huge page helps to reduce TLB miss rate, but it has higher cache >> footprint, sometimes this may cause some issue. For example, when >> clearing huge page on x86_64 platform, the cache footprint is

Re: [PATCH -mm -v2] mm: Clear to access sub-page last when clearing huge page

2017-08-21 Thread Michal Hocko
On Tue 15-08-17 09:46:18, Huang, Ying wrote: > From: Huang Ying > > Huge page helps to reduce TLB miss rate, but it has higher cache > footprint, sometimes this may cause some issue. For example, when > clearing huge page on x86_64 platform, the cache footprint is 2M. But

Re: [PATCH -mm -v2] mm: Clear to access sub-page last when clearing huge page

2017-08-21 Thread Michal Hocko
On Tue 15-08-17 09:46:18, Huang, Ying wrote: > From: Huang Ying > > Huge page helps to reduce TLB miss rate, but it has higher cache > footprint, sometimes this may cause some issue. For example, when > clearing huge page on x86_64 platform, the cache footprint is 2M. But > on a Xeon E5 v3

[PATCH -mm -v2] mm: Clear to access sub-page last when clearing huge page

2017-08-14 Thread Huang, Ying
From: Huang Ying Huge page helps to reduce TLB miss rate, but it has higher cache footprint, sometimes this may cause some issue. For example, when clearing huge page on x86_64 platform, the cache footprint is 2M. But on a Xeon E5 v3 2699 CPU, there are 18 cores, 36

[PATCH -mm -v2] mm: Clear to access sub-page last when clearing huge page

2017-08-14 Thread Huang, Ying
From: Huang Ying Huge page helps to reduce TLB miss rate, but it has higher cache footprint, sometimes this may cause some issue. For example, when clearing huge page on x86_64 platform, the cache footprint is 2M. But on a Xeon E5 v3 2699 CPU, there are 18 cores, 36 threads, and only 45M LLC