TLS Performance Regression in JDK18+

Anthony Scarpino anthony.scarpino at oracle.com
Mon Nov 7 16:57:45 UTC 2022


On 11/7/22 8:26 AM, Carter Kozak wrote:
> Following up, were you able to run the benchmark across openjdk releases? If so, can you confirm whether your observations matched my own? I really appreciate your help looking into this!
> 
> Thanks,
> Carter Kozak

Yes, I was able to reproduce this.  The memory usage is related to a 
necessary java change for the AVX512 intrinsic.  It doesn't show up much 
in the crypto performance tests, but TLS triggers it more often, driving 
up the memory usage even though the performance is only slightly affected.

I have to see if I can change the code path without hurting the 
decryption performance gains from the AVX512 intrinsic.

Tony


More information about the security-dev mailing list