Skip to contentSkip to conversation

anyone already tried the parallel crypto engine

dm-crypt Christoph Anton Mitterer 3 participants 3 messages Jul 26, 2010 – Jul 27, 2010

lore
Share & tools
lore
#0 lore raw

Hey...

Just wondered whether anyone has already tried CONFIG_CRYPTO_PCRYPT which was introduced with 2.6.34, IIRC.

It's still marked as experimental, so I'm a bit reluctant in trying it out in my production systems...

Should it work with all the algo/cipher mode combinations? And with dm-crypt itsef?

Cheers,
Chris.

#1 lore raw
Quoted 2 lines · Christoph Anton Mitterer

Just wondered whether anyone has already tried CONFIG_CRYPTO_PCRYPT which was introduced with 2.6.34, IIRC.

Quite surely not :)

Quoted 2 lines

Should it work with all the algo/cipher mode combinations? And with dm-crypt itsef?

Yes, it should. You just have to code it :)
Currently it only implements AEAD.

regards
Mario

Signature · 4 lines
I've never been certain whether the moral of the Icarus story should
only be, as is generally accepted, "Don't try to fly too high," or
whether it might also be thought of as, "Forget the wax and feathers
and do a better job on the wings."            -- Stanley Kubrick
#2 lore raw
In reply to Christoph Anton Mitterer
Quoted 2 lines · Christoph Anton Mitterer

Just wondered whether anyone has already tried CONFIG_CRYPTO_PCRYPT which was introduced with 2.6.34, IIRC.

PCRYPT is currently not useful for dm-crypt at all, do not waste time with it. I hope one day it will be usable and support all algorithms:-)

There was a lot of discussion regarding dm-crypt scaling, middle term solution for now - please read this
http://thread.gmane.org/gmane.linux.kernel/993158/
(Note, it is not universal solution - it will never distribute work to another cpu. I wonder how this will scale with pcrypt...)

I'll send more info here when the patches will be in upstream tree (there are still some minor problems I have open in my local tree, I hope it will be in upstream in next few days - it must go through device-mapper maintainer review now).

Milan