bryancall commented on pull request #8615:
URL: https://github.com/apache/trafficserver/pull/8615#issuecomment-1016797788


   On my AMD 3900x server I am seeing sha256 being about 2x faster than md5.  
Which is similar to the benchmarks I wrote:
   ```
   11:19:15 zeus:(master)~/files/src/c/test_code$ openssl speed md5 sha256
   Doing md5 for 3s on 16 size blocks: 31318265 md5's in 2.99s
   Doing md5 for 3s on 64 size blocks: 17335741 md5's in 3.00s
   Doing md5 for 3s on 256 size blocks: 7575644 md5's in 3.00s
   Doing md5 for 3s on 1024 size blocks: 2331244 md5's in 2.99s
   Doing md5 for 3s on 8192 size blocks: 312094 md5's in 3.00s
   Doing md5 for 3s on 16384 size blocks: 156758 md5's in 3.00s
   Doing sha256 for 3s on 16 size blocks: 50398283 sha256's in 2.99s
   Doing sha256 for 3s on 64 size blocks: 31740526 sha256's in 3.00s
   Doing sha256 for 3s on 256 size blocks: 16289859 sha256's in 3.00s
   Doing sha256 for 3s on 1024 size blocks: 5539014 sha256's in 3.00s
   Doing sha256 for 3s on 8192 size blocks: 772385 sha256's in 2.99s
   Doing sha256 for 3s on 16384 size blocks: 389558 sha256's in 3.00s
   OpenSSL 1.1.1l  FIPS 24 Aug 2021
   built on: Wed Sep 15 00:00:00 2021 UTC
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to