mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@digeo.com>
To: Badari Pulavarty <pbadari@us.ibm.com>
Cc: Mingming Cao <mcao@us.ibm.com>,
	Benjamin LaHaise <bcrl@redhat.com>,
	suparna@linux.ibm.com, linux-kernel@vger.kernel.org,
	linux-aio@kvack.org, lse-tech@lists.sourceforge.net
Subject: Re: [RFC] [PATCH] 2.5.35 patch for making DIO async--performance numbers
Date: Thu, 19 Sep 2002 15:15:38 -0700	[thread overview]
Message-ID: <3D8A4C8A.D8DED29A@digeo.com> (raw)
In-Reply-To: <200209192153.g8JLrNV23057@eng2.beaverton.ibm.com>

Badari Pulavarty wrote:
> 
> ...
> > The other thing we've lost is the BIO-pruning and recycling effect: the
> > current direct-io code will reap BIOs while it is actually submitting
> > them, so the peak consumption is kept under control.  Plus there are
> > cache-warmness issues.  But without having a process there to do all this,
> > we obviously have to lose some things.
> >
> 
> I don't follow you. In original code, we only reap the BIO's on which IO
> is complete. How is it controlling peak consumption ?

Ah.  The current direct-io code will, while submitting those BIOs,
occasionally go and see if any have completed already.  If they have
then they are processed and returned to the global BIO pool.

But you're returning them from within end_io, so no prob.

      reply	other threads:[~2002-09-19 22:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-19 20:52 Mingming Cao
2002-09-19 21:11 ` Andrew Morton
2002-09-19 21:19   ` Badari Pulavarty
2002-09-19 21:36     ` Andrew Morton
2002-09-19 21:53       ` Badari Pulavarty
2002-09-19 22:15         ` Andrew Morton [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=3D8A4C8A.D8DED29A@digeo.com \
    --to=akpm@digeo.com \
    --cc=bcrl@redhat.com \
    --cc=linux-aio@kvack.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lse-tech@lists.sourceforge.net \
    --cc=mcao@us.ibm.com \
    --cc=pbadari@us.ibm.com \
    --cc=suparna@linux.ibm.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

all inboxes | Powered by JetHome®