public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: mingming cao <cmm@us.ibm.com>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Jean-Eric Cuendet <jean-eric.cuendet@linkvest.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Rework of /proc/stat
Date: Wed, 06 Mar 2002 17:13:20 -0800	[thread overview]
Message-ID: <3C86BEB0.4090203@us.ibm.com> (raw)
In-Reply-To: <3C86553E.3070608@linkvest.com> <E16ik6y-0008Qf-00@the-village.bc.nu>

Alan Cox wrote:

>>I've made a new version of IO statistics in kstat that remove the
>>previous limitations of MAX_MAJOR. I've made tests on my machine only, so could someone test it, please?
>>Feedback welcome.
>>
> 
> Any reason for preferring this over the sard patches in -ac ?
> 

Basically, statistic data are moved from the global kstat structure to 
the request_queue structures, and it is allocated/freed when the request 
queue is initialized and freed.  This way it is

1)self-controlled;
2)avoid the lookup step before the accounting, so it should be faster;
3)statistics implementation is not affected by the major/minor numbers;
4)able to gathering statistics for all disks while keep the memory needs 
minimized.


  reply	other threads:[~2002-03-07  1:21 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-06 17:43 [PATCH] Rework of /proc/stat Jean-Eric Cuendet
2002-03-06 20:08 ` James Stevenson
2002-03-06 22:42 ` Alan Cox
2002-03-07  1:13   ` mingming cao [this message]
2002-03-07 11:16     ` Jean-Eric Cuendet
2002-03-07 11:48     ` Christoph Hellwig
2002-03-07 13:50     ` Alan Cox
2002-03-07 13:53       ` Jean-Eric Cuendet
2002-03-07 14:17         ` Alan Cox
2002-03-07 11:11   ` Jean-Eric Cuendet
2002-03-07 11:48     ` Arjan van de Ven
2002-03-07 12:48     ` Alan Cox
2002-03-07 11:40   ` Jean-Eric Cuendet
2002-03-07 12:51     ` Alan Cox
     [not found] <E16lBe4-0006ly-00@the-village.bc.nu>
2002-03-13 16:41 ` Jean-Eric Cuendet
  -- strict thread matches above, loose matches on Subject: below --
2002-03-06 17:16 Jean-Eric Cuendet
2002-03-06 17:25 ` Russell King
2002-03-06 19:48 ` Dominik Kubla
2002-03-07 11:12   ` Jean-Eric Cuendet
2002-03-07  1:07 ` mingming cao

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=3C86BEB0.4090203@us.ibm.com \
    --to=cmm@us.ibm.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=jean-eric.cuendet@linkvest.com \
    --cc=linux-kernel@vger.kernel.org \
    /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