<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><p class="p1">Hi everyone,</p><p class="p2"><br></p><p class="p1">I’d like to ask about the performance of Libgcrypt on ARM architectures.</p><p class="p2"><br></p><p class="p1">In my tests, using the same Libgcrypt version on ARMv8 results in performance that is <span class="s1"><b>three times slower, or even more</b></span>, compared to Intel. Is this expected behavior? If not, are there any performance-related configuration options or build switches that I might have overlooked?</p><p class="p2"><br></p><p class="p1">I’m using <span class="s1"><b>Libgcrypt 1.10.0 </b>in ARMv8</span>, compiled with the default settings.</p><p class="p2"><br></p><p class="p2">Arm:</p><p class="p2">[root@node-2 tests]# ./benchmark --large-buffers --cipher-repetitions 1000 cipher aes256</p><p class="p2">Running each test 1000 times.</p><p class="p2">                ECB/Stream    CBC/Poly1305         CFB             OFB             CTR             <b>XTS</b>             CCM             GCM             OCB             EAX</p><p class="p2">             --------------- --------------- --------------- --------------- --------------- --------------- --------------- --------------- --------------- ---------------</p><p class="p2">AES256         380ms   390ms  1350ms   440ms  1360ms   440ms  1350ms  1360ms   430ms   440ms   <b>530ms   550ms</b>  1820ms  1800ms   680ms   670ms   480ms   480ms  1820ms  1810ms</p><p class="p2"><br></p><p class="p2">x86:</p><p class="p2">[root@node-94 tests]# ./benchmark --large-buffers --cipher-repetitions 1000 cipher aes256</p><p class="p2">Running each test 1000 times.</p><p class="p2">                ECB/Stream    CBC/Poly1305         CFB             OFB             CTR             <b>XTS</b>             CCM             GCM             OCB             EAX</p><p class="p2">             --------------- --------------- --------------- --------------- --------------- --------------- --------------- --------------- --------------- ---------------</p><p class="p2">AES256          80ms    90ms  1050ms    90ms  1040ms    90ms  1250ms  1250ms    90ms    90ms   <b>120ms   130ms</b>  1140ms  1140ms   160ms   160ms    90ms    90ms  1150ms  1140ms</p><p class="p1"><br></p><p class="p1">Thanks and regards,</p><p class="p1">Zhou</p></body></html>