News: 0001590472

  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)

POLYVAL Work Bringing More Performance Gains To Linux Crypto Subsystem

([Linux Kernel] 6 Hours Ago POLYVAL)


Whenever seeing Linux kernel mailing list patches from Google engineer [1]Eric Biggers it tends to be about performance optimizations to the Linux kernel's cryptography subsystem. That was once again the case on Sunday with the newest patch series providing some nice gains.

A set of nine patches were sent out by Biggers to migrate the POLYVAL code to the lib/crypto area of the kernel and to replace a generic implementation of POLYVAL with a superior implementation.

The key takeaway from this work:

"Notably, this series improves the performance of HCTR2, since it eliminates unnecessary overhead that was being incurred by accessing POLYVAL via the crypto_shash API. I see a 45% increase in throughput with 64-byte messages, 53% with 128-byte, or 6% with 4096-byte.

It also eliminates the need to explicitly enable the optimized POLYVAL code, as it's now enabled automatically when HCTR2 support is enabled."

So a nice win from [2]this patch series now under review for potentially making it into the next version of the Linux kernel.



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

[2] https://lore.kernel.org/lkml/20251109234726.638437-1-ebiggers@kernel.org/



Ever Onward! Ever Onward!
That's the sprit that has brought us fame.
We're big but bigger we will be,
We can't fail for all can see, that to serve humanity
Has been our aim.
Our products now are known in every zone.
Our reputation sparkles like a gem.
We've fought our way thru
And new fields we're sure to conquer, too
For the Ever Onward IBM!
-- Ever Onward, from the 1940 IBM Songbook