[PATCH 2/2] crypto: powerpc: Add POWER8 optimised crc32c

Herbert Xu herbert at gondor.apana.org.au
Wed Jul 6 01:14:15 AEST 2016


On Fri, Jul 01, 2016 at 08:19:45AM +1000, Anton Blanchard wrote:
> From: Anton Blanchard <anton at samba.org>
> 
> Use the vector polynomial multiply-sum instructions in POWER8 to
> speed up crc32c.
> 
> This is just over 41x faster than the slice-by-8 method that it
> replaces. Measurements on a 4.1 GHz POWER8 show it sustaining
> 52 GiB/sec.
> 
> A simple btrfs write performance test:
> 
>     dd if=/dev/zero of=/mnt/tmpfile bs=1M count=4096
>     sync
> 
> is over 3.7x faster.
> 
> Signed-off-by: Anton Blanchard <anton at samba.org>

Both patches applied.  Thanks.
-- 
Email: Herbert Xu <herbert at gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


More information about the Linuxppc-dev mailing list