Hi everyone,


I’d like to ask about the performance of Libgcrypt on ARM architectures.



In my tests, using the same Libgcrypt version on ARMv8 results in performance 
that is three times slower, or even more, compared to Intel. Is this expected 
behavior? If not, are there any performance-related configuration options or 
build switches that I might have overlooked?



I’m using Libgcrypt 1.10.0 in ARMv8, compiled with the default settings.



Arm:

[root@node-2 tests]# ./benchmark --large-buffers --cipher-repetitions 1000 
cipher aes256

Running each test 1000 times.

                ECB/Stream    CBC/Poly1305         CFB             OFB          
   CTR             XTS             CCM             GCM             OCB          
   EAX

             --------------- --------------- --------------- --------------- 
--------------- --------------- --------------- --------------- --------------- 
---------------

AES256         380ms   390ms  1350ms   440ms  1360ms   440ms  1350ms  1360ms   
430ms   440ms   530ms   550ms  1820ms  1800ms   680ms   670ms   480ms   480ms  
1820ms  1810ms



x86:

[root@node-94 tests]# ./benchmark --large-buffers --cipher-repetitions 1000 
cipher aes256

Running each test 1000 times.

                ECB/Stream    CBC/Poly1305         CFB             OFB          
   CTR             XTS             CCM             GCM             OCB          
   EAX

             --------------- --------------- --------------- --------------- 
--------------- --------------- --------------- --------------- --------------- 
---------------

AES256          80ms    90ms  1050ms    90ms  1040ms    90ms  1250ms  1250ms    
90ms    90ms   120ms   130ms  1140ms  1140ms   160ms   160ms    90ms    90ms  
1150ms  1140ms



Thanks and regards,

Zhou
_______________________________________________
Gnupg-users mailing list
[email protected]
https://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to