Re: [PATCH 5/5] mm: consider per-zone inactive ratio to deactivate

2016-07-21 Thread Mel Gorman
On Thu, Jul 21, 2016 at 04:10:50PM +0900, Joonsoo Kim wrote: > > @@ -1993,6 +1994,32 @@ static bool inactive_list_is_low(struct lruvec > > *lruvec, bool file) > > inactive = lruvec_lru_size(lruvec, file * LRU_FILE); > > active = lruvec_lru_size(lruvec, file * LRU_FILE + LRU_ACTIVE); > >

Re: [PATCH 5/5] mm: consider per-zone inactive ratio to deactivate

2016-07-21 Thread Mel Gorman
On Thu, Jul 21, 2016 at 04:10:50PM +0900, Joonsoo Kim wrote: > > @@ -1993,6 +1994,32 @@ static bool inactive_list_is_low(struct lruvec > > *lruvec, bool file) > > inactive = lruvec_lru_size(lruvec, file * LRU_FILE); > > active = lruvec_lru_size(lruvec, file * LRU_FILE + LRU_ACTIVE); > >

Re: [PATCH 5/5] mm: consider per-zone inactive ratio to deactivate

2016-07-21 Thread Mel Gorman
On Thu, Jul 21, 2016 at 02:30:17PM +0900, Minchan Kim wrote: > > The problem is due to the active deactivation logic in inactive_list_is_low. > > > > Node 0 active_anon:404412kB inactive_anon:409040kB > > > > IOW, (inactive_anon of node * inactive_ratio > active_anon of node) due to > >

Re: [PATCH 5/5] mm: consider per-zone inactive ratio to deactivate

2016-07-21 Thread Mel Gorman
On Thu, Jul 21, 2016 at 02:30:17PM +0900, Minchan Kim wrote: > > The problem is due to the active deactivation logic in inactive_list_is_low. > > > > Node 0 active_anon:404412kB inactive_anon:409040kB > > > > IOW, (inactive_anon of node * inactive_ratio > active_anon of node) due to > >

Re: [PATCH 5/5] mm: consider per-zone inactive ratio to deactivate

2016-07-21 Thread Joonsoo Kim
On Wed, Jul 20, 2016 at 04:21:51PM +0100, Mel Gorman wrote: > From: Minchan Kim > > Minchan Kim reported that with per-zone lru state it was possible to > identify that a normal zone with 8^M anonymous pages could trigger > OOM with non-atomic order-0 allocations as all pages

Re: [PATCH 5/5] mm: consider per-zone inactive ratio to deactivate

2016-07-21 Thread Joonsoo Kim
On Wed, Jul 20, 2016 at 04:21:51PM +0100, Mel Gorman wrote: > From: Minchan Kim > > Minchan Kim reported that with per-zone lru state it was possible to > identify that a normal zone with 8^M anonymous pages could trigger > OOM with non-atomic order-0 allocations as all pages in the zone > were

Re: [PATCH 5/5] mm: consider per-zone inactive ratio to deactivate

2016-07-20 Thread Minchan Kim
Hi Mel, On Wed, Jul 20, 2016 at 04:21:51PM +0100, Mel Gorman wrote: > From: Minchan Kim > > Minchan Kim reported that with per-zone lru state it was possible to > identify that a normal zone with 8^M anonymous pages could trigger > OOM with non-atomic order-0 allocations as

Re: [PATCH 5/5] mm: consider per-zone inactive ratio to deactivate

2016-07-20 Thread Minchan Kim
Hi Mel, On Wed, Jul 20, 2016 at 04:21:51PM +0100, Mel Gorman wrote: > From: Minchan Kim > > Minchan Kim reported that with per-zone lru state it was possible to > identify that a normal zone with 8^M anonymous pages could trigger > OOM with non-atomic order-0 allocations as all pages in the

[PATCH 5/5] mm: consider per-zone inactive ratio to deactivate

2016-07-20 Thread Mel Gorman
From: Minchan Kim Minchan Kim reported that with per-zone lru state it was possible to identify that a normal zone with 8^M anonymous pages could trigger OOM with non-atomic order-0 allocations as all pages in the zone were in the active list.

[PATCH 5/5] mm: consider per-zone inactive ratio to deactivate

2016-07-20 Thread Mel Gorman
From: Minchan Kim Minchan Kim reported that with per-zone lru state it was possible to identify that a normal zone with 8^M anonymous pages could trigger OOM with non-atomic order-0 allocations as all pages in the zone were in the active list.