News: 0001507023

  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)

Faster CRC32C & AEGIS-128 Crypto Performance On Linux 6.13 With Intel/AMD CPUs

([Linux Kernel] 5 Hours Ago CRC32C + AEGIS128 Optimizations)


The crypto subsystem updates were merged yesterday for the in-development [1]Linux 6.13 kernel. Among other crypto improvements are new optimizations for some algorithms when running on Intel and AMD x86_64 processors.

[2]Eric Biggers of Google is at it again with more Linux crypto performance optimizations. As noted last month he's been working on [3]CRC32C throughput optimizations via optimizing the x86 Assembly code. That work can yield up to a few percent better performance on Intel/AMD processors, particularly when having Retpoline enabled. This work involves some jump table elimination, simplifying the code for handling fewer than 200 bytes, and other tweaks to the CRC32C x86 code.

The other optimizations from Eric Biggers to the crypto code for Linux 6.13 is tuning some of the AEGIS-128 x86 Assembly code. The AES-NI version of AEGIS-128 is cleaned up and the performance is 1~5% faster while the binary code size is around 20% smaller.

All in some nice performance optimization tuning within the crypto subsystem for Linux 6.13. ARM/ARM64 separately is also seeing CRCT10DIF optimizations and PowerPC is seeing AES-GCM optimizations.

The [4]crypto pull also brings a new Broadcom BCM74110 RNG driver, support for the Airoha EN7581 TRNG, and STM32MP25x platform support.



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

[2] https://www.phoronix.com/search/Eric+Biggers

[3] https://www.phoronix.com/news/Linux-Faster-CRC32X-x86

[4] https://lore.kernel.org/lkml/ZzqyAW2HKeIjGnKa@gondor.apana.org.au/



Anux

When you try to make an impression, the chances are that is the
impression you will make.