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 -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1613295 Title: AES-XTS poor performance in Ubuntu 16.04 Status in linux package in Ubuntu: Fix Released Status in linux source package in Xenial: Fix Committed Status in linux source package in Yakkety: Fix Released Bug description: == Comment: #0 - Paulo Flabiano Smorigo <pfsmor...@br.ibm.com> - 2016-07-21 09:57:49 == ---Problem Description--- Pre-sales customer observed slow performance of XTS using our system, multiple times slower then Haswell. We work to support it on VMX and managed to increase the performance by 20 times. ---uname output--- N/A ---Additional Hardware Info--- N/A Machine Type = P8 ---Debugger--- A debugger is not configured ---Steps to Reproduce--- N/A Contact Information = Paulo Flabiano Smorigo <pfsmor...@br.ibm.com> Stack trace output: no Oops output: no System Dump Info: The system is not configured to capture a system dump. *Additional Instructions for Paulo Flabiano Smorigo <pfsmor...@br.ibm.com>: -Post a private note with access information to the machine that the bug is occuring on. -Attach sysctl -a output output to the bug. == Comment: #1 - Paulo Flabiano Smorigo <pfsmor...@br.ibm.com> - 2016-07-21 10:02:19 == The necessary patches: http://git.kernel.org/cgit/linux/kernel/git/herbert/cryptodev-2.6.git/commit/?id=11c6e16ee13ab68b8ff04c17ab41611a4fcc5c81 http://git.kernel.org/cgit/linux/kernel/git/herbert/cryptodev-2.6.git/commit/?id=c07f5d3da643329f38ff7c2ef2252723453dd9c4 http://git.kernel.org/cgit/linux/kernel/git/herbert/cryptodev-2.6.git/commit/?id=16dee78005be9908197c707393a3b6a61a14b4fb To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1613295/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp