Messages in this thread |  | | | Date | Mon, 21 Mar 2005 20:40:47 +1100 | | Subject | [0/5] [CRYPTO] Speed up crypt() | | From | Herbert Xu <> |
Hi:
I've developed a series of patches that speed up the operations of crypt() based on the generic scatterwalk patch by Fruhwirth Clemens. My testing shows that the results are comparable to that of the original patch.
What I found is that the primary source of the boost in performance is the change that results in one pair of kmap operations per page instead of one set per block as is done currently. Since the average block size is around 8/16 bytes this is understandable.
Apart from that eliminating unnecessary out-of-line function calls for the fast path in crypt() also helps quite a lot.
Please let me know if you find any problems with these patches.
Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |