From: Simon Kirby <sim@hostway.ca>
To: Holger Hoffst?tte <holger.hoffstaette@googlemail.com>
Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: Dirty pages underflow on 3.14.23
Date: Wed, 7 Jan 2015 13:28:58 -0800 [thread overview]
Message-ID: <20150107212858.GA6664@hostway.ca> (raw)
In-Reply-To: <pan.2015.01.07.10.57.46@googlemail.com>
On Wed, Jan 07, 2015 at 10:57:46AM +0000, Holger Hoffst?tte wrote:
> On Tue, 06 Jan 2015 12:54:43 -0500, Mikulas Patocka wrote:
>
> > I can't reprodce it. It happened just once.
> >
> > That patch is supposed to fix an occasional underflow by a single page -
> > while my meminfo showed underflow by 22952KiB (5738 pages).
>
> You are probably looking for:
> commit 835f252c6debd204fcd607c79975089b1ecd3472
> "aio: fix uncorrent dirty pages accouting when truncating AIO ring buffer"
>
> It definitely went into 3.14.26, don't know about 3.16.x.
I can confirm that a MySQL shutdown/restart triggers it for me, even
immediately following a fresh boot:
# uname -a ; grep '^nr_dirty ' /proc/vmstat; /etc/init.d/mysql restart; \
grep '^nr_dirty ' /proc/vmstat
Linux blue 3.16.6-blue #51 Mon Oct 20 14:00:47 PDT 2014 i686 GNU/Linux
nr_dirty 13
[ ok ] Stopping MySQL database server: mysqld.
[ ok ] Starting MySQL database server: mysqld . ..
[info] Checking for tables which need an upgrade, are corrupt or were not closed cleanly..
nr_dirty 4294967245
Hmm...A possibly-related issue...Before trying this, after a fresh boot,
/proc/vmstat showed:
nr_alloc_batch 4294541205
and after the restart, it shows:
nr_alloc_batch 161
...anyway, git cherry-pick ce4b66be6cd964e84363afd4a603633dd061b3b8 on
3.16.6 tree does seem to fix nr_dirty from underflowing...Yay!
Still, nr_alloc_batch reads as 4294254379 after MySQL restart, and now
seems to stay up there.
Simon-
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2015-01-07 21:29 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-05 23:05 Dirty pages underflow on 3.14.23 Mikulas Patocka
2015-01-06 15:02 ` Johannes Weiner
2015-01-06 17:54 ` Mikulas Patocka
2015-01-07 10:57 ` Holger Hoffstätte
2015-01-07 21:28 ` Simon Kirby [this message]
2015-01-07 21:48 ` Vlastimil Babka
2015-01-08 1:04 ` Simon Kirby
2015-01-08 12:10 ` Vlastimil Babka
2015-01-07 9:44 ` Simon Kirby
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=20150107212858.GA6664@hostway.ca \
--to=sim@hostway.ca \
--cc=holger.hoffstaette@googlemail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
/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;
as well as URLs for NNTP newsgroup(s).