Stories
Slash Boxes
Comments

SoylentNews is people

SoylentNews is powered by your submissions, so send in your scoop. Only 16 submissions in the queue.

Submission Preview

Link to Story

AES-NI XTS To See 2~3x Performance Recovery After Regressing Hard From Retpolines

Accepted submission by Anonymous Coward at 2020-12-30 02:57:14
Hardware

https://www.phoronix.com/scan.php?page=news_item&px=AES-NI-XTS-Retpolines-Regress [phoronix.com]

It seems AES-NI XTS performance regressing hard from Retpolines went unnoticed when mitigating Spectre. This happened due to extensive use of indirect calls when processing small quantities of data. But thankfully Ard Biesheuvel investigated it and worked out a backport-friendly fix to address most of the regression. But then for future kernel releases is also a rewritten XTS implementation that is more flexible and avoids the nasty issues that led to the poor performance in the first place under Retpolines.


Original Submission