All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tracy Reed <treed@ultraviolet.org>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] poor mysqldump performance
Date: Thu, 23 Feb 2012 18:55:10 -0800	[thread overview]
Message-ID: <20120224025510.GL22456@tracyreed.org> (raw)
In-Reply-To: <20120224012954.GJ17572@agk-dp.fab.redhat.com>

On Fri, Feb 24, 2012 at 01:29:54AM +0000, Alasdair G Kergon spake thusly:
> Have you done much tuning, in particular /sys/block/<devices>/queue/nr_requests ?
> 
> http://www.redbooks.ibm.com/redpapers/pdfs/redp4285.pdf remains a good background
> read.

Given that a non-dmcrypt mysqldump on the same disks (different logical volume)
finishes and 15 minutes and a dmcrypt mysql backup happens in 30 minutes any
tuning being done would have to be dmcrypt-specific and affect something in the
dmcrypt layer or above, correct?

nr_requests only exists for the physical disk device. Just for kicks I just
bumped it up to 8192 from the default 1024 and ran my test again. Same
performance: Twice as slow as without dmcrypt.

-- 
Tracy Reed

      reply	other threads:[~2012-02-24  2:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-23 22:23 [dm-crypt] poor mysqldump performance Tracy Reed
2012-02-23 23:10 ` Arno Wagner
2012-02-23 23:59   ` Tracy Reed
2012-02-24  8:18     ` Milan Broz
2012-02-24 19:07       ` Tracy Reed
2012-02-24 20:05         ` Arno Wagner
2012-02-24 22:30           ` Tracy Reed
2012-02-25  2:13             ` Arno Wagner
2012-02-24  1:29 ` Alasdair G Kergon
2012-02-24  2:55   ` Tracy Reed [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=20120224025510.GL22456@tracyreed.org \
    --to=treed@ultraviolet.org \
    --cc=dm-crypt@saout.de \
    /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.