xfs
[Top] [All Lists]

Re: memory reclaim problems on fs usage

To: Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: memory reclaim problems on fs usage
From: Arkadiusz MiÅkiewicz <arekm@xxxxxxxx>
Date: Sat, 14 Nov 2015 21:40:38 +0100
Cc: linux-mm@xxxxxxxxx, xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maven.pl; s=maven; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; bh=lIcR/YSVdrxzY33F6BCgeBv85UKvsvZdWaU5m48tWfc=; b=vKJ/0C+d+evJ1OHXZVFhjtXTeoz4PzSyJumSzRZNAimI7yrtvIhHdUaNqXOMaLppyB WLwG2xWWy2ex243ddVYG+cRItHndA4zfQ0NaWRq4kzPTdfgp2Ckm9hHIn1y/JKX7pFv8 BYq2VF29S0rS16yT/aOoGZnJN2/KHqwhRO3H0=
In-reply-to: <201511122228.26399.arekm@xxxxxxxx>
References: <201511102313.36685.arekm@xxxxxxxx> <56449E44.7020407@xxxxxxxxxxxxxxxxxxx> <201511122228.26399.arekm@xxxxxxxx>
User-agent: KMail/1.13.7 (Linux/4.3.0; KDE/4.14.13; x86_64; ; )
On Thursday 12 of November 2015, Arkadiusz MiÅkiewicz wrote:
> On Thursday 12 of November 2015, Tetsuo Handa wrote:
> > On 2015/11/12 15:06, Arkadiusz MiÅkiewicz wrote:
> > > On Wednesday 11 of November 2015, Tetsuo Handa wrote:
> > >> Arkadiusz Mi?kiewicz wrote:
> > >>> This patch is against which tree? (tried 4.1, 4.2 and 4.3)
> > >> 
> > >> Oops. Whitespace-damaged. This patch is for vanilla 4.1.2.
> > >> Reposting with one condition corrected.
> > > 
> > > Here is log:
> > > 
> > > http://ixion.pld-linux.org/~arekm/log-mm-1.txt.gz
> > > 
> > > Uncompresses is 1.4MB, so not posting here.
> > 
> > Thank you for the log. The result is unexpected for me.
> 
> [...]
> 
> > vmstat_update() and submit_flushes() remained pending for about 110
> > seconds. If xlog_cil_push_work() were spinning inside GFP_NOFS
> > allocation, it should be reported as MemAlloc: traces, but no such lines
> > are recorded. I don't know why xlog_cil_push_work() did not call
> > schedule() for so long. Anyway, applying
> > http://lkml.kernel.org/r/20151111160336.GD1432@xxxxxxxxxxxxxx should
> > solve vmstat_update() part.
> 
> To apply that patch on top of 4.1.13 I also had to apply patches listed
> below.
> 
> So in summary appllied:
> http://sprunge.us/GYBb
> http://sprunge.us/XWUX
> http://sprunge.us/jZjV

I've tried more to trigger "page allocation failure" with usual actions that 
triggered it previously but couldn't reproduce. With these patches applied it 
doesn't happen.

Logs from my tests:

http://ixion.pld-linux.org/~arekm/log-mm-3.txt.gz
http://ixion.pld-linux.org/~arekm/log-mm-4.txt.gz (with swap added)

But are these patches solving the problem or just hiding it?

-- 
Arkadiusz MiÅkiewicz, arekm / ( maven.pl | pld-linux.org )

<Prev in Thread] Current Thread [Next in Thread>