News: 0001564891

  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)

Huge Speedups For CRC32C With Modern AVX-512 CPUs Merged To Linux 6.17

([Linux Kernel] 5 Hours Ago CRC32C Optimizations)


The CRC32C cyclic redundancy check code path within the Linux kernel for error detection is much, much faster with the in-development Linux 6.17 kernel when running on modern Intel and AMD AVX-512 processors.

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

Column 1 Column 2 Column 3

0. integrated 0. management 0. options
1. total 1. organizational 1. flexibility
2. systematized 2. monitored 2. capability
3. parallel 3. reciprocal 3. mobility
4. functional 4. digital 4. programming
5. responsive 5. logistical 5. concept
6. optional 6. transitional 6. time-phase
7. synchronized 7. incremental 7. projection
8. compatible 8. third-generation 8. hardware
9. balanced 9. policy 9. contingency

The procedure is simple. Think of any three-digit number, then select
the corresponding buzzword from each column. For instance, number 257 produces
"systematized logistical projection," a phrase that can be dropped into
virtually any report with that ring of decisive, knowledgeable authority. "No
one will have the remotest idea of what you're talking about," says Broughton,
"but the important thing is that they're not about to admit it."
-- Philip Broughton, "How to Win at Wordsmanship"