[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070417130431.GA8685@2ka.mipt.ru>
Date: Tue, 17 Apr 2007 17:04:31 +0400
From: Evgeniy Polyakov <johnpol@....mipt.ru>
To: Francis Moreau <francis.moro@...il.com>
Cc: Herbert Xu <herbert@...dor.apana.org.au>,
helge.hafting@...el.hist.no, linux-kernel@...r.kernel.org,
linux-crypto@...r.kernel.org
Subject: Re: [CRYPTO] is it really optimized ?
On Tue, Apr 17, 2007 at 02:36:09PM +0200, Francis Moreau (francis.moro@...il.com) wrote:
> >> BTW, here are figures I got with 2 different versions of the driver
> >> when using tcrypt module. The second being the result with the
> >> optimized driver (no key reloading on each block):
> >>
> >> normal version:
> >> test 4 (128 bit key, 8192 byte blocks): 1 operation in 67991 cycles (8192
> >> bytes)
> >>
> >> optimized version:
> >> test 4 (128 bit key, 8192 byte blocks): 1 operation in 51783 cycles (8192
> >> bytes)
> >>
> >> So the gain is 16000 cycles which seems to worth the change, isn't it ?
> >
> >Sounds like it would. It would help of course if you posted the patch :)
> >
>
> OK, I tried to cook up something very simple. Since I don't know this
> code, please be indulgent when reading the following patch ;)
Which means that after one has loaded ecryptfs module it can not use
ipsec and dm-crypt if there is only one crypto algo registered...
--
Evgeniy Polyakov
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists