All of lore.kernel.org
 help / color / mirror / Atom feed
From: "M. Edward Borasky" <znmeb@cesmail.net>
To: Jens Axboe <axboe@suse.de>
Cc: Marcelo Tosatti <marcelo.tosatti@cyclades.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Negative "ios_in_flight" in the 2.4 kernel
Date: Thu, 23 Dec 2004 07:30:04 -0800	[thread overview]
Message-ID: <1103815804.4063.33.camel@DreamGate> (raw)
In-Reply-To: <20041223080806.GG12463@suse.de>

On Thu, 2004-12-23 at 09:08 +0100, Jens Axboe wrote:
> > We could eliminate that possibility if you ran your tests with a single 
> > non-partitioned disk, but thats just a guess.
> 
> It would be nice to know if this was a vanilla kernel or patched in some
> way. The only recent bug in this area I remember was a bad merge in the
> SUSE tree with the io_request_lock scaling patch.

I have seen this with Red Hat 2.4.18 (from RH 8.0) kernels, Gentoo
2.4.25 and 2.4.26 kernels, on both single-disk and two-disk systems. Now
that I think of it, I've seen this on both single-processor and
multi-processor systems and with both SCSI and IDE drives. I have also
seen these systems run for quite a while without ios_in_flight going
negative. And I've never seen ios_in_flight lower than -1 or higher than
0 on an idle system. So my conclusion is that an extra downcount is
fairly rare.

I saw a very similar bug listed in the LKML about a year ago. For
example, see

http://search.luky.org/linux-kernel.2004/msg00025.html

and

http://search.luky.org/linux-kernel.2004/msg03278.html

I think I'll try rebooting the two-disk box (which is easier to get one
truly idle disk on) and running bonnie++ periodically to see if I can
get steady-state ios_in_flight values other than -1 and 0 on an idle
system (between bonnie++ runs). I can set up "oprofile" on the Gentoo
boxes if that will help.

One other note: all of these systems when "idle" have a small amount of
write activity going on. The Red Hat boxes are using ext3 filesystems
and the Gentoo systems are using reiserfs. Is constant low-level writing
to be expected with journaling?


      reply	other threads:[~2004-12-23 15:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-22  5:05 Negative "ios_in_flight" in the 2.4 kernel M. Edward Borasky
2004-12-22 11:16 ` Jens Axboe
2004-12-22 15:19   ` M. Edward Borasky
2004-12-22 15:58     ` Marcelo Tosatti
2004-12-23  8:08       ` Jens Axboe
2004-12-23 15:30         ` M. Edward Borasky [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=1103815804.4063.33.camel@DreamGate \
    --to=znmeb@cesmail.net \
    --cc=axboe@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo.tosatti@cyclades.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.