Comment 5 for bug 1613295

Revision history for this message
Paulo Flabiano Smorigo (pfsmorigo) wrote :

Working as expected. 20 times faster. :)

root@xenial:~# uname -a
Linux xenial 4.4.0-38-generic #57-Ubuntu SMP Tue Sep 6 15:40:06 UTC 2016 ppc64le ppc64le ppc64le GNU/Linux

root@xenial:~# cryptsetup benchmark -c aes-xts
# Tests are approximate using memory only (no storage IO).
# Algorithm | Key | Encryption | Decryption
     aes-xts 256b 129.1 MiB/s 129.4 MiB/s

root@xenial:~# modprobe vmx_crypto

root@xenial:~# cryptsetup benchmark -c aes-xts
# Tests are approximate using memory only (no storage IO).
# Algorithm | Key | Encryption | Decryption
     aes-xts 256b 2453.1 MiB/s 2521.1 MiB/s

/etc/crypo for vmx modules:
ghash p8_ghash vmx_crypto 1000 1 passed no shash 16 16
xts(aes) p8_aes_xts vmx_crypto 2000 1 passed no blkcipher 16 32 64 16 <default>
ctr(aes) p8_aes_ctr vmx_crypto 2000 1 passed no blkcipher 1 16 32 16 <default>
cbc(aes) p8_aes_cbc vmx_crypto 2000 1 passed no blkcipher 16 16 32 16 <default>
aes p8_aes vmx_crypto 1000 1 passed no cipher 16 16 32