Linux LVM users
 help / color / mirror / Atom feed
From: Joe Thornber <thornber@redhat.com>
To: linux-lvm@redhat.com, Jens Axboe <axboe@suse.de>
Cc: Miquel van Smoorenburg <miquels@cistron.nl>, linux-lvm@sistina.com
Subject: Re: [linux-lvm] Re: IO scheduler, queue depth, nr_requests
Date: Mon Feb 16 09:01:00 2004	[thread overview]
Message-ID: <20040216140441.GG28615@reti> (raw)
In-Reply-To: <20040216133047.GA9330@suse.de>

On Mon, Feb 16, 2004 at 02:30:47PM +0100, Jens Axboe wrote:
> Seems there's an extra problem here, the nr_requests vs depth problem
> should not be too problematic unless you have heavy random io. Doesn't
> look like dm is reordering (bio_list_add() adds to tail,
> flush_deferred_io() processes from head. direct queueing doesn't look
> like it's reordering). Can the dm folks verify this?

Ordering is certainly maintained for the simple targets (linear,
striped).  Snapshots and mirroring still need some work in this
regard, but I don't think these are begin used for the tests.

The place that I am expecting dm to cause poor performance is due to
this bit of stupidity in dm-table.c.  It's on my TODO list, but is not
getting to the op since no-one seems to be complaining about it yet.

                /* FIXME: Device-Mapper on top of RAID-0 breaks because DM
                 *        currently doesn't honor MD's merge_bvec_fn routine.
                 *        In this case, we'll force DM to use PAGE_SIZE or
                 *        smaller I/O, just to be safe. A better fix is in the
                 *        works, but add this for the time being so it will at
                 *        least operate correctly.
                 */
                if (q->merge_bvec_fn)
                        rs->max_sectors =
                                min_not_zero(rs->max_sectors,
                                             (unsigned short)(PAGE_SIZE >> 9));



- Joe

  reply	other threads:[~2004-02-16  9:01 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-16  9:11 [linux-lvm] IO scheduler, queue depth, nr_requests Miquel van Smoorenburg
2004-02-16  8:30 ` [linux-lvm] " Jens Axboe
2004-02-16  9:01   ` Joe Thornber [this message]
2004-02-16 19:32   ` Kevin P. Fleming
2004-02-17  1:46   ` Kevin P. Fleming
2004-02-18 10:29   ` Miquel van Smoorenburg
2004-02-19  8:51     ` Miquel van Smoorenburg
2004-02-19  8:50       ` Andrew Morton
2004-02-19  9:08         ` Miquel van Smoorenburg
2004-02-19  9:08           ` Andrew Morton
2004-02-19 10:23             ` Miquel van Smoorenburg
2004-02-19 10:26               ` Jens Axboe
2004-02-19 15:58                 ` Miquel van Smoorenburg
2004-02-19 17:52                   ` Nick Piggin
2004-02-19 18:52                     ` Miquel van Smoorenburg
2004-02-19 19:15                       ` Nick Piggin
2004-02-19 20:16                       ` [linux-lvm] [PATCH] per process request limits (was Re: IO scheduler, queue depth, nr_requests) Nick Piggin
2004-02-19 20:25                         ` [linux-lvm] " Andrew Morton
2004-02-19 20:40                           ` Nick Piggin
2004-02-19 21:32                             ` Andrew Morton
2004-02-23  8:41                               ` [linux-lvm] [PATCH] bdi_congestion_funp (was: Re: [PATCH] per process request limits (was Re: IO scheduler, queue depth, nr_requests)) Miquel van Smoorenburg
2004-02-20  9:56                                 ` [linux-lvm] " Joe Thornber
2004-02-20  9:59                                   ` Jens Axboe
2004-02-23  8:45                                     ` Miquel van Smoorenburg
2004-02-22 14:55                                       ` Andrew Morton
2004-02-20  9:57                                 ` Jens Axboe
2004-02-24 12:54                                   ` [linux-lvm] Queue congestion: passing down vs passing up [PATCH] Miquel van Smoorenburg
2004-02-19 20:52                         ` [linux-lvm] Re: [PATCH] per process request limits (was Re: IO scheduler, queue depth, nr_requests) Nick Piggin
2004-02-19  9:11           ` [linux-lvm] Re: IO scheduler, queue depth, nr_requests Nick Piggin
2004-02-19 10:26             ` Jens Axboe
2004-02-19  8:51       ` Nick Piggin
2004-02-19  9:00         ` Miquel van Smoorenburg
2004-02-19  9:00           ` Nick Piggin

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=20040216140441.GG28615@reti \
    --to=thornber@redhat.com \
    --cc=axboe@suse.de \
    --cc=linux-lvm@redhat.com \
    --cc=linux-lvm@sistina.com \
    --cc=miquels@cistron.nl \
    /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