News: 0001538894

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Linux 6.15 Crypto Subsystem Delivers Faster AES-CTR For AMD Zen 5 & Other x86_64 CPUs

([Linux Kernel] 4 Hours Ago Linux 6.15 Crypto)


The cryptography subsystem updates for the in-development [1]Linux 6.15 merge window are quite exciting with some optimizations for modern x86_64 Intel/AMD processors enticing us the most.

Merged last week were all of the [2]crypto updates for Linux 6.15. This includes dropping the legacy compression interface, enhancing the scatterwalk API, Kerberos5 algorithms added, dropping some obsolete SIMD fallback code, adding a new "0x1134" PCI device ID in the AMD CCP driver for an unknown product, and a variety of fixes.

Most significant to end-users with these crypto updates is the new VAES-based AES-CTR optimized version for benefiting newer Intel and AMD processors. This is the patch series I wrote about back in February within [3]New Linux Patches Yield Up To 3.3x Faster AES-CTR Performance On AMD Zen 5 CPUs . There can be some very significant performance benefits from this optimized AESNI+AVX+VAES AES-CTR code path:

This is yet another big crypto optimization that was carried out by Google engineer Eric Biggers. AMD Zen 5 processors are benefiting the most from this work. And it builds upon many other nice crypto optimizations in recent kernel versions for different algorithms to further accelerate the performance on x86_64 processors.



[1] https://www.phoronix.com/search/Linux+6.15

[2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e5e0e6bebef3a21081fd1057c40468d4cff1a60d

[3] https://www.phoronix.com/news/3.3x-AES-CTR-AMD-Zen-5-Patches



openminded

the-burrito-triangle

Cahn's Axiom:
When all else fails, read the instructions.