mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: bert hubert <ahu@ds9a.nl>
To: riel@conectiva.com.br, akpm@digeo.com,
	linux-kernel@vger.kernel.org, albert@users.sf.net
Subject: Re: 2.5.44 io accounting weirdness, bi & bo swapped?
Date: Wed, 23 Oct 2002 14:48:19 +0200	[thread overview]
Message-ID: <20021023124819.GA32421@outpost.ds9a.nl> (raw)
In-Reply-To: <20021023121347.GA31763@outpost.ds9a.nl>

On Wed, Oct 23, 2002 at 02:13:47PM +0200, bert hubert wrote:
> It appears as if the kernel does its accounting wrong in some places. For
> example, with procps 3.0.4, dd if=/dev/zero of=/mnt/100mb bs=1024
> count=100000 causes large 'bi' readings:

My bad. In this case, what I thought of as sane:

> However, mmapping a file and touching 100mb of pages does the following,
> which looks sane:
> 
>  r  b  w   swpd   free   buff  cache   si   so    bi    bo   in    cs us sy id
>  1  0  1  14320   7972   1952 146560    0    0     0  1912 1279   277  2 53 45

Is not. Touching a page entails reading it. In Albert's procps with 2.5.44,
bi and bo are reversed. Rik's vmstat does report things correctly.

Because I saw vmstat sometimes being right and sometimes being wrong, I
derived that is was the kernel that was at fault.

Perhaps Albert's procps isn't ready for 2.5.44?

Regards,

bert hubert

-- 
http://www.PowerDNS.com          Versatile DNS Software & Services
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO

  reply	other threads:[~2002-10-23 12:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-23 12:13 bert hubert
2002-10-23 12:48 ` bert hubert [this message]
2002-10-23 14:56   ` Rik van Riel
2002-10-23 22:25   ` Albert D. Cahalan

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=20021023124819.GA32421@outpost.ds9a.nl \
    --to=ahu@ds9a.nl \
    --cc=akpm@digeo.com \
    --cc=albert@users.sf.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=riel@conectiva.com.br \
    /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

all inboxes | Powered by JetHome®