dm-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Dominik Brodowski <linux@dominikbrodowski.net>
To: Valdis.Kletnieks@vt.edu, josef@redhat.com, chris.mason@oracle.com
Cc: Michael Monnerie <michael.monnerie@is.it-management.at>,
	Christoph Hellwig <hch@infradead.org>,
	linux-raid@vger.kernel.org, xfs@oss.sgi.com,
	linux-kernel@vger.kernel.org, dm-devel@redhat.com
Subject: direct-io regression [Was: How to track down abysmal performance ata - raid1 - crypto - vg/lv - xfs]
Date: Thu, 5 Aug 2010 11:31:00 +0200	[thread overview]
Message-ID: <20100805093100.GA3001@comet.dominikbrodowski.net> (raw)
In-Reply-To: <15446.1280953986@localhost>

Hey,

when attempting to track down insufficient I/O performance, I found the
following reression relating to direct-io on my notebook, where an
ata device, which consists of several partitions, is combined to a lvm
volume, and one logical volume is then encrypted using dm-crypt. Test case
was the following command:

$ dd if=/dev/mapper/vg0-root_crypt of=/dev/zero iflag=direct bs=8k count=131072

2.6.34 results in ~16 MB/s,
2.6.35 results in ~ 3.1 MB/s

The regression was bisected down to the follwoing commit:

commit c2c6ca417e2db7a519e6e92c82f4a933d940d076
Author: Josef Bacik <josef@redhat.com>
Date:   Sun May 23 11:00:55 2010 -0400

    direct-io: do not merge logically non-contiguous requests
    
...

How to fix this? I do not use btrfs, but ext3 (and the access was down on
the block level, not on the fs level, so this btrs-related commit should not
cause such a regression).

Best,

	Dominik

  reply	other threads:[~2010-08-05  9:31 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20100804073546.GA7494@comet.dominikbrodowski.net>
     [not found] ` <20100804085039.GA11671@infradead.org>
     [not found]   ` <20100804091317.GA27779@isilmar-3.linta.de>
     [not found]     ` <20100804092122.GA2998@infradead.org>
     [not found]       ` <201008041116.09822@zmi.at>
2010-08-04 10:25         ` How to track down abysmal performance ata - raid1 - crypto - vg/lv - xfs Dominik Brodowski
2010-08-04 11:18           ` Christoph Hellwig
     [not found]           ` <20100804111803.GA32643@infradead.org>
2010-08-04 11:24             ` Dominik Brodowski
2010-08-04 11:53             ` Mikael Abrahamsson
2010-08-04 12:56               ` Mike Snitzer
2010-08-04 22:24               ` Neil Brown
2010-08-04 20:33           ` Valdis.Kletnieks
2010-08-05  9:31             ` Dominik Brodowski [this message]
2010-08-05 11:32               ` direct-io regression [Was: How to track down abysmal performance ata - raid1 - crypto - vg/lv - xfs] Chris Mason
     [not found]               ` <20100805113240.GA29846@think>
2010-08-05 12:36                 ` Josef Bacik
2010-08-05 15:35                 ` Dominik Brodowski
2010-08-05 15:39                   ` Chris Mason
     [not found]                   ` <20100805153943.GO29846@think>
2010-08-05 15:53                     ` Dominik Brodowski
2010-08-05 16:35                   ` Dominik Brodowski
     [not found]                   ` <20100805163519.GA6604@comet.dominikbrodowski.net>
2010-08-05 20:47                     ` Performance impact of CONFIG_DEBUG? direct-io test case Dominik Brodowski
2010-08-05 20:54                     ` Performance impact of CONFIG_SCHED_MC? " Dominik Brodowski
2010-08-05 18:58                 ` direct-io regression [Was: How to track down abysmal performance ata - raid1 - crypto - vg/lv - xfs] Jeff Moyer
2010-08-05 19:01                   ` Chris Mason

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=20100805093100.GA3001@comet.dominikbrodowski.net \
    --to=linux@dominikbrodowski.net \
    --cc=Valdis.Kletnieks@vt.edu \
    --cc=chris.mason@oracle.com \
    --cc=dm-devel@redhat.com \
    --cc=hch@infradead.org \
    --cc=josef@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-raid@vger.kernel.org \
    --cc=michael.monnerie@is.it-management.at \
    --cc=xfs@oss.sgi.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;
as well as URLs for NNTP newsgroup(s).