Integrated: 8275052: AArch64: Severe AES/GCM slowdown on MacOS for short blocks
    Andrew Haley 
    aph at openjdk.java.net
       
    Thu Oct 28 15:55:14 UTC 2021
    
    
  
On Mon, 11 Oct 2021 13:06:14 GMT, Andrew Haley <aph at openjdk.org> wrote:
> This is more of the fallout from JDK-8273297.
> We've noticed that blocks of less than 8kbytes are very slowly encrypted with AES/GCM . This is because of incorrect flag handline in vm_version_bsd_aarch64.cpp. 
> 
> Before this patch:
> 
> 
> Benchmark            (dataSize)  (keyLength)  (provider)  Mode  Cnt      Score      Error  Units
> AESGCMBench.decrypt        8191          256              avgt    6  95821.232 ± 2447.246  ns/op
> AESGCMBench.decrypt        8192          256              avgt    6   3653.619 ±   83.432  ns/op
> 
> 
> After:
> 
> 
> Benchmark            (dataSize)  (keyLength)  (provider)  Mode  Cnt     Score    Error  Units
> AESGCMBench.decrypt        8191          256              avgt    6  3371.735 ± 70.204  ns/op
> AESGCMBench.decrypt        8192          256              avgt    6  3119.928 ± 80.375  ns/op
This pull request has now been integrated.
Changeset: cb989cf3
Author:    Andrew Haley <aph at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/cb989cf3a182ee07fe127b4536e7ff4213f31eaf
Stats:     16 lines in 2 files changed: 7 ins; 7 del; 2 mod
8275052: AArch64: Severe AES/GCM slowdown on MacOS for short blocks
Reviewed-by: ngasson, adinn
-------------
PR: https://git.openjdk.java.net/jdk/pull/5894
    
    
More information about the hotspot-dev
mailing list