From: Zlatko Calusic <zlatko.calusic@iskon.hr>
To: Steffen Maier <smaier@users.sourceforge.net>
Cc: linux-kernel@vger.kernel.org, Rick Lindsley <ricklind@us.ibm.com>,
Andre Hedrick <andre@linux-ide.org>,
"Stephen C. Tweedie" <sct@redhat.com>,
Chad Talbott <ctalbott@google.com>,
Jochen Suckfuell <jo-lkml@suckfuell.net>,
Jens Axboe <axboe@suse.de>
Subject: Re: ios_in_flight of CONFIG_BLK_STATS (still) negative in 2.4
Date: Fri, 18 Aug 2006 11:27:30 +0200 [thread overview]
Message-ID: <87hd0acs1p.fsf@magla.zg.iskon.hr> (raw)
In-Reply-To: <Pine.LNX.4.64.0608171924570.16659@nettc.informatik.uni-stuttgart.de> (Steffen Maier's message of "Thu, 17 Aug 2006 19:36:51 +0200 (CEST)")
Steffen Maier <smaier@users.sourceforge.net> writes:
> Hello,
>
> in this posting I would like to analyze and discuss a bug(?), that
> causes the number of I/O requests in flight (ios_in_flight) of the
> extended block device statistics (CONFIG_BLK_STATS) to become and stay
> negative on various kernels of version 2.4. In turn, this leads to
> erroneous display of 100% utilization for certain classes of harddisk
> devices with 'iostat -x' and probably other statistic tools relying on
> the 13th (last but two) field (ios_in_flight) of extended block device
> statistics listed in /proc/partitions.
>
> First I encountered the behavior with 2.4.24 but could reproduce it
> with 2.4.33-rc3 (which is now the latest 2.4 kernel version 2.4.33).
> There have been various postings concerning this problem in recent
> years but to the best of my knowledge no ultimate fix has been merged
> into the mainstream kernel so far.
Have you tried this patch: http://linux.inet.hr/iostat_patch_2.4.html
It was made against 2.4.24 so you'll probably need to tweak it a
little bit before applying it cleanly to a newer 2.4, but I think it
deserves it's chance.
--
Zlatko
prev parent reply other threads:[~2006-08-18 9:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-17 17:36 Steffen Maier
2006-08-18 8:15 ` Jens Axboe
2006-09-14 14:58 ` [PATCH 2.4.33.3] block: fix negative bias of ios_in_flight (CONFIG_BLK_STATS) because of unbalanced I/O accounting Steffen Maier
2006-08-18 9:27 ` Zlatko Calusic [this message]
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=87hd0acs1p.fsf@magla.zg.iskon.hr \
--to=zlatko.calusic@iskon.hr \
--cc=andre@linux-ide.org \
--cc=axboe@suse.de \
--cc=ctalbott@google.com \
--cc=jo-lkml@suckfuell.net \
--cc=linux-kernel@vger.kernel.org \
--cc=ricklind@us.ibm.com \
--cc=sct@redhat.com \
--cc=smaier@users.sourceforge.net \
/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®