linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Matthew Wilcox <willy@linux.intel.com>
To: Phillip Susi <psusi@ubuntu.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 09:48:05 -0400	[thread overview]
Message-ID: <20140423134805.GB13050@linux.intel.com> (raw)
In-Reply-To: <534ED9B8.9090605@ubuntu.com>

On Wed, Apr 16, 2014 at 03:27:52PM -0400, Phillip Susi wrote:
> On 4/16/2014 2:28 PM, Zuckerman, Boris wrote:
> > [bz:] In such case I'd rather have lighter implementation of
> > caching layer, than ability to track disk IOs per process. IOs per
> > process can be tracked by other tools...
> 
> What other tools?
> 
> I can envision blktrace being extended to hook into the mm layer to
> track the real source of writes, but without any overhead when the
> trace is not running.

How do you 'envision' this zero-overhead trace, exactly?

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?

You're coming off kind of condescending, which isn't a great approach
when you're asking for a new feature to be implemented.

  reply	other threads:[~2014-04-23 13:48 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 [this message]
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=20140423134805.GB13050@linux.intel.com \
    --to=willy@linux.intel.com \
    --cc=borisz@hp.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=psusi@ubuntu.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).