Re: [PATCH V2] mm/vmstat: Add events for THP migration without split

2020-06-09 Thread Zi Yan
On 9 Jun 2020, at 7:35, Anshuman Khandual wrote: > On 06/05/2020 07:54 PM, Zi Yan wrote: >> On 4 Jun 2020, at 23:35, Anshuman Khandual wrote: >> >>> On 06/04/2020 10:19 PM, Zi Yan wrote: On 4 Jun 2020, at 12:36, Matthew Wilcox wrote: > On Thu, Jun 04, 2020 at 09:51:10AM -0400, Zi

Re: [PATCH V2] mm/vmstat: Add events for THP migration without split

2020-06-09 Thread Daniel Jordan
On Tue, Jun 09, 2020 at 05:05:45PM +0530, Anshuman Khandual wrote: > On 06/05/2020 07:54 PM, Zi Yan wrote: > > On 4 Jun 2020, at 23:35, Anshuman Khandual wrote: > >> Thanks Zi, for such a detailed explanation. Ideally, we should separate THP > >> migration from base page migration in terms of

Re: [PATCH V2] mm/vmstat: Add events for THP migration without split

2020-06-09 Thread Anshuman Khandual
On 06/05/2020 07:54 PM, Zi Yan wrote: > On 4 Jun 2020, at 23:35, Anshuman Khandual wrote: > >> On 06/04/2020 10:19 PM, Zi Yan wrote: >>> On 4 Jun 2020, at 12:36, Matthew Wilcox wrote: >>> On Thu, Jun 04, 2020 at 09:51:10AM -0400, Zi Yan wrote: > On 4 Jun 2020, at 7:34, Matthew Wilcox

Re: [PATCH V2] mm/vmstat: Add events for THP migration without split

2020-06-05 Thread Zi Yan
On 4 Jun 2020, at 23:35, Anshuman Khandual wrote: > On 06/04/2020 10:19 PM, Zi Yan wrote: >> On 4 Jun 2020, at 12:36, Matthew Wilcox wrote: >> >>> On Thu, Jun 04, 2020 at 09:51:10AM -0400, Zi Yan wrote: On 4 Jun 2020, at 7:34, Matthew Wilcox wrote: > On Thu, Jun 04, 2020 at 09:30:45AM

Re: [PATCH V2] mm/vmstat: Add events for THP migration without split

2020-06-04 Thread Anshuman Khandual
On 06/04/2020 10:19 PM, Zi Yan wrote: > On 4 Jun 2020, at 12:36, Matthew Wilcox wrote: > >> On Thu, Jun 04, 2020 at 09:51:10AM -0400, Zi Yan wrote: >>> On 4 Jun 2020, at 7:34, Matthew Wilcox wrote: On Thu, Jun 04, 2020 at 09:30:45AM +0530, Anshuman Khandual wrote: > +Quantifying

Re: [PATCH V2] mm/vmstat: Add events for THP migration without split

2020-06-04 Thread Zi Yan
On 4 Jun 2020, at 12:36, Matthew Wilcox wrote: > On Thu, Jun 04, 2020 at 09:51:10AM -0400, Zi Yan wrote: >> On 4 Jun 2020, at 7:34, Matthew Wilcox wrote: >>> On Thu, Jun 04, 2020 at 09:30:45AM +0530, Anshuman Khandual wrote: +Quantifying Migration += +Following

Re: [PATCH V2] mm/vmstat: Add events for THP migration without split

2020-06-04 Thread Matthew Wilcox
On Thu, Jun 04, 2020 at 09:51:10AM -0400, Zi Yan wrote: > On 4 Jun 2020, at 7:34, Matthew Wilcox wrote: > > On Thu, Jun 04, 2020 at 09:30:45AM +0530, Anshuman Khandual wrote: > >> +Quantifying Migration > >> += > >> +Following events can be used to quantify page migration. > >>

Re: [PATCH V2] mm/vmstat: Add events for THP migration without split

2020-06-04 Thread Zi Yan
On 4 Jun 2020, at 7:34, Matthew Wilcox wrote: > On Thu, Jun 04, 2020 at 09:30:45AM +0530, Anshuman Khandual wrote: >> Add the following new VM events which will help in validating THP migration >> without split. Statistics reported through these new events will help in >> performance debugging.

Re: [PATCH V2] mm/vmstat: Add events for THP migration without split

2020-06-04 Thread Matthew Wilcox
On Thu, Jun 04, 2020 at 09:30:45AM +0530, Anshuman Khandual wrote: > Add the following new VM events which will help in validating THP migration > without split. Statistics reported through these new events will help in > performance debugging. > > 1. THP_MIGRATION_SUCCESS > 2.

[PATCH V2] mm/vmstat: Add events for THP migration without split

2020-06-03 Thread Anshuman Khandual
Add the following new VM events which will help in validating THP migration without split. Statistics reported through these new events will help in performance debugging. 1. THP_MIGRATION_SUCCESS 2. THP_MIGRATION_FAILURE THP_MIGRATION_FAILURE in particular represents an event when a THP could