Re: [RFC PATCH] mm: don't reclaim inodes with many attached pages

2018-10-26 Thread Spock
пт, 26 окт. 2018 г. в 18:57, Roman Gushchin : > > On Fri, Oct 26, 2018 at 10:57:35AM +0200, Michal Hocko wrote: > > Spock doesn't seem to be cced here - fixed now > > > > On Tue 23-10-18 16:43:29, Roman Gushchin wrote: > > > Spock reported that the commit 172b06c32b94 ("mm: slowly shrink slabs > >

Re: [RFC PATCH] mm: don't reclaim inodes with many attached pages

2018-10-26 Thread Spock
пт, 26 окт. 2018 г. в 18:57, Roman Gushchin : > > On Fri, Oct 26, 2018 at 10:57:35AM +0200, Michal Hocko wrote: > > Spock doesn't seem to be cced here - fixed now > > > > On Tue 23-10-18 16:43:29, Roman Gushchin wrote: > > > Spock reported that the commit 172b06c32b94 ("mm: slowly shrink slabs > >

Re: [RFC PATCH] mm: don't reclaim inodes with many attached pages

2018-10-26 Thread Roman Gushchin
On Fri, Oct 26, 2018 at 10:57:35AM +0200, Michal Hocko wrote: > Spock doesn't seem to be cced here - fixed now > > On Tue 23-10-18 16:43:29, Roman Gushchin wrote: > > Spock reported that the commit 172b06c32b94 ("mm: slowly shrink slabs > > with a relatively small number of objects") leads to a

Re: [RFC PATCH] mm: don't reclaim inodes with many attached pages

2018-10-26 Thread Roman Gushchin
On Fri, Oct 26, 2018 at 10:57:35AM +0200, Michal Hocko wrote: > Spock doesn't seem to be cced here - fixed now > > On Tue 23-10-18 16:43:29, Roman Gushchin wrote: > > Spock reported that the commit 172b06c32b94 ("mm: slowly shrink slabs > > with a relatively small number of objects") leads to a

Re: [RFC PATCH] mm: don't reclaim inodes with many attached pages

2018-10-26 Thread Roman Gushchin
On Fri, Oct 26, 2018 at 10:57:35AM +0200, Michal Hocko wrote: > Spock doesn't seem to be cced here - fixed now > > On Tue 23-10-18 16:43:29, Roman Gushchin wrote: > > Spock reported that the commit 172b06c32b94 ("mm: slowly shrink slabs > > with a relatively small number of objects") leads to a

Re: [RFC PATCH] mm: don't reclaim inodes with many attached pages

2018-10-26 Thread Roman Gushchin
On Fri, Oct 26, 2018 at 10:57:35AM +0200, Michal Hocko wrote: > Spock doesn't seem to be cced here - fixed now > > On Tue 23-10-18 16:43:29, Roman Gushchin wrote: > > Spock reported that the commit 172b06c32b94 ("mm: slowly shrink slabs > > with a relatively small number of objects") leads to a

Re: [RFC PATCH] mm: don't reclaim inodes with many attached pages

2018-10-26 Thread Roman Gushchin
On Fri, Oct 26, 2018 at 09:33:03AM +0200, Michal Hocko wrote: > On Thu 25-10-18 20:32:47, Roman Gushchin wrote: > > On Thu, Oct 25, 2018 at 04:20:14PM -0400, Sasha Levin wrote: > > > On Thu, Oct 25, 2018 at 12:44:42PM -0700, Andrew Morton wrote: > > > > On Thu, 25 Oct 2018 11:23:52 +0200 Michal

Re: [RFC PATCH] mm: don't reclaim inodes with many attached pages

2018-10-26 Thread Roman Gushchin
On Fri, Oct 26, 2018 at 09:33:03AM +0200, Michal Hocko wrote: > On Thu 25-10-18 20:32:47, Roman Gushchin wrote: > > On Thu, Oct 25, 2018 at 04:20:14PM -0400, Sasha Levin wrote: > > > On Thu, Oct 25, 2018 at 12:44:42PM -0700, Andrew Morton wrote: > > > > On Thu, 25 Oct 2018 11:23:52 +0200 Michal

Re: [RFC PATCH] mm: don't reclaim inodes with many attached pages

2018-10-26 Thread Michal Hocko
Spock doesn't seem to be cced here - fixed now On Tue 23-10-18 16:43:29, Roman Gushchin wrote: > Spock reported that the commit 172b06c32b94 ("mm: slowly shrink slabs > with a relatively small number of objects") leads to a regression on > his setup: periodically the majority of the pagecache is

Re: [RFC PATCH] mm: don't reclaim inodes with many attached pages

2018-10-26 Thread Michal Hocko
Spock doesn't seem to be cced here - fixed now On Tue 23-10-18 16:43:29, Roman Gushchin wrote: > Spock reported that the commit 172b06c32b94 ("mm: slowly shrink slabs > with a relatively small number of objects") leads to a regression on > his setup: periodically the majority of the pagecache is

Re: [RFC PATCH] mm: don't reclaim inodes with many attached pages

2018-10-26 Thread Michal Hocko
On Thu 25-10-18 20:32:47, Roman Gushchin wrote: > On Thu, Oct 25, 2018 at 04:20:14PM -0400, Sasha Levin wrote: > > On Thu, Oct 25, 2018 at 12:44:42PM -0700, Andrew Morton wrote: > > > On Thu, 25 Oct 2018 11:23:52 +0200 Michal Hocko wrote: > > > > > > > On Wed 24-10-18 15:19:50, Andrew Morton

Re: [RFC PATCH] mm: don't reclaim inodes with many attached pages

2018-10-26 Thread Michal Hocko
On Thu 25-10-18 20:32:47, Roman Gushchin wrote: > On Thu, Oct 25, 2018 at 04:20:14PM -0400, Sasha Levin wrote: > > On Thu, Oct 25, 2018 at 12:44:42PM -0700, Andrew Morton wrote: > > > On Thu, 25 Oct 2018 11:23:52 +0200 Michal Hocko wrote: > > > > > > > On Wed 24-10-18 15:19:50, Andrew Morton

Re: [RFC PATCH] mm: don't reclaim inodes with many attached pages

2018-10-25 Thread Sasha Levin
On Thu, Oct 25, 2018 at 01:27:07PM -0700, Matthew Wilcox wrote: On Thu, Oct 25, 2018 at 04:20:14PM -0400, Sasha Levin wrote: On Thu, Oct 25, 2018 at 12:44:42PM -0700, Andrew Morton wrote: > Yup. Sasha, can you please take care of this? Sure, I'll revert it from current stable trees. Should

Re: [RFC PATCH] mm: don't reclaim inodes with many attached pages

2018-10-25 Thread Sasha Levin
On Thu, Oct 25, 2018 at 01:27:07PM -0700, Matthew Wilcox wrote: On Thu, Oct 25, 2018 at 04:20:14PM -0400, Sasha Levin wrote: On Thu, Oct 25, 2018 at 12:44:42PM -0700, Andrew Morton wrote: > Yup. Sasha, can you please take care of this? Sure, I'll revert it from current stable trees. Should

Re: [RFC PATCH] mm: don't reclaim inodes with many attached pages

2018-10-25 Thread Roman Gushchin
On Thu, Oct 25, 2018 at 04:20:14PM -0400, Sasha Levin wrote: > On Thu, Oct 25, 2018 at 12:44:42PM -0700, Andrew Morton wrote: > > On Thu, 25 Oct 2018 11:23:52 +0200 Michal Hocko wrote: > > > > > On Wed 24-10-18 15:19:50, Andrew Morton wrote: > > > > On Tue, 23 Oct 2018 16:43:29 + Roman

Re: [RFC PATCH] mm: don't reclaim inodes with many attached pages

2018-10-25 Thread Roman Gushchin
On Thu, Oct 25, 2018 at 04:20:14PM -0400, Sasha Levin wrote: > On Thu, Oct 25, 2018 at 12:44:42PM -0700, Andrew Morton wrote: > > On Thu, 25 Oct 2018 11:23:52 +0200 Michal Hocko wrote: > > > > > On Wed 24-10-18 15:19:50, Andrew Morton wrote: > > > > On Tue, 23 Oct 2018 16:43:29 + Roman

Re: [RFC PATCH] mm: don't reclaim inodes with many attached pages

2018-10-25 Thread Matthew Wilcox
On Thu, Oct 25, 2018 at 04:20:14PM -0400, Sasha Levin wrote: > On Thu, Oct 25, 2018 at 12:44:42PM -0700, Andrew Morton wrote: > > Yup. Sasha, can you please take care of this? > > Sure, I'll revert it from current stable trees. > > Should 172b06c32b94 and this commit be backported once Roman

Re: [RFC PATCH] mm: don't reclaim inodes with many attached pages

2018-10-25 Thread Matthew Wilcox
On Thu, Oct 25, 2018 at 04:20:14PM -0400, Sasha Levin wrote: > On Thu, Oct 25, 2018 at 12:44:42PM -0700, Andrew Morton wrote: > > Yup. Sasha, can you please take care of this? > > Sure, I'll revert it from current stable trees. > > Should 172b06c32b94 and this commit be backported once Roman

Re: [RFC PATCH] mm: don't reclaim inodes with many attached pages

2018-10-25 Thread Sasha Levin
On Thu, Oct 25, 2018 at 12:44:42PM -0700, Andrew Morton wrote: On Thu, 25 Oct 2018 11:23:52 +0200 Michal Hocko wrote: On Wed 24-10-18 15:19:50, Andrew Morton wrote: > On Tue, 23 Oct 2018 16:43:29 + Roman Gushchin wrote: > > > Spock reported that the commit 172b06c32b94 ("mm: slowly

Re: [RFC PATCH] mm: don't reclaim inodes with many attached pages

2018-10-25 Thread Sasha Levin
On Thu, Oct 25, 2018 at 12:44:42PM -0700, Andrew Morton wrote: On Thu, 25 Oct 2018 11:23:52 +0200 Michal Hocko wrote: On Wed 24-10-18 15:19:50, Andrew Morton wrote: > On Tue, 23 Oct 2018 16:43:29 + Roman Gushchin wrote: > > > Spock reported that the commit 172b06c32b94 ("mm: slowly

Re: [RFC PATCH] mm: don't reclaim inodes with many attached pages

2018-10-25 Thread Andrew Morton
On Thu, 25 Oct 2018 11:23:52 +0200 Michal Hocko wrote: > On Wed 24-10-18 15:19:50, Andrew Morton wrote: > > On Tue, 23 Oct 2018 16:43:29 + Roman Gushchin wrote: > > > > > Spock reported that the commit 172b06c32b94 ("mm: slowly shrink slabs > > > with a relatively small number of objects")

Re: [RFC PATCH] mm: don't reclaim inodes with many attached pages

2018-10-25 Thread Andrew Morton
On Thu, 25 Oct 2018 11:23:52 +0200 Michal Hocko wrote: > On Wed 24-10-18 15:19:50, Andrew Morton wrote: > > On Tue, 23 Oct 2018 16:43:29 + Roman Gushchin wrote: > > > > > Spock reported that the commit 172b06c32b94 ("mm: slowly shrink slabs > > > with a relatively small number of objects")

Re: [RFC PATCH] mm: don't reclaim inodes with many attached pages

2018-10-25 Thread Michal Hocko
On Wed 24-10-18 15:19:50, Andrew Morton wrote: > On Tue, 23 Oct 2018 16:43:29 + Roman Gushchin wrote: > > > Spock reported that the commit 172b06c32b94 ("mm: slowly shrink slabs > > with a relatively small number of objects") leads to a regression on > > his setup: periodically the majority

Re: [RFC PATCH] mm: don't reclaim inodes with many attached pages

2018-10-25 Thread Michal Hocko
On Wed 24-10-18 15:19:50, Andrew Morton wrote: > On Tue, 23 Oct 2018 16:43:29 + Roman Gushchin wrote: > > > Spock reported that the commit 172b06c32b94 ("mm: slowly shrink slabs > > with a relatively small number of objects") leads to a regression on > > his setup: periodically the majority

Re: [RFC PATCH] mm: don't reclaim inodes with many attached pages

2018-10-24 Thread Roman Gushchin
On Wed, Oct 24, 2018 at 03:19:50PM -0700, Andrew Morton wrote: > On Tue, 23 Oct 2018 16:43:29 + Roman Gushchin wrote: > > > Spock reported that the commit 172b06c32b94 ("mm: slowly shrink slabs > > with a relatively small number of objects") leads to a regression on > > his setup:

Re: [RFC PATCH] mm: don't reclaim inodes with many attached pages

2018-10-24 Thread Roman Gushchin
On Wed, Oct 24, 2018 at 03:19:50PM -0700, Andrew Morton wrote: > On Tue, 23 Oct 2018 16:43:29 + Roman Gushchin wrote: > > > Spock reported that the commit 172b06c32b94 ("mm: slowly shrink slabs > > with a relatively small number of objects") leads to a regression on > > his setup:

Re: [RFC PATCH] mm: don't reclaim inodes with many attached pages

2018-10-24 Thread Roman Gushchin
On Wed, Oct 24, 2018 at 03:18:53PM -0700, Andrew Morton wrote: > On Tue, 23 Oct 2018 16:43:29 + Roman Gushchin wrote: > > > Spock reported that the commit 172b06c32b94 ("mm: slowly shrink slabs > > with a relatively small number of objects") leads to a regression on > > his setup:

Re: [RFC PATCH] mm: don't reclaim inodes with many attached pages

2018-10-24 Thread Roman Gushchin
On Wed, Oct 24, 2018 at 03:18:53PM -0700, Andrew Morton wrote: > On Tue, 23 Oct 2018 16:43:29 + Roman Gushchin wrote: > > > Spock reported that the commit 172b06c32b94 ("mm: slowly shrink slabs > > with a relatively small number of objects") leads to a regression on > > his setup:

Re: [RFC PATCH] mm: don't reclaim inodes with many attached pages

2018-10-24 Thread Andrew Morton
On Tue, 23 Oct 2018 16:43:29 + Roman Gushchin wrote: > Spock reported that the commit 172b06c32b94 ("mm: slowly shrink slabs > with a relatively small number of objects") leads to a regression on > his setup: periodically the majority of the pagecache is evicted > without an obvious reason,

Re: [RFC PATCH] mm: don't reclaim inodes with many attached pages

2018-10-24 Thread Andrew Morton
On Tue, 23 Oct 2018 16:43:29 + Roman Gushchin wrote: > Spock reported that the commit 172b06c32b94 ("mm: slowly shrink slabs > with a relatively small number of objects") leads to a regression on > his setup: periodically the majority of the pagecache is evicted > without an obvious reason,

Re: [RFC PATCH] mm: don't reclaim inodes with many attached pages

2018-10-24 Thread Andrew Morton
On Tue, 23 Oct 2018 16:43:29 + Roman Gushchin wrote: > Spock reported that the commit 172b06c32b94 ("mm: slowly shrink slabs > with a relatively small number of objects") leads to a regression on > his setup: periodically the majority of the pagecache is evicted > without an obvious reason,

Re: [RFC PATCH] mm: don't reclaim inodes with many attached pages

2018-10-24 Thread Andrew Morton
On Tue, 23 Oct 2018 16:43:29 + Roman Gushchin wrote: > Spock reported that the commit 172b06c32b94 ("mm: slowly shrink slabs > with a relatively small number of objects") leads to a regression on > his setup: periodically the majority of the pagecache is evicted > without an obvious reason,