Huge Speedups For CRC32C With Modern AVX-512 CPUs Merged To Linux 6.17
- Reference: 0001564891
- News link: https://www.phoronix.com/news/CRC32C-Faster-Linux-6.17
- Source link:
AVX-512 processors with the VPCLMULQDQ instruction will benefit from faster CRC32C performance on long messages with the upcoming Linux 6.17 release. The patches previously covered on Phoronix earlier this month within [1]Linux Kernel Patches Speed-Up CRC32 Performance For CPUs With "Good" AVX-512 have managed to make it into Linux 6.17 Git as of Monday.
[2]The patch with the VPCLMULQDQ optimization for CRC32C notes AMD Zen 4 / Zen 5 being in better shape with their AVX-512 implementation as well as there being room for further improvements.
The shiny improvement was merged as part of the [3]CRC updates for Linux 6.17.
Eric Biggers of Google had also sent out another pull request for the [4]crypto library updates for Linux 6.17 that include converting FSVERITY and AppArmor to using the SHA-2 library functions rather than the crypto_shash API. That change should yield slightly faster performance and being simpler code-wise.
[1] https://www.phoronix.com/news/Linux-CRC32C-VPCLMULQDQ
[2] https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git/commit/?id=118da22eb6fbd48f896d17411f942399283d600c
[3] https://lore.kernel.org/lkml/20250727233644.GA1261@sol/
[4] https://lore.kernel.org/lkml/20250727234542.GC1261@sol/
phoronix