DM-Crypt Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: David Christensen <dpchrist@holgerdanske.com>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] security concerns with RAID on top of dmcrpyt and with mulitple devices with the same key slot key?
Date: Thu, 2 Jun 2016 19:41:44 -0700	[thread overview]
Message-ID: <5750EE68.2050006@holgerdanske.com> (raw)
In-Reply-To: <1464911269.14592.52.camel@scientia.net>

On 06/02/2016 04:47 PM, Christoph Anton Mitterer wrote:
> ... RAID (e.g. btrfs RAID or MD RAID) on top of dmcrypt devices?
> Any performance or stability issues with such setup?

If you put encryption on top of a RAID of N devices, your CPU will have 
to process one layer of encryption.  If you put a RAID on top of N 
encrypted devices, your CPU will have to process N layers of encryption. 
  But if you have enough cores and/or AES-NI, the latter might perform 
better.  Benchmark to find out.


For stability, the kernel, device drivers, dm-crypt, LVM, btrfs, etc., 
need to function correctly under concurrent workloads.  Choose your 
software accordingly.


David

  reply	other threads:[~2016-06-03  2:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-02 23:47 [dm-crypt] security concerns with RAID on top of dmcrpyt and with mulitple devices with the same key slot key? Christoph Anton Mitterer
2016-06-03  2:41 ` David Christensen [this message]
2016-06-03  3:14   ` Christoph Anton Mitterer
2016-06-03  4:36     ` David Christensen

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=5750EE68.2050006@holgerdanske.com \
    --to=dpchrist@holgerdanske.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox