Re: Re: Request for Comments: Pledge fund for multicore support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 17, 2008 at 03:32:15PM +0200, Arno Wagner wrote:
> Well, if it is RAID, hat is a good solution. However for 
> single disks that does not work. I originally thought
> this was about an encrypted fast flash disk.

Hmm. One very hackish idea, don't know if it would really work and
whether there's something like access combining logic that would
entirely kill performance, but theoretically:

Write a dm mapping (I think this can't currently be done in userspace)
that does reverse RAID-0, i.e. splits a disk in two (or more) logical
devices in stripes, for example for 4 MiB blocks:

Offset (MiB)    0   4   8  12  16  20  24  28  32  36
device          0   1   0   1   0   1   0   1   0   1

Now apply dm-crypt to both the logical devices, then on top of that
put RAID-0 with the same stripe size (4 MiB). This would combine the 4
MiB blocks back in the correct order so that the resulting RAID device
actually maps linearly to the underlying disk, while giving two
kcryptd threads.

	Sami

---------------------------------------------------------------------
dm-crypt mailing list - http://www.saout.de/misc/dm-crypt/
To unsubscribe, e-mail: dm-crypt-unsubscribe@xxxxxxxx
For additional commands, e-mail: dm-crypt-help@xxxxxxxx


[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux