DM-Crypt Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Arno Wagner <arno@wagner.name>
To: Markus Krainz <ldm@gmx.at>
Cc: dm-crypt@saout.de
Subject: Re: [dm-crypt] Improving performance?
Date: Fri, 12 Nov 2010 02:21:44 +0100	[thread overview]
Message-ID: <20101112012144.GA7616@tansi.org> (raw)
In-Reply-To: <4CDC3C5E.1020108@gmx.at>

On Thu, Nov 11, 2010 at 07:56:30PM +0100, Markus Krainz wrote:
>
> On 2010-11-11 19:26, Lasse Jensen wrote:
>> I havent tested my current setup this way, but my old setup, RAID  
>> first, then encryption worked fine.
>
> RAID first, den ecryption works for me, too.
> But testing the ecrypting drives seperately, then RAID approach failed.
> What good is fast performance if the RAID 5 does not work? :D

I Have not tried encytion first, but I have several 3-way RAID1
with RAID first runnign without a problem for > 2 years now.
(It is partition RAID1, only 3 disks involved.)

I would imagine that encryption-first is a bit of a risk until
the kernel barriers have been cleaned up. BTW, I see significantly
better behavior with 2.6.36. Hope they manage to clean this mess 
up by 2.6.37. The kernel used to be tunable to not slow to a crawl
when writing large amounts of data onto slow devices. One of the
ugly secrets up to 2.6.35.

Arno
-- 
Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: arno@wagner.name 
GnuPG:  ID: 1E25338F  FP: 0C30 5782 9D93 F785 E79C  0296 797F 6B50 1E25 338F
----
Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans

If it's in the news, don't worry about it.  The very definition of 
"news" is "something that hardly ever happens." -- Bruce Schneier 

  reply	other threads:[~2010-11-12  1:21 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-11 18:56 [dm-crypt] Improving performance? Markus Krainz
2010-11-12  1:21 ` Arno Wagner [this message]
2010-11-12  5:00   ` dave b
2010-11-12  7:10     ` Heinz Diehl
  -- strict thread matches above, loose matches on Subject: below --
2010-11-11 10:49 Lasse Jensen
2010-11-11 11:30 ` Arno Wagner
2010-11-11 18:16   ` Lasse Jensen
2010-11-11 17:03 ` Heinz Diehl
2010-11-11 17:06   ` Rick Moritz
2010-11-11 20:59     ` Heinz Diehl
2010-11-11 21:25       ` Rick Moritz
2010-11-11 18:19   ` Lasse Jensen
2010-11-11 17:40 ` Zdenek Kaspar
2010-11-11 17:59 ` Markus Krainz
2010-11-11 19:10   ` epvdm
2010-11-11 21:24 ` Richard Zidlicky

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=20101112012144.GA7616@tansi.org \
    --to=arno@wagner.name \
    --cc=dm-crypt@saout.de \
    --cc=ldm@gmx.at \
    /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