Advertisement
para_bellum

openssl speed ctr soft/BA411E

Apr 21st, 2015
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.48 KB | None | 0 0
  1. root@socrates-8795:~# lsmod
  2. Module Size Used by
  3. cryptodev 33378 0
  4. root@socrates-8795:~# openssl speed -evp aes-256-ctr -elapsed
  5. You have chosen to measure elapsed time instead of user CPU time.
  6. Doing aes-256-ctr for 3s on 16 size blocks: 2463991 aes-256-ctr's in 3.00s
  7. Doing aes-256-ctr for 3s on 32 size blocks: 1298210 aes-256-ctr's in 3.00s
  8. Doing aes-256-ctr for 3s on 64 size blocks: 663150 aes-256-ctr's in 3.00s
  9. Doing aes-256-ctr for 3s on 128 size blocks: 336780 aes-256-ctr's in 3.00s
  10. Doing aes-256-ctr for 3s on 256 size blocks: 169554 aes-256-ctr's in 3.00s
  11. Doing aes-256-ctr for 3s on 512 size blocks: 85155 aes-256-ctr's in 3.00s
  12. Doing aes-256-ctr for 3s on 768 size blocks: 56810 aes-256-ctr's in 3.00s
  13. Doing aes-256-ctr for 3s on 1024 size blocks: 42658 aes-256-ctr's in 3.00s
  14. Doing aes-256-ctr for 3s on 1536 size blocks: 28443 aes-256-ctr's in 3.00s
  15. Doing aes-256-ctr for 3s on 2048 size blocks: 21350 aes-256-ctr's in 3.00s
  16. Doing aes-256-ctr for 3s on 4096 size blocks: 10672 aes-256-ctr's in 3.00s
  17. Doing aes-256-ctr for 3s on 8192 size blocks: 5340 aes-256-ctr's in 3.00s
  18. OpenSSL 1.0.1j 15 Oct 2014
  19. built on: Tue Apr 21 13:19:30 CEST 2015
  20. options:bn(64,32) rc4(ptr,char) des(idx,cisc,16,long) aes(partial) idea(int) blowfish(ptr)
  21. compiler: arm-linux-gnueabihf-gcc -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -fPIC -DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS -I/PROJECTS/CryptoSoC/qude/toolchain/cryptodev-linux-master -fno-omit-frame-pointer -fno-inline -g -marm -DTERMIO -O3 -Wall
  22. The 'numbers' are in 1000s of bytes per second processed.
  23. type 16 bytes 32 bytes 64 bytes 128 bytes 256 bytes 512 bytes 768 bytes 1024 bytes 1536 bytes 2048 bytes 4096 bytes 8192 bytes
  24. aes-256-ctr 13141.29k 13847.57k 14147.20k 14369.28k 14468.61k 14533.12k 14543.36k 14560.60k 14562.82k 14574.93k 14570.84k 14581.76k
  25. root@socrates-8795:~# openssl speed -evp aes-192-ctr -elapsed
  26. You have chosen to measure elapsed time instead of user CPU time.
  27. Doing aes-192-ctr for 3s on 16 size blocks: 2786003 aes-192-ctr's in 3.00s
  28. Doing aes-192-ctr for 3s on 32 size blocks: 1479010 aes-192-ctr's in 3.00s
  29. Doing aes-192-ctr for 3s on 64 size blocks: 756793 aes-192-ctr's in 3.00s
  30. Doing aes-192-ctr for 3s on 128 size blocks: 384938 aes-192-ctr's in 3.00s
  31. Doing aes-192-ctr for 3s on 256 size blocks: 194117 aes-192-ctr's in 3.00s
  32. Doing aes-192-ctr for 3s on 512 size blocks: 97480 aes-192-ctr's in 3.00s
  33. Doing aes-192-ctr for 3s on 768 size blocks: 65088 aes-192-ctr's in 3.00s
  34. Doing aes-192-ctr for 3s on 1024 size blocks: 48846 aes-192-ctr's in 3.00s
  35. Doing aes-192-ctr for 3s on 1536 size blocks: 32594 aes-192-ctr's in 3.00s
  36. Doing aes-192-ctr for 3s on 2048 size blocks: 24450 aes-192-ctr's in 3.00s
  37. Doing aes-192-ctr for 3s on 4096 size blocks: 12232 aes-192-ctr's in 3.00s
  38. Doing aes-192-ctr for 3s on 8192 size blocks: 6117 aes-192-ctr's in 3.00s
  39. OpenSSL 1.0.1j 15 Oct 2014
  40. built on: Tue Apr 21 13:19:30 CEST 2015
  41. options:bn(64,32) rc4(ptr,char) des(idx,cisc,16,long) aes(partial) idea(int) blowfish(ptr)
  42. compiler: arm-linux-gnueabihf-gcc -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -fPIC -DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS -I/PROJECTS/CryptoSoC/qude/toolchain/cryptodev-linux-master -fno-omit-frame-pointer -fno-inline -g -marm -DTERMIO -O3 -Wall
  43. The 'numbers' are in 1000s of bytes per second processed.
  44. type 16 bytes 32 bytes 64 bytes 128 bytes 256 bytes 512 bytes 768 bytes 1024 bytes 1536 bytes 2048 bytes 4096 bytes 8192 bytes
  45. aes-192-ctr 14858.68k 15776.11k 16144.92k 16424.02k 16564.65k 16636.59k 16662.53k 16672.77k 16688.13k 16691.20k 16700.76k 16703.49k
  46. root@socrates-8795:~# openssl speed -evp aes-128-ctr -elapsed
  47. You have chosen to measure elapsed time instead of user CPU time.
  48. Doing aes-128-ctr for 3s on 16 size blocks: f3193989 aes-128-ctr's in 3.00s
  49. Doing aes-128-ctr for 3s on 32 size blocks: 1709634 aes-128-ctr's in 3.00s
  50. Doing aes-128-ctr for 3s on 64 size blocks: 879550 aes-128-ctr's in 3.00s
  51. Doing aes-128-ctr for 3s on 128 size blocks: 448551 aes-128-ctr's in 3.00s
  52. Doing aes-128-ctr for 3s on 256 size blocks: 226575 aes-128-ctr's in 3.00s
  53. Doing aes-128-ctr for 3s on 512 size blocks: 113834 aes-128-ctr's in 3.00s
  54. Doing aes-128-ctr for 3s on 768 size blocks: 76039 aes-128-ctr's in 3.00s
  55. Doing aes-128-ctr for 3s on 1024 size blocks: 57062 aes-128-ctr's in 3.00s
  56. Doing aes-128-ctr for 3s on 1536 size blocks: 38087 aes-128-ctr's in 3.00s
  57. Doing aes-128-ctr for 3s on 2048 size blocks: 28568 aes-128-ctr's in 3.00s
  58. Doing aes-128-ctr for 3s on 4096 size blocks: 14293 aes-128-ctr's in 3.00s
  59. Doing aes-128-ctr for 3s on 8192 size blocks: 7149 aes-128-ctr's in 3.00s
  60. OpenSSL 1.0.1j 15 Oct 2014
  61. built on: Tue Apr 21 13:19:30 CEST 2015
  62. options:bn(64,32) rc4(ptr,char) des(idx,cisc,16,long) aes(partial) idea(int) blowfish(ptr)
  63. compiler: arm-linux-gnueabihf-gcc -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -fPIC -DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS -I/PROJECTS/CryptoSoC/qude/toolchain/cryptodev-linux-master -fno-omit-frame-pointer -fno-inline -g -marm -DTERMIO -O3 -Wall
  64. The 'numbers' are in 1000s of bytes per second processed.
  65. type 16 bytes 32 bytes 64 bytes 128 bytes 256 bytes 512 bytes 768 bytes 1024 bytes 1536 bytes 2048 bytes 4096 bytes 8192 bytes
  66. aes-128-ctr 17034.61k 18236.10k 18763.73k 19138.18k 19334.40k 19427.67k 19465.98k 19477.16k 19500.54k 19502.42k 19514.71k 19521.54k
  67. root@socrates-8795:~# ./link_openssl_
  68. link_openssl_cryptodev link_openssl_cryptodev_speedmod
  69. link_openssl_cryptodev_patch link_openssl_vanilla
  70. root@socrates-8795:~# ./link_openssl_vanilla
  71. root@socrates-8795:~# ./link_openssl_cryptodev_speedmod
  72. root@socrates-8795:~# insmod ba411e.ko
  73. [26126.692930] ba411e: BA411E - AES hardware acceleration v0.1 loaded.
  74. root@socrates-8795:~# openssl speed -evp aes-256-ctr -elapsed
  75. You have chosen to measure elapsed time instead of user CPU time.
  76. Doing aes-256-ctr for 3s on 16 size blocks: 77454 aes-256-ctr's in 3.00s
  77. Doing aes-256-ctr for 3s on 32 size blocks: 76996 aes-256-ctr's in 3.00s
  78. Doing aes-256-ctr for 3s on 64 size blocks: 76905 aes-256-ctr's in 3.00s
  79. Doing aes-256-ctr for 3s on 128 size blocks: 74867 aes-256-ctr's in 3.00s
  80. Doing aes-256-ctr for 3s on 256 size blocks: 33853 aes-256-ctr's in 3.00s
  81. Doing aes-256-ctr for 3s on 512 size blocks: 51576 aes-256-ctr's in 3.00s
  82. Doing aes-256-ctr for 3s on 768 size blocks: 47644 aes-256-ctr's in 3.00s
  83. Doing aes-256-ctr for 3s on 1024 size blocks: 45679 aes-256-ctr's in 3.00s
  84. Doing aes-256-ctr for 3s on 1536 size blocks: 40888 aes-256-ctr's in 3.00s
  85. Doing aes-256-ctr for 3s on 2048 size blocks: 37099 aes-256-ctr's in 3.00s
  86. Doing aes-256-ctr for 3s on 4096 size blocks: 26825 aes-256-ctr's in 3.00s
  87. Doing aes-256-ctr for 3s on 8192 size blocks: 16219 aes-256-ctr's in 3.00s
  88. OpenSSL 1.0.1j 15 Oct 2014
  89. built on: Tue Apr 21 16:20:29 CEST 2015
  90. options:bn(64,32) rc4(ptr,char) des(idx,cisc,16,long) aes(partial) idea(int) blowfish(ptr)
  91. compiler: arm-linux-gnueabihf-gcc -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -fPIC -DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS -I/PROJECTS/CryptoSoC/qude/toolchain/cryptodev-linux-master -fno-omit-frame-pointer -fno-inline -g -marm -DTERMIO -O3 -Wall
  92. The 'numbers' are in 1000s of bytes per second processed.
  93. type 16 bytes 32 bytes 64 bytes 128 bytes 256 bytes 512 bytes 768 bytes 1024 bytes 1536 bytes 2048 bytes 4096 bytes 8192 bytes
  94. aes-256-ctr 413.09k 821.29k 1640.64k 3194.33k 2888.79k 8802.30k 12196.86k 15591.77k 20934.66k 25326.25k 36625.07k 44288.68k
  95. root@socrates-8795:~# openssl speed -evp aes-192-ctr -elapsed
  96. You have chosen to measure elapsed time instead of user CPU time.
  97. Doing aes-192-ctr for 3s on 16 size blocks: 77392 aes-192-ctr's in 3.00s
  98. Doing aes-192-ctr for 3s on 32 size blocks: 76941 aes-192-ctr's in 3.00s
  99. Doing aes-192-ctr for 3s on 64 size blocks: 76809 aes-192-ctr's in 3.00s
  100. Doing aes-192-ctr for 3s on 128 size blocks: 75456 aes-192-ctr's in 3.00s
  101. Doing aes-192-ctr for 3s on 256 size blocks: 70061 aes-192-ctr's in 3.00s
  102. Doing aes-192-ctr for 3s on 512 size blocks: 52680 aes-192-ctr's in 3.00s
  103. Doing aes-192-ctr for 3s on 768 size blocks: 38777 aes-192-ctr's in 3.00s
  104. Doing aes-192-ctr for 3s on 1024 size blocks: 46800 aes-192-ctr's in 3.00s
  105. Doing aes-192-ctr for 3s on 1536 size blocks: 42247 aes-192-ctr's in 3.00s
  106. Doing aes-192-ctr for 3s on 2048 size blocks: 38517 aes-192-ctr's in 3.00s
  107. Doing aes-192-ctr for 3s on 4096 size blocks: 28366 aes-192-ctr's in 3.00s
  108. Doing aes-192-ctr for 3s on 8192 size blocks: 17377 aes-192-ctr's in 3.00s
  109. OpenSSL 1.0.1j 15 Oct 2014
  110. built on: Tue Apr 21 16:20:29 CEST 2015
  111. options:bn(64,32) rc4(ptr,char) des(idx,cisc,16,long) aes(partial) idea(int) blowfish(ptr)
  112. compiler: arm-linux-gnueabihf-gcc -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -fPIC -DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS -I/PROJECTS/CryptoSoC/qude/toolchain/cryptodev-linux-master -fno-omit-frame-pointer -fno-inline -g -marm -DTERMIO -O3 -Wall
  113. The 'numbers' are in 1000s of bytes per second processed.
  114. type 16 bytes 32 bytes 64 bytes 128 bytes 256 bytes 512 bytes 768 bytes 1024 bytes 1536 bytes 2048 bytes 4096 bytes 8192 bytes
  115. aes-192-ctr 412.76k 820.70k 1638.59k 3219.46k 5978.54k 8990.72k 9926.91k 15974.40k 21630.46k 26294.27k 38729.05k 47450.79k
  116. root@socrates-8795:~# openssl speed -evp aes-128-ctr -elapsed
  117. You have chosen to measure elapsed time instead of user CPU time.
  118. Doing aes-128-ctr for 3s on 16 size blocks: 51556 aes-128-ctr's in 3.00s
  119. Doing aes-128-ctr for 3s on 32 size blocks: 76961 aes-128-ctr's in 3.00s
  120. Doing aes-128-ctr for 3s on 64 size blocks: 76676 aes-128-ctr's in 3.00s
  121. Doing aes-128-ctr for 3s on 128 size blocks: 51059 aes-128-ctr's in 3.00s
  122. Doing aes-128-ctr for 3s on 256 size blocks: 70181 aes-128-ctr's in 3.00s
  123. Doing aes-128-ctr for 3s on 512 size blocks: 53472 aes-128-ctr's in 3.00s
  124. Doing aes-128-ctr for 3s on 768 size blocks: 50616 aes-128-ctr's in 3.00s
  125. Doing aes-128-ctr for 3s on 1024 size blocks: 47987 aes-128-ctr's in 3.00s
  126. Doing aes-128-ctr for 3s on 1536 size blocks: 43605 aes-128-ctr's in 3.00s
  127. Doing aes-128-ctr for 3s on 2048 size blocks: 40202 aes-128-ctr's in 3.00s
  128. Doing aes-128-ctr for 3s on 4096 size blocks: 30116 aes-128-ctr's in 3.00s
  129. Doing aes-128-ctr for 3s on 8192 size blocks: 18707 aes-128-ctr's in 3.00s
  130. OpenSSL 1.0.1j 15 Oct 2014
  131. built on: Tue Apr 21 16:20:29 CEST 2015
  132. options:bn(64,32) rc4(ptr,char) des(idx,cisc,16,long) aes(partial) idea(int) blowfish(ptr)
  133. compiler: arm-linux-gnueabihf-gcc -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -fPIC -DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS -I/PROJECTS/CryptoSoC/qude/toolchain/cryptodev-linux-master -fno-omit-frame-pointer -fno-inline -g -marm -DTERMIO -O3 -Wall
  134. The 'numbers' are in 1000s of bytes per second processed.
  135. type 16 bytes 32 bytes 64 bytes 128 bytes 256 bytes 512 bytes 768 bytes 1024 bytes 1536 bytes 2048 bytes 4096 bytes 8192 bytes
  136. aes-128-ctr 274.97k 820.92k 1635.75k 2178.52k 5988.78k 9125.89k 12957.70k 16379.56k 22325.76k 27444.57k 41118.38k 51082.58k
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement