Re: Memory management issue in 4.18.15

2018-10-25 Thread Sasha Levin
On Mon, Oct 22, 2018 at 1:01 PM Michal Hocko wrote: > > On Mon 22-10-18 15:08:22, Roman Gushchin wrote: > [...] > > RE backporting: I'm slightly surprised that only one patch of the memcg > > reclaim fix series has been backported. Either all or none makes much more > > sense to me. > > Yeah, I th

Re: Memory management issue in 4.18.15

2018-10-22 Thread Roman Gushchin
> On Sat 20-10-18 14:41:40, Spock wrote: > > Hello, > > > > I have a workload, which creates lots of cache pages. Before 4.18.15, > > the behavior was very stable: pagecache is constantly growing until it > > consumes all the free memory, and then kswapd is balancing it around > > low watermark. A

Re: Memory management issue in 4.18.15

2018-10-22 Thread Roman Gushchin
On Mon, Oct 22, 2018 at 10:33:22AM +0200, Michal Hocko wrote: > Cc som more people. > > I am wondering why 172b06c32b94 ("mm: slowly shrink slabs with a > relatively small number of objects") has been backported to the stable > tree when not marked that way. Put that aside it seems likely that the

Re: Memory management issue in 4.18.15

2018-10-22 Thread Michal Hocko
On Mon 22-10-18 15:08:22, Roman Gushchin wrote: [...] > RE backporting: I'm slightly surprised that only one patch of the memcg > reclaim fix series has been backported. Either all or none makes much more > sense to me. Yeah, I think this is AUTOSEL trying to be clever again. I though it has been

Re: Memory management issue in 4.18.15

2018-10-22 Thread Roman Gushchin
On Mon, Oct 22, 2018 at 10:33:22AM +0200, Michal Hocko wrote: > Cc som more people. > > I am wondering why 172b06c32b94 ("mm: slowly shrink slabs with a > relatively small number of objects") has been backported to the stable > tree when not marked that way. Put that aside it seems likely that the

Re: Memory management issue in 4.18.15

2018-10-22 Thread Michal Hocko
Cc som more people. I am wondering why 172b06c32b94 ("mm: slowly shrink slabs with a relatively small number of objects") has been backported to the stable tree when not marked that way. Put that aside it seems likely that the upstream kernel will have the same issue I suspect. Roman, could you ha

Re: Memory management issue in 4.18.15

2018-10-20 Thread Roman Gushchin
On Sat, Oct 20, 2018 at 08:37:28AM -0700, Randy Dunlap wrote: > [add linux-mm mailing list + people] > > > On 10/20/18 4:41 AM, Spock wrote: > > Hello, > > > > I have a workload, which creates lots of cache pages. Before 4.18.15, > > the behavior was very stable: pagecache is constantly growing

Re: Memory management issue in 4.18.15

2018-10-20 Thread Randy Dunlap
[add linux-mm mailing list + people] On 10/20/18 4:41 AM, Spock wrote: > Hello, > > I have a workload, which creates lots of cache pages. Before 4.18.15, > the behavior was very stable: pagecache is constantly growing until it > consumes all the free memory, and then kswapd is balancing it aroun

Memory management issue in 4.18.15

2018-10-20 Thread Spock
Hello, I have a workload, which creates lots of cache pages. Before 4.18.15, the behavior was very stable: pagecache is constantly growing until it consumes all the free memory, and then kswapd is balancing it around low watermark. After 4.18.15, once in a while khugepaged is waking up and reclaim