From: Phillip Susi <psusi@ubuntu.com>
To: Matthew Wilcox <willy@linux.intel.com>
Cc: "Zuckerman, Boris" <borisz@hp.com>,
"linux-fsdevel@vger.kernel.org" <linux-fsdevel@vger.kernel.org>
Subject: Re: Tracking actual disk write sources instead of flush thread
Date: Wed, 23 Apr 2014 15:39:19 -0400 [thread overview]
Message-ID: <535816E7.2070106@ubuntu.com> (raw)
In-Reply-To: <20140423134805.GB13050@linux.intel.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 4/23/2014 9:48 AM, Matthew Wilcox wrote:
> How do you 'envision' this zero-overhead trace, exactly?
The same way blktrace currently works: the accounting code is not run
until enabled. When disabled, nothing more runs than does now.
Obviously while actively tracing, there would be overhead.
> I don't understand your high-level goal, which makes suggesting
> low-overhead solutions hard. Can you tolerate a certain amount of
> ambiguity, for example? Do you really only want to track back to
> the UID that is causing the I/O? With shared mmaps, are you OK
> attributing the I/O to one of the processes that has written to it,
> or do you need to attribute the write to all the processes that
> have written to that page?
I suppose the first process that dirties the page would be fine. It
isn't very often that more than one process is writing to the same
data at the same time.
> You're coming off kind of condescending, which isn't a great
> approach when you're asking for a new feature to be implemented.
I'm just a little flabbergasted that this regression ( I'm sure there
was a time when the current io accounting mechanism did work, probably
before the buffer_head -> page cache transition way, *way* back when )
went unfixed for so long, especially when it is kind of a vital tool
for a sysadmin trying to figure out why his system is slow. I think
every sysadmin out there takes it for granted that running iotop
should let them spot what process or processes are the source of all
the IO, so I almost can't believe that it doesn't really work.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJTWBbnAAoJEI5FoCIzSKrwJaUH/RG3kn8pDxtoqvijAZj6BgnT
iuI/ptnFhaYo22p3coRggqYHKI0Nu6MmNJx9Iq2g6lfoFTCY02Bb9fZ9r05Svg5h
pQaLvk0dsK1vNwYTHW573KkMiyeUTvi7nUeRUB9MTarhHO6HveqvENd/jEiviCE4
zOqyT15V9Riwm78L5ytQFNsq43wNtZ4d9MUmw0182f/IRtpHn/G1B0UroqjZgs/+
a5hIudxajar5oVfR6O0A7+guKkJa4b8ibUHns4zgbEo1HbO7taOcn6rNoNV/C3NK
lN5/0lcHNZwvk0JN9diiEP4812KWZyJIFm7E8FlvchkXNCeHG5hNHjg7FUB1t30=
=Cgep
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2014-04-23 19:46 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
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 [this message]
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=535816E7.2070106@ubuntu.com \
--to=psusi@ubuntu.com \
--cc=borisz@hp.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 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).