mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Jay Lan <jlan@engr.sgi.com>
Cc: roland <devzero@web.de>, Fengguang Wu <fengguang.wu@gmail.com>,
	linux-kernel@vger.kernel.org, lserinol@gmail.com
Subject: Re: I/O statistics per process
Date: Thu, 28 Sep 2006 15:14:09 -0700	[thread overview]
Message-ID: <20060928151409.f0a9bda7.akpm@osdl.org> (raw)
In-Reply-To: <451C45F1.1050604@engr.sgi.com>

On Thu, 28 Sep 2006 15:00:17 -0700
Jay Lan <jlan@engr.sgi.com> wrote:

> >>>    in __set_page_dirty_[no]buffers().) (But that ends up being wrong if
> >>>    someone truncates the file before it got written)
> >>>
> >>> - it doesn't account for file readahead (although it easily could)
> >>>
> >>> - it doesn't account for pagefault-initiated readahead (it could)
> >>>
> 
> Mmm, i am not a true FS I/O person. The data collection patches i
> submitted in Nov 2004 was the code i inherited and has been
> used in production system by our CSA customers. We lost a bit in
> contents and accuracy when CSA was ported from IRIX to Linux. I am
> sure there is room for improvement without much overhead.

OK, well it sounds like we're free to define these in any way we like.  So
we actually get to make them mean something useful - how nice.

I hereby declare: "approxmiately equal to the number of filesystem bytes
which this task has caused to occur, or which shall occur in the near
future".

> Maybe FS
> I/O guys can chip in?

I used to be one of them.  I can take a look at doing this.  Given the lack
of any applciation to read the darn numbers out I guess I'll need to expose
them in /proc for now.  Yes, that monitoring patch (and an application to
read from it!) would be appreciated, thanks.


  reply	other threads:[~2006-09-28 22:14 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-22 19:12 roland
     [not found] ` <20060924030415.GA11861@mail.ustc.edu.cn>
2006-09-24  3:04   ` Fengguang Wu
2006-09-27 21:22     ` roland
2006-09-27 22:55       ` Andrew Morton
2006-09-28 18:55         ` Jay Lan
2006-09-28 19:09           ` Andrew Morton
2006-09-28 20:05             ` roland
2006-09-28 22:00             ` Jay Lan
2006-09-28 22:14               ` Andrew Morton [this message]
2006-12-08  0:09                 ` roland
     [not found]                   ` <20061208012212.GA5796@mail.ustc.edu.cn>
2006-12-08  1:22                     ` Fengguang Wu
2006-12-08  8:55                       ` roland

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=20060928151409.f0a9bda7.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=devzero@web.de \
    --cc=fengguang.wu@gmail.com \
    --cc=jlan@engr.sgi.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lserinol@gmail.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

Powered by JetHome