RE: [patch 3/7] mm: vmscan: clarify how swappiness, highest priority, memcg interact

2012-12-18 Thread Satoru Moriya
On 12/17/2012 01:12 PM, Johannes Weiner wrote: > A swappiness of 0 has a slightly different meaning for global reclaim > (may swap if file cache really low) and memory cgroup reclaim (never > swap, ever). > > In addition, global reclaim at highest priority will scan all LRU > lists equal to

RE: [patch 3/7] mm: vmscan: clarify how swappiness, highest priority, memcg interact

2012-12-18 Thread Satoru Moriya
On 12/17/2012 01:12 PM, Johannes Weiner wrote: > A swappiness of 0 has a slightly different meaning for global reclaim > (may swap if file cache really low) and memory cgroup reclaim (never > swap, ever). > > In addition, global reclaim at highest priority will scan all LRU > lists equal to

Re: [patch 3/7] mm: vmscan: clarify how swappiness, highest priority, memcg interact

2012-12-18 Thread Mel Gorman
On Mon, Dec 17, 2012 at 01:12:33PM -0500, Johannes Weiner wrote: > A swappiness of 0 has a slightly different meaning for global reclaim > (may swap if file cache really low) and memory cgroup reclaim (never > swap, ever). > > In addition, global reclaim at highest priority will scan all LRU >

Re: [patch 3/7] mm: vmscan: clarify how swappiness, highest priority, memcg interact

2012-12-18 Thread Mel Gorman
On Mon, Dec 17, 2012 at 01:12:33PM -0500, Johannes Weiner wrote: A swappiness of 0 has a slightly different meaning for global reclaim (may swap if file cache really low) and memory cgroup reclaim (never swap, ever). In addition, global reclaim at highest priority will scan all LRU lists

RE: [patch 3/7] mm: vmscan: clarify how swappiness, highest priority, memcg interact

2012-12-18 Thread Satoru Moriya
On 12/17/2012 01:12 PM, Johannes Weiner wrote: A swappiness of 0 has a slightly different meaning for global reclaim (may swap if file cache really low) and memory cgroup reclaim (never swap, ever). In addition, global reclaim at highest priority will scan all LRU lists equal to their

RE: [patch 3/7] mm: vmscan: clarify how swappiness, highest priority, memcg interact

2012-12-18 Thread Satoru Moriya
On 12/17/2012 01:12 PM, Johannes Weiner wrote: A swappiness of 0 has a slightly different meaning for global reclaim (may swap if file cache really low) and memory cgroup reclaim (never swap, ever). In addition, global reclaim at highest priority will scan all LRU lists equal to their

Re: [patch 3/7] mm: vmscan: clarify how swappiness, highest priority, memcg interact

2012-12-17 Thread Michal Hocko
On Mon 17-12-12 13:12:33, Johannes Weiner wrote: > A swappiness of 0 has a slightly different meaning for global reclaim > (may swap if file cache really low) and memory cgroup reclaim (never > swap, ever). > > In addition, global reclaim at highest priority will scan all LRU > lists equal to

Re: [patch 3/7] mm: vmscan: clarify how swappiness, highest priority, memcg interact

2012-12-17 Thread Rik van Riel
On 12/17/2012 01:12 PM, Johannes Weiner wrote: A swappiness of 0 has a slightly different meaning for global reclaim (may swap if file cache really low) and memory cgroup reclaim (never swap, ever). In addition, global reclaim at highest priority will scan all LRU lists equal to their size and

Re: [patch 3/7] mm: vmscan: clarify how swappiness, highest priority, memcg interact

2012-12-17 Thread Rik van Riel
On 12/17/2012 01:12 PM, Johannes Weiner wrote: A swappiness of 0 has a slightly different meaning for global reclaim (may swap if file cache really low) and memory cgroup reclaim (never swap, ever). In addition, global reclaim at highest priority will scan all LRU lists equal to their size and

Re: [patch 3/7] mm: vmscan: clarify how swappiness, highest priority, memcg interact

2012-12-17 Thread Michal Hocko
On Mon 17-12-12 13:12:33, Johannes Weiner wrote: A swappiness of 0 has a slightly different meaning for global reclaim (may swap if file cache really low) and memory cgroup reclaim (never swap, ever). In addition, global reclaim at highest priority will scan all LRU lists equal to their