Closed Bug 1655493 Opened 6 years ago Closed 5 years ago

Support SHA2 HW acceleration using Intel SHA Extension.

Categories

(NSS :: Libraries, enhancement, P1)

x86_64
Unspecified
enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: m_kato, Assigned: m_kato)

References

Details

(Whiteboard: [nss-fx])

Attachments

(1 file)

Intel SHA extensions can improve 2.5-3 times faster for our SHA2 implementation on Ryzen workstation. (Ryzen and some Intel CPU support this extension)

There is some Vale code for this somewhere, it would be good to use it.

Severity: -- → N/A
Priority: -- → P1
QA Contact: jc

Before applying (on Ryzen 9 3900X)

#     mode          in  opreps  cxreps     context          op   time(sec)     thrgput
  sha256_e   1Gb 208Mb     23M       0       0.000   10000.000      10.000 123Mb 301Kb

After applying

#     mode          in  opreps  cxreps     context          op   time(sec)     thrgput
  sha256_e   5Gb 797Mb    110M       0       0.000   10000.000      10.000 591Mb 769Kb
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Whiteboard: [nss-fx]
Assignee: nobody → m_kato
Target Milestone: --- → 3.68
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: