Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD on ODROID-C1



I missed a few asm optimizations still, will post updated numbers shortly.

On Fri, 6 Mar 2015, Jared McNeill wrote:

On Thu, 5 Mar 2015, Michael van Elst wrote:
It's probably that the arm-specific assembler routines
in libcrypto are not compiled in.

Bingo. I built pkgsrc openssl with the arm asm stuff (had to patch config script to pick up earmv6hf):

undine$ /usr/bin/openssl speed md5; /usr/pkg/bin/openssl speed md5
WARNING: can't open config file: /etc/openssl/openssl.cnf
Doing md5 for 3s on 16 size blocks: 80127 md5's in 2.98s
Doing md5 for 3s on 64 size blocks: 78471 md5's in 3.01s
Doing md5 for 3s on 256 size blocks: 72391 md5's in 3.00s
Doing md5 for 3s on 1024 size blocks: 55507 md5's in 3.00s
Doing md5 for 3s on 8192 size blocks: 17752 md5's in 3.01s
OpenSSL 1.0.1k 8 Jan 2015
NetBSD 7.0_BETA
options:bn(32,32) md2(int) rc4(ptr,int) des(idx,cisc,2,long) aes(partial) idea(int) blowfish(idx)
gcc version 4.8.4 20141009 (prerelease) (NetBSD nb1 20140527)
The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
md5                430.21k     1668.49k     6177.37k    18946.39k 48313.75k
Doing md5 for 3s on 16 size blocks: 263039 md5's in 2.99s
Doing md5 for 3s on 64 size blocks: 245140 md5's in 2.99s
Doing md5 for 3s on 256 size blocks: 199580 md5's in 3.00s
Doing md5 for 3s on 1024 size blocks: 110962 md5's in 2.96s
Doing md5 for 3s on 8192 size blocks: 22024 md5's in 3.00s
OpenSSL 1.0.1k 8 Jan 2015
built on: Fri Mar  6 07:13:32 2015
options:bn(64,32) md2(char) rc4(idx,int) des(idx,cisc,16,long) aes(partial) blowfish(idx) compiler: -I. -I.. -I../include -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H -O2 -Wa,--noexecstack -DTERMIOS -DL_ENDIAN -O2 -Wall
The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
md5               1407.57k     5247.14k    17030.83k    38386.85k 60140.20k





Home | Main Index | Thread Index | Old Index