Inquire about the performance of gcrypt on ARM architecture

Mizar Zhou via Gnupg-users <[email protected]>
Newsgroups gmane.comp.encryption.gpg.user
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.