Re: [patch] mm: vmscan: do not swap anon pages just because free+file is low

2014-03-17 Thread Hugh Dickins
On Mon, 17 Mar 2014, Johannes Weiner wrote: > On Sat, Mar 15, 2014 at 09:20:16PM -0700, Hugh Dickins wrote: > > > > Hannes, your patch looks reasonable to me, and as I read it would > > be well complemented by Suleiman's and mine; but I do worry that > > the "scan_balance = SCAN_ANON" block you're

Re: [patch] mm: vmscan: do not swap anon pages just because free+file is low

2014-03-17 Thread Johannes Weiner
On Sat, Mar 15, 2014 at 09:20:16PM -0700, Hugh Dickins wrote: > On Fri, 14 Mar 2014, Mel Gorman wrote: > > On Fri, Mar 14, 2014 at 12:06:25PM -0400, Rik van Riel wrote: > > > On 03/14/2014 11:35 AM, Johannes Weiner wrote: > > > > Page reclaim force-scans / swaps anonymous pages when file cache drop

Re: [patch] mm: vmscan: do not swap anon pages just because free+file is low

2014-03-15 Thread Hugh Dickins
On Fri, 14 Mar 2014, Mel Gorman wrote: > On Fri, Mar 14, 2014 at 12:06:25PM -0400, Rik van Riel wrote: > > On 03/14/2014 11:35 AM, Johannes Weiner wrote: > > > Page reclaim force-scans / swaps anonymous pages when file cache drops > > > below the high watermark of a zone in order to prevent what li

Re: [patch] mm: vmscan: do not swap anon pages just because free+file is low

2014-03-14 Thread Rafael Aquini
On Fri, Mar 14, 2014 at 11:35:02AM -0400, Johannes Weiner wrote: > Page reclaim force-scans / swaps anonymous pages when file cache drops > below the high watermark of a zone in order to prevent what little > cache remains from thrashing. > > However, on bigger machines the high watermark value ca

Re: [patch] mm: vmscan: do not swap anon pages just because free+file is low

2014-03-14 Thread Mel Gorman
On Fri, Mar 14, 2014 at 12:06:25PM -0400, Rik van Riel wrote: > On 03/14/2014 11:35 AM, Johannes Weiner wrote: > > Page reclaim force-scans / swaps anonymous pages when file cache drops > > below the high watermark of a zone in order to prevent what little > > cache remains from thrashing. > > > >

Re: [patch] mm: vmscan: do not swap anon pages just because free+file is low

2014-03-14 Thread Rik van Riel
On 03/14/2014 11:35 AM, Johannes Weiner wrote: > Page reclaim force-scans / swaps anonymous pages when file cache drops > below the high watermark of a zone in order to prevent what little > cache remains from thrashing. > > However, on bigger machines the high watermark value can be quite > large

[patch] mm: vmscan: do not swap anon pages just because free+file is low

2014-03-14 Thread Johannes Weiner
Page reclaim force-scans / swaps anonymous pages when file cache drops below the high watermark of a zone in order to prevent what little cache remains from thrashing. However, on bigger machines the high watermark value can be quite large and when the workload is dominated by a static anonymous/s