Re: [RFC PATCH v2 0/3] Cavium ThunderX ZIP driver
From: Herbert Xu
Date: Thu Mar 09 2017 - 13:18:29 EST
On Wed, Feb 15, 2017 at 10:45:07AM +0530, Mahipal Challa wrote:
> Hi Herbert,
>
> This series adds support for hardware accelerated compression & decompression
> as found on ThunderX (arm64) SOCs.
>
> As per your suggestion, we've switched to the new crypto acomp/scomp interface.
>
> To test the ZIP driver, we modified the kernel's ZSWAP to use acomp API's.
>
> Performance numbers from ZSWAP look promising.
> The "average time" for compressing a 4KB page:
>
> Compression Software : 278 usec
> Compression HW deflate : 17 usec
> Compression HW LZS : 11 usec
>
> Decompression Software : 20 usec
> Decompression HW deflate: 8 usec
> Decompression HW LZS : 6 usec
>
> Addressed the review comments from the RFC v1.
> - Added acomp/scomp crypto interface support.
> - Improved the error handling.
> - ZIP command completion codes are renamed suitably.
> - Removed some un-used code.
> - raw_smp_processor_id() replaced with smp_processor_id().
> - Some more miscellaneous changes.
>
> Patches are on top of "kernel/git/herbert/crypto-2.6.git" repository
>
> Please provide your feedback.
All applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt