Linux 3.10: Improved eCryptfs AES-NI Performance

Written by Michael Larabel in Hardware on 10 May 2013 at 01:43 PM EDT. Add A Comment
HARDWARE
The eCryptfs pull for the Linux 3.10 kernel has been merged. What's noticeable about this feature pull is the improved encryption performance for modern AMD/Intel CPUs supporting AES-NI.

Tyler Hicks wrote with the code, "Improve performance when AES-NI (and most likely other crypto accelerators) is available by moving to the ablkcipher crypto API. The improvement is more apparent on faster storage devices. There's no noticeable change when hardware crypto is not available."

The AES-NI (Advanced Encryption Standard New Instructions) instruction set extension is supported by modern Sandy Bridge and Ivy Bridge CPUs (along with some Westmere CPUs) on the Intel side while AMD Bulldozer CPUs and newer also implement AES-NI. This instruction set extension improves encryption and decryption performance.

Previously I have delivered AES-NI disk encryption benchmarks but now with the Linux 3.10 kernel when using eCryptfs it should be even faster. I continue to recommend using full-disk Linux encryption for all portable, production laptops.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week