OpenSSH slow on OSX High Sierra (maybe due to libcrypto)?

Peter Moody mindrot at hda3.com
Fri Jul 13 06:30:37 AEST 2018


On Thu, Jul 12, 2018 at 1:10 AM, Darren Tucker <dtucker at dtucker.net> wrote:

> If anyone has such a machine handy, could you please run "sysctl
> machdep.cpu.brand_string; /usr/bin/openssl speed rsa" and post the
> results for comparison?

$ /usr/bin/openssl speed rsa
[...]
                  sign    verify    sign/s verify/s
rsa  512 bits 0.000622s 0.000037s   1606.5  27333.3
rsa 1024 bits 0.003932s 0.000176s    254.3   5689.6
rsa 2048 bits 0.025932s 0.000751s     38.6   1331.3
rsa 4096 bits 0.176667s 0.002718s      5.7    367.9

$ sysctl machdep.cpu.brand_string
machdep.cpu.brand_string: Intel(R) Core(TM) i7-7567U CPU @ 3.50GHz

$ uname -a
Darwin localhost 17.6.0 Darwin Kernel Version 17.6.0: Tue May  8
15:22:16 PDT 2018; root:xnu-4570.61.1~1/RELEASE_X86_64 x86_64

vs

$ ./apps/openssl/openssl speed rsa
[...]
                  sign    verify    sign/s verify/s
rsa  512 bits 0.000049s 0.000006s  20467.2 167761.5
rsa 1024 bits 0.000166s 0.000015s   6032.5  65297.8
rsa 2048 bits 0.000948s 0.000051s   1054.8  19469.8
rsa 4096 bits 0.007410s 0.000194s    134.9   5147.4


More information about the openssh-unix-dev mailing list