From: Phillip Susi <psusi@ubuntu.com>
To: Matthew Wilcox <willy@linux.intel.com>
Cc: linux-fsdevel@vger.kernel.org
Subject: Re: Tracking actual disk write sources instead of flush thread
Date: Wed, 16 Apr 2014 11:15:41 -0400 [thread overview]
Message-ID: <534E9E9D.5030600@ubuntu.com> (raw)
In-Reply-To: <20140416140147.GA15429@linux.intel.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 4/16/2014 10:01 AM, Matthew Wilcox wrote:
> On Tue, Apr 15, 2014 at 10:01:27PM -0400, Phillip Susi wrote:
>> A lot of disk writes, especially when they are small individual
>> files being written by several different processes, are hidden
>> behind the flush thread. Is there no way to properly track the
>> process actually responsible for the IO, even when it is the
>> flush thread that initiates the writeout?
>
> Correct.
Wow. If I understand things correctly, this also means that if
process A dirties a ton of cache pages, then process B tries to write
a relatively small amount, it can end up blocking in the synchronous
flush path, and so it will appear that process B and flush are doing
all of the writes, and not process A.
That seems like a severe defect. How can such a defect be tolerated
in this day and age? Why does the io accounting not track how many
pages the process dirties rather than how many it actually initiates
the writeout for?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJTTp6dAAoJEI5FoCIzSKrwBV0IAJGguGEYYWIMe0II9MtbQB1e
S+ObSEygB1u6xt9GABLaUYhC7+e53vpx0/yNMbhQy+Zte79aBHXGYlP0fG4itazt
1QVjstMnSnmu6/9Q3wif3ldRgN56OkrA//L4zufLSNyWOQIRJ+I7HIg1S7ZqsvL8
Rvewat7i9jbCgT98FEqeUQp0iXqDkoZ+BVrS5s/bgBkSPdCLCiS0pRva+guabjSm
B9r7n5XGrjMqRJsSGX2kofpv3sZ7NhyTBFhbryZaBe6WIChS121rFZxqAWBTqPbp
Xm7N03djIekXD6Y+onLNloKV9Voe4k/1BLx1PLMjy1TRD4Cv6iTNWCB6x7ppTxM=
=yp+R
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2014-04-16 15:15 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-16 2:01 Tracking actual disk write sources instead of flush thread Phillip Susi
2014-04-16 14:01 ` Matthew Wilcox
2014-04-16 15:15 ` Phillip Susi [this message]
2014-04-16 16:42 ` Andreas Dilger
2014-04-16 17:44 ` Zuckerman, Boris
2014-04-16 18:18 ` Phillip Susi
2014-04-16 18:28 ` Zuckerman, Boris
2014-04-16 19:27 ` Phillip Susi
2014-04-23 13:48 ` Matthew Wilcox
2014-04-23 19:39 ` Phillip Susi
2014-04-23 23:00 ` Theodore Ts'o
2014-04-24 1:20 ` Phillip Susi
2014-04-23 23:19 ` Andreas Dilger
2014-04-24 1:39 ` Phillip Susi
2014-04-28 3:27 ` Andi Kleen
2014-04-16 19:33 ` Andi Kleen
2014-04-24 19:33 ` Jan Kara
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=534E9E9D.5030600@ubuntu.com \
--to=psusi@ubuntu.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=willy@linux.intel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.