From: Dennis Birkholz <dennis.birkholz@rwth-aachen.de>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] Poor write performance on software raid with 512k chunk size
Date: Sun, 26 Feb 2012 17:45:51 +0100 [thread overview]
Message-ID: <4F4A61BF.5070302@rwth-aachen.de> (raw)
In-Reply-To: <20120226133729.GA22224@agk-dp.fab.redhat.com>
Thanks for the fast reply.
Am 26.02.2012 14:37, schrieb Alasdair G Kergon:
> As we've mentioned to others, try increasing
> /sys/block/<devices>/queue/nr_requests
> significantly (e.g. see if 50,000 has any impact).
>
> Or experiment with these patches:
> http://people.redhat.com/mpatocka/patches/kernel/dm-crypt-paralelizace/current/
> (at your own risk, of course).
As I mentioned before, I chose a smaller chunk size for my RAID to solve
this problem. As I am not interested in rebuilding a 6TB RAID again, I
cannot verify if your suggestions increase write throughput with greater
chunk size.
I would suggest that the device mapper should set default values that
give maximum performance for the default values other kernel subsystems
use. As the RAID subsystem seems to use 512k chunks by default, the
device mapper should use settings by default that allow maximum
performance for this chunk size.
Greets,
Dennis
prev parent reply other threads:[~2012-02-26 16:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-26 12:29 [dm-crypt] Poor write performance on software raid with 512k chunk size Dennis Birkholz
2012-02-26 13:37 ` Alasdair G Kergon
2012-02-26 16:45 ` Dennis Birkholz [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=4F4A61BF.5070302@rwth-aachen.de \
--to=dennis.birkholz@rwth-aachen.de \
--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.