public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* RAID + LUKS + LVM performance
@ 2010-03-11 13:08 Mathias Buren
  2010-03-11 17:36 ` Matthias Schniedermeyer
  0 siblings, 1 reply; 8+ messages in thread
From: Mathias Buren @ 2010-03-11 13:08 UTC (permalink / raw)
  To: linux-kernel


Hi,

(please cc me as I'm not subscribed)

I've a friend who's going to set up a fileserver consisting of 8x 1.5TB
HDDs, an 8-port PCI-E RAID card (Areca ARC-1220 @
http://www.areca.com.tw/products/pcie.htm ) etc.
The plan is create a RAID5 array spanning all the disks, then create 4
partitions. These 4 partitions would be encrypted using LUKS (Twofish or
AES256).
These 4 encrypted partition would be set up in RAID0 using Linux' software
(mdadm), then LVM would be used on top of that (one big PV, one big VG and
a big LV or so).

The reason for this is that kcryptd is not multithreaded (afaik). By having
4 encrypted partitions, then md0 on top of them, I'm forcing 4 kcryptd
processes to run on all four cpu cores whenever something is written to the
disks, which should improve (encryption) performance.

Is this a good way of doing it, or is there a smarter way?


Regards,

Mathias,


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-03-12 15:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-11 13:08 RAID + LUKS + LVM performance Mathias Buren
2010-03-11 17:36 ` Matthias Schniedermeyer
2010-03-11 17:51   ` david
2010-03-11 19:07     ` Matthias Schniedermeyer
2010-03-12  8:47   ` Mathias Buren
2010-03-12 12:06     ` Matthias Schniedermeyer
2010-03-12 13:12       ` Milan Broz
2010-03-12 15:46         ` Matthias Schniedermeyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox