Linux Nucleus Boosts CRC32C Algorithm Efficiency

A new Linux 6.13 patch has been released, which includes the implementation of an algorithm for finding the control amount of CRC32C. This new implementation has successfully reduced the CRC32C sales code by about 10 times, from 4546 to 418 bytes. In addition to this, the patch includes the Retpoline defense against SPECTRE class attacks.

With the introduction of the new implementation, performance increases have been observed on various processor models. Specifically, there is an 11.8% performance increase on AMD Zen 2 processors, a 6.4% increase on Intel Emerald Rapids processors, and a 4.8% increase on Intel Haswell processors.

Enabling the Retpoline defense further boosts performance gains, with a noticeable 66.8% increase on systems with Intel Emerald Rapids processors, a 35.0% increase on Intel Haswell processors, and a 29.5% increase on AMD Zen 2 processors.

/Reports, release notes, official announcements.