News: 0001514393

  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 AES-GCM & AES-XTS Crypto For AMD CPUs With Linux 6.14

([AMD] 11 Hours Ago AMD Zen Optimizations)


[1]Eric Biggers of Google who has pursued countless CPU optimizations within the Linux kernel's crypto subsystem over the years has some noteworthy optimizations coming for AMD processors with the upcoming [2]Linux 6.14 kernel cycle.

Over the weekend several x86 AES-XTS and AES-GCM patches made it into the crypto subsystem's development Git code ahead of the upcoming Linux 6.14 kernel cycle.

One of the patches [3]better tunes AES-GCM for AMD CPUs . That brings around a 2% performance boost for both AMD Zen 4 and Zen 5 processors while the Intel performance is about the same.

Over on the AES-XTS side there is [4]additional optimizations yielding another 3% improvement found with AMD Zen 5 processors. Intel performance there also remaining the same or about a 0.1% bump for Ice Lake.

Plus the patches bring various code size improvements and other enhancements.

While just single-digit gains this round, they add up especially with Biggers having delivered [5]some massive triple digit improvements in recent kernel cycles. The Linux AES performance with modern x86_64 processors is [6]a heck of a lot faster than before on older kernels. And given from these newly queued patches, it looks like his optimization game isn't over.

The Linux 6.14 merge window will kick off in late January while the stable kernel should be out by the end of March and will be found in the likes of Ubuntu 25.04 and Fedora 42.



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

[2] https://www.phoronix.com/search/Linux+6.14

[3] https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git/commit/?id=95791ccd112eddd1f31a2c7040122365add52a3f

[4] https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git/commit/?id=3cd46a78eeee8f1be545492a9de6dc37cd7d69d9

[5] https://www.phoronix.com/news/AES-GCM-Faster-AVX-VAES

[6] https://www.phoronix.com/news/Linux-6.10-Faster-AES-XTS



pWe00Iri3e7Z9lHOX2Qx

sophisticles

Chugworth

I really look with commiseration over the great body of my fellow citizens
who, reading newspapers, live and die in the belief that they have known
something of what has been passing in their time.
-- H. Truman