Re: [patch 09/10] mm: thrash detection-based file cache sizing

2013-06-07 Thread Johannes Weiner
On Fri, Jun 07, 2013 at 06:16:05PM +0400, Roman Gushchin wrote: > On 30.05.2013 22:04, Johannes Weiner wrote: > >+/* > >+ * Monotonic workingset clock for non-resident pages. > >+ * > >+ * The refault distance of a page is the number of ticks that occurred > >+ * between that page's eviction and

Re: [patch 09/10] mm: thrash detection-based file cache sizing

2013-06-07 Thread Roman Gushchin
On 30.05.2013 22:04, Johannes Weiner wrote: +/* + * Monotonic workingset clock for non-resident pages. + * + * The refault distance of a page is the number of ticks that occurred + * between that page's eviction and subsequent refault. + * + * Every page slot that is taken away from the inactive

Re: [patch 09/10] mm: thrash detection-based file cache sizing

2013-06-07 Thread Roman Gushchin
On 30.05.2013 22:04, Johannes Weiner wrote: +/* + * Monotonic workingset clock for non-resident pages. + * + * The refault distance of a page is the number of ticks that occurred + * between that page's eviction and subsequent refault. + * + * Every page slot that is taken away from the inactive

Re: [patch 09/10] mm: thrash detection-based file cache sizing

2013-06-07 Thread Johannes Weiner
On Fri, Jun 07, 2013 at 06:16:05PM +0400, Roman Gushchin wrote: On 30.05.2013 22:04, Johannes Weiner wrote: +/* + * Monotonic workingset clock for non-resident pages. + * + * The refault distance of a page is the number of ticks that occurred + * between that page's eviction and subsequent

[patch 09/10] mm: thrash detection-based file cache sizing

2013-05-30 Thread Johannes Weiner
The VM maintains cached filesystem pages on two types of lists. One list holds the pages recently faulted into the cache, the other list holds pages that have been referenced repeatedly on that first list. The idea is to prefer reclaiming young pages over those that have shown to benefit from

[patch 09/10] mm: thrash detection-based file cache sizing

2013-05-30 Thread Johannes Weiner
The VM maintains cached filesystem pages on two types of lists. One list holds the pages recently faulted into the cache, the other list holds pages that have been referenced repeatedly on that first list. The idea is to prefer reclaiming young pages over those that have shown to benefit from