From: "Arkadiusz Miśkiewicz" <arekm@maven.pl>
To: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
Cc: linux-mm@kvack.org, xfs@oss.sgi.com
Subject: Re: memory reclaim problems on fs usage
Date: Thu, 12 Nov 2015 22:28:26 +0100 [thread overview]
Message-ID: <201511122228.26399.arekm@maven.pl> (raw)
In-Reply-To: <56449E44.7020407@I-love.SAKURA.ne.jp>
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@dhcp22.suse.cz 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
(Could try http://lkml.kernel.org/r/20151111160336.GD1432@dhcp22.suse.cz only
if there is version for 4.1 tree somewhere)
commit 0aaa29a56e4fb0fc9e24edb649e2733a672ca099
Author: Mel Gorman <mgorman@techsingularity.net>
Date: Fri Nov 6 16:28:37 2015 -0800
mm, page_alloc: reserve pageblocks for high-order atomic allocations on
demand
commit 974a786e63c96a2401a78ddba926f34c128474f1
Author: Mel Gorman <mgorman@techsingularity.net>
Date: Fri Nov 6 16:28:34 2015 -0800
mm, page_alloc: remove MIGRATE_RESERVE
commit c2d42c16ad83006a706d83e51a7268db04af733a
Author: Andrew Morton <akpm@linux-foundation.org>
Date: Thu Nov 5 18:48:43 2015 -0800
mm/vmstat.c: uninline node_page_state()
commit 176bed1de5bf977938cad26551969eca8f0883b1
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date: Thu Oct 15 13:01:50 2015 -0700
vmstat: explicitly schedule per-cpu work on the CPU we need it to run on
[...]
>
> Well, what steps should we try next for isolating the problem?
>
> Swap is not used at all. Turning off swap might help.
Disabled swap.
>
> [ 8633.753574] Free swap = 117220800kB
> [ 8633.753576] Total swap = 117220820kB
>
> Turning off perf might also help.
>
> [ 5001.394085] perf interrupt took too long (2505 > 2495), lowering
> kernel.perf_event_max_sample_rate to 50100
Didn't find a way to disable perf. kernel .config option gets autoenabled by
some dependency. So left this untouched.
With mentioned patches I wasn't able to reproduce memory allocation problem
(still trying though).
Current debug log: http://ixion.pld-linux.org/~arekm/log-mm-2.txt.gz
--
Arkadiusz Miśkiewicz, arekm / ( maven.pl | pld-linux.org )
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2015-11-12 21:28 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-10 22:13 memory reclaim problems on fs usage Arkadiusz Miśkiewicz
2015-11-11 15:58 ` Tetsuo Handa
2015-11-11 16:19 ` Arkadiusz Miśkiewicz
2015-11-11 22:19 ` Tetsuo Handa
2015-11-12 6:06 ` Arkadiusz Miśkiewicz
2015-11-12 14:12 ` Tetsuo Handa
2015-11-12 20:06 ` Dave Chinner
2015-11-13 12:19 ` Tetsuo Handa
2015-11-12 21:28 ` Arkadiusz Miśkiewicz [this message]
2015-11-14 20:40 ` Arkadiusz Miśkiewicz
2015-11-15 2:35 ` Tetsuo Handa
2015-11-15 11:29 ` Arkadiusz Miśkiewicz
2015-11-15 14:13 ` Tetsuo Handa
2015-11-15 14:49 ` Arkadiusz Miśkiewicz
2015-11-16 16:15 ` Michal Hocko
2015-11-18 22:36 ` Arkadiusz Miśkiewicz
2015-11-19 15:59 ` Tetsuo Handa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201511122228.26399.arekm@maven.pl \
--to=arekm@maven.pl \
--cc=linux-mm@kvack.org \
--cc=penguin-kernel@i-love.sakura.ne.jp \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox