Hi Sir
We used AM3352 600MHz with DDR3 400MHz. And SDK is 04.03.00.05.
We found the reference of Crypto as below
We did the test and found the performance is different with above table.
below is our test report.
time -v openssl speed -elapsed -evp aes-128-cbc
You have chosen to measure elapsed time instead of user CPU time.
Doing aes-128-cbc for 3s on 16 size blocks: 187530 aes-128-cbc's in 3.00s
Doing aes-128-cbc for 3s on 64 size blocks: 169663 aes-128-cbc's in 3.00s
Doing aes-128-cbc for 3s on 256 size blocks: 25186 aes-128-cbc's in 3.00s
Doing aes-128-cbc for 3s on 1024 size blocks: 20146 aes-128-cbc's in 3.00s
Doing aes-128-cbc for 3s on 8192 size blocks: 6860 aes-128-cbc's in 3.00s
OpenSSL 1.0.2j 26 Sep 2016
built on: reproducible build, date unspecified
options:bn(64,32) rc4(ptr,char) des(idx,cisc,16,long) aes(partial) idea(int) blowfish(ptr)
compiler: arm-linux-gnueabihf-gcc -march=armv7-a -marm -mfpu=neon -mfloat-abi=hard --sysroot=/mnt/sdb1/jason_chou/ruth_pvcrlinux/build/tmp/sysroots/wistron-pvc -I. -I.. -I../include -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO -isystem/mnt/sdb1/jason_chou/ruth_pvcrlinux/toolchain/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/mnt/sdb1/jason_chou/ruth_pvcrlinux/build/tmp/work/armv7ahf-neon-linux-gnueabi/openssl/1.0.2j-r0.arago0=/usr/src/debug/openssl/1.0.2j-r0.arago0 -fdebug-prefix-map=/mnt/sdb1/jason_chou/ruth_pvcrlinux/build/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/mnt/sdb1/jason_chou/ruth_pvcrlinux/build/tmp/sysroots/wistron-pvc= -Wall -Wa,--noexecstack -DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DAES_ASM -DBSAES_ASM -DGHASH_ASM
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
aes-128-cbc 1000.16k 3619.48k 2149.21k 6876.50k 18732.37k
Command being timed: "openssl speed -elapsed -evp aes-128-cbc"
User time (seconds): 0.23
System time (seconds): 7.88
Percent of CPU this job got: 52%
Elapsed (wall clock) time (h:mm:ss or m:ss): 0m 15.43s
Average shared text size (kbytes): 0
Average unshared data size (kbytes): 0
Average stack size (kbytes): 0
Average total size (kbytes): 0
Maximum resident set size (kbytes): 7696
Average resident set size (kbytes): 0
Major (requiring I/O) page faults: 263
Minor (reclaiming a frame) page faults: 99
Voluntary context switches: 52428
Involuntary context switches: 157925
Swaps: 0
File system inputs: 0
File system outputs: 0
Socket messages sent: 0
Socket messages received: 0
Signals delivered: 0
Page size (bytes): 4096
Exit status: 0
please advise why the performance is so different
BR
Yimin