public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric Dumazet <dada1@cosmosbay.com>
To: akpm@osdl.org
Cc: linux-kernel@vger.kernel.org, balbir@in.ibm.com,
	csturtiv@sgi.com, daw@sgi.com, guillaume.thouvenin@bull.net,
	jlan@sgi.com, nagar@watson.ibm.com, tee@sgi.com
Subject: Re: [patch 01/13] io-accounting: core statistics
Date: Fri, 08 Dec 2006 13:04:15 +0100	[thread overview]
Message-ID: <457954BF.7040707@cosmosbay.com> (raw)
In-Reply-To: <200612081152.kB8BqOkh019750@shell0.pdx.osdl.net>

akpm@osdl.org a écrit :
> From: Andrew Morton <akpm@osdl.org>
> 
> The present per-task IO accounting isn't very useful.  It simply counts the
> number of bytes passed into read() and write().  So if a process reads 1MB
> from an already-cached file, it is accused of having performed 1MB of I/O,
> which is wrong.

Any chance we can report some io accounting values in getresource()/wait4()... 
too ?

# /usr/bin/time find /usr -name 'foo'
0.24user 0.22system 0:00.70elapsed 66%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+222minor)pagefaults 0swaps


  reply	other threads:[~2006-12-08 12:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-08 11:52 [patch 01/13] io-accounting: core statistics akpm
2006-12-08 12:04 ` Eric Dumazet [this message]
2006-12-08 19:47   ` Andrew Morton

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=457954BF.7040707@cosmosbay.com \
    --to=dada1@cosmosbay.com \
    --cc=akpm@osdl.org \
    --cc=balbir@in.ibm.com \
    --cc=csturtiv@sgi.com \
    --cc=daw@sgi.com \
    --cc=guillaume.thouvenin@bull.net \
    --cc=jlan@sgi.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nagar@watson.ibm.com \
    --cc=tee@sgi.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