User Tools

Site Tools


inbox:benchmark.openssl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Previous revision
inbox:benchmark.openssl [2014/03/05 23:18]
inbox:benchmark.openssl [2015/06/27 08:18] (current)
saurabhchakrabarti adding om2-hs benchmark
Line 7: Line 7:
 </​code>​ </​code>​
   - Simply drop the following line into the shell:<​code bash>   - Simply drop the following line into the shell:<​code bash>
-openssl speed md5 sha1 sha256 sha512 des des-ede3 aes-128-cbc aes-192-cbc aes-256-cbc rsa2048 dsa2048 | tee /​tmp/​sslspeed | awk -v ORS=""​ '$1 ~ /OpenSSL/ {print "| " $2 " |"} $1 ~ /(md5|sha)/ {print " ​ " $5 " |"} $1 ~ /(des|aes)/ {b = b " ​ " $6 " |"} $1 ~ /(rsa|dsa)/ {print b " ​ " $6 " |  " $7 " ​|";​b=""​} END { print "\n" }' | sed '​s/​\.\(..\)k/​\10/​g'​+openssl speed md5 sha1 sha256 sha512 des des-ede3 aes-128-cbc aes-192-cbc aes-256-cbc rsa2048 dsa2048 | tee /​tmp/​sslspeed 
 +echo "|" `awk '​match($0,/​r[0-9]+/​) {print substr($0,​RSTART,​RLENGTH)}'​ /​etc/​banner` `awk -v FS=": " -v ORS=""​ '/​(Processor|BogoMIPS|Hardware|machine|cpu model|system type)/ { print "| " $2 " " } END { print ""​ }' /​proc/​cpuinfo` `awk -v ORS=""​ '$1 ~ /OpenSSL/ {print "| " $2 " |"} $1 ~ /(md5|sha)/ {print " ​ " $5 " |"} $1 ~ /(des|aes)/ {b = b " ​ " $6 " |"} $1 ~ /(rsa|dsa)/ {print b " ​ " $6 " |  " $7 " ";​b=""​} END { print "|" }' ​/​tmp/​sslspeed ​| sed '​s/​\.\(..\)k/​\10/​g'​
 +echo 
 </​code>​ </​code>​
   - copy-paste the result into this wiki-page   - copy-paste the result into this wiki-page
Line 18: Line 20:
 <​sortable>​ <​sortable>​
 ^ OS ^ SoC ^ Device ^ [[doc:​hardware:​CPU]] ^ BogoMIPS ^ OpenSSL Version ^ [[wp>​MD5]] ^ [[wp>​Secure Hash Algorithm|SHA-1]] ^ SHA-256 ^ SHA-512 ^ [[wp>​Data Encryption Standard|DES]] ^ 3DES ^ [[wp>​Advanced Encryption Standard|AES-128]] ^ AES-192 ^ AES-256 ^ [[wp>RSA (algorithm)|RSA]] Sign ^ RSA Verify ^ [[wp>​Digital Signature Algorithm|DSA]] Sign ^ DSA Verify ​ ^ ^ OS ^ SoC ^ Device ^ [[doc:​hardware:​CPU]] ^ BogoMIPS ^ OpenSSL Version ^ [[wp>​MD5]] ^ [[wp>​Secure Hash Algorithm|SHA-1]] ^ SHA-256 ^ SHA-512 ^ [[wp>​Data Encryption Standard|DES]] ^ 3DES ^ [[wp>​Advanced Encryption Standard|AES-128]] ^ AES-192 ^ AES-256 ^ [[wp>RSA (algorithm)|RSA]] Sign ^ RSA Verify ^ [[wp>​Digital Signature Algorithm|DSA]] Sign ^ DSA Verify ​ ^
 +| r577 | Atheros AR9341 rev 1 | OpenMesh OM2P HSv2 | MIPS 74Kc V4.12 | 266.64 | 1.0.2a | 34200870 | 27673970 | 13662260 | 4184600 | 4812440 | 1765040 | 9302190 | 8284990 | 7085070 | 9.1 | 334.4 33.0 | 26.3 |
 +| r45620 | Atheros AR7241 rev 1 | TP-LINK TL-MR3420 (Overclock to 460MHZ) | MIPS 24Kc V7.4 | 305.66 | 1.0.2a | 24703570 | 21500560 | 11382010 | 3313470 | 3573970 | 1266980 | 6366210 | 5504430 | 4926770 | 5.3 | 193.2 | 18.8 | 15.1 |
 +| r42624 | Atheros AR9341 rev 1 | TP-LINK TL-WA901ND v3 | MIPS 74Kc V4.12 | 266.64 | 1.0.1i | 33378630 | 20237990 | 9319080 | 4224680 | 4900860 | 1728130 | 9565180 | 8257070 | 7306920 | 9.4 | 333.7 | 33.5 | 27.1 |
 +| r42624 | Atheros AR7241 rev 1 | Ubiquiti Nanostation M | MIPS 24Kc V7.4 | 259.27 | 1.0.1i | 20551820 | 13403440 | 6302220 | 2806440 | 3035580 | 1088850 | 5023440 | 4332540 | 3805640 | 4.6 | 160.1 | 16.2 | 13.1 |
 +| r44258 | Atheros AR9344 rev 2 | TP-LINK CPE210/​220/​510/​520 | MIPS 74Kc V4.12 | 278.93 | 1.0.1l | 35040450 | 20354920 | 9353910 | 4306340 | 4908600 | 1724890 | 9627330 | 8457550 | 7331080 | 9.0 | 327.5 | 32.9 | 27.1
 +| r42625 | Geode(TM) Integrated Processor by AMD PCS | [[toh:​pcengines:​alix|Alix2d13]] | 500 MHz AMD Geode LX800 | 996.04 | 1.0.2a | 27292880 | 7038780 | 3793640 | 2515220 | 3370930 | 1218460 | 4092210 | 3543870 | 3138990 | 3.4 | 114.3 | 12.0 | 9.8 |
 +| r44622 - dual core test w/ ASM| Marvell MV78230-B0 1.2GHZ dual core | [[http://​wiki.openwrt.org/​toh/​linksys/​wrt1900ac|Linksys WRT1900AC]] | ARMv7 Processor rev 2 (v7l) | 1191.1| 1.0.2 | 233786370 | 163329370 | 122471420 | 40191660 | 31650470 | 11242840 | 77554690 | 70677500 | 64082260 | 52.1 | 1745.3 | 171.7 | 144.8 |
 +| r44622 - single core test /w ASM| Marvell MV78230-B0 1.2GHZ dual core | [[http://​wiki.openwrt.org/​toh/​linksys/​wrt1900ac|Linksys WRT1900AC]] | ARMv7 Processor rev 2 (v7l) | 595.55| 1.0.2 | 114807870 | 74934810 | 31048300 | 20115460 | 15791790 | 5645990 | 39312010 | 35553350 | 32188420 | 26.0 | 876.5 | 86.3 | 73.3 |
 +| r44528 | Ralink MT7620N ver:2 eco:3 | [[http://​wiki.openwrt.org/​toh/​nexx/​wt3020|Nexx WT3020]] | MIPS 24KEc V5.0 | 766.77 | 1.0.2 | 34831810 | 28455560 | 13487540 | 4191870 | 4919990 | 1765100 | 8126810 | 7029180 | 6178780 | 7.0 | 245.3 | 25.3 | 18.7 |
 +| r44379 | ARMv7 Processor rev 5 (v7l) | Raspberry PI 2 Model B | BCM2709 | 38.40 | 1.0.2 | 39024980 | 11390630 | 8862380 | 3876520 | 5043200 | 1778690 | 7845210 | 6810970 | 6017370 | 10.2 | 371.2 | 36.2 | 29.8 |
 +| r44379 | ARMv7 Processor rev 5 (v7l) | Raspberry PI 2 Model B | BCM2709 | 38.40 *4 (Quad Core) | 1.0.2 | 155895130 | 45490180 | 35416750 | 15486290 | 20149250 | 7100070 | 31322790 | 27199150 | 24032260 | 40.9 | 1484.6 | 144.7 | 119.0 |
 +| r45695 | Ralink MT7620A ver:2 eco:6 | TP-Link Archer C20i | MIPS 24KEc V5.0 | 385.84 | 1.0.2a | 34971990 | 35521960 | 13520210 | 5289520 | 4929410 | 1775270 | 10306260 | 7037500 | 6904960 | 6.8 | 269.7 25.6 | 19.4 |
 +| r44053 | Qualcomm Atheros QCA9558 rev 0 | TP-LINK Archer C5 | MIPS 74Kc V5.0 | 358.80 | 1.0.1l | 46047700 | 27052160 | 12525440 | 5673230 | 6498800 | 2248020 | 12720890 | 11052330 | 9776970 | 11.9 | 431.8 | 43.5 | 35.2 |
 +| r43771 | Atheros AR9132 rev 2 | TP-LINK TL-WR1043ND | MIPS 24Kc V7.4 | 265.42 | 1.0.1j | 20987560 | 13735980 | 6501030 | 2884380 | 3093160 | 1105240 | 5153910 | 4484840 | 3889490 | 4.6 | 163.3 | 16.4 | 13.7 |
 +| r43321 | Atheros AR9344 rev 2 | TP-LINK TL-WDR3600/​4300/​4310 | MIPS 74Kc V4.12 | 278.93 | 1.0.1j | 34678980 | 20888490 | 9631860 | 4359000 | 5092170 | 1778370 | 9893240 | 8509180 | 7590590 | 9.6 | 342.8 34.5 | 28.2 |
 +| r43321 | Atheros AR9132 rev 2 | TP-LINK TL-WR1043ND | MIPS 24Kc V7.4 | 265.42 | 1.0.1j | 20888840 | 13662920 | 6468960 | 281939| 11540 | 5136490 | 4447660 | 3890120 | 4.7 | 162.4 16.3 | 13.3 |
 +| r42056 | Qualcomm Atheros QCA9558 rev 0 | TP-LINK Archer C7 | MIPS 74Kc V5.0 | 358.80 | 1.0.1i | 48201030 | 26489800 | 12468980 | 5741250 | 6431000 | 2313460 | 12628150 | 10951790 | 9591940 | 12.4 | 441.7 | 44.9 | 35.8 |
 +| r45695 | Qualcomm Atheros QCA9558 ver 1 rev 0 | TP-LINK Archer C7 | MIPS 74Kc V5.0 | 358.80 | 1.0.2a | 44423110 | 37570830 | 18968300 | 5798760 | 6481100 | 2283940 | 12908630 | 11205190 | 9771790 | 12.0 | 455.2 44.0 | 35.7 |
 +| r42297 | Freescale IMX6Q | Gateworks Ventana GW5104 | ARMv7 Processor rev 10 (v7l) | 1581.05 | 1.0.1i | 94399830 | 24815960 | 20170750 | 7612760 | 10856450 | 3889490 | 18355200 | 16259750 | 14509740 | 18.9 | 660.5 | 66.9 | 54.5 |
 +| r42328 | Freescale P1014 | TP-Link TL-WDR4900 v1 | PowerPC e500v2 | 99.99 | 1.0.1i | 40339740 | 29738410 | 22216320 | 8258420 | 14423670 | 5276350 | 23153400 | 21997950 | 18524400 | 14.6 | 524.7 | 52.5 | 43.1 |
 +| r42309 | Freescale P1014 | TP-Link TL-WDR4900 v1 | PowerPC e500v2 | 99.99 | 1.0.1i | 84563980 | 23805210 | 16618110 | 7016300 | 10510900 | 3701570 | 18429590 | 16105660 | 14391160 | 14.2 | 516.0 | 51.9 | 42.6 |
 +| r36088 | Atheros AR7161 rev 2 | NETGEAR WNDR3700/​WNDR3800/​WNDRMAC | MIPS 24Kc V7.4 | 452.19 | 1.0.1e | 36215580 | 23202860 | 10995730 | 4811410 | 4946550 | 1776220 | 8524800 | 7496740 | 6571550 | 8.0 | 281.3 | 27.9 | 22.6 |
 +| r41097 | Atheros AR9341 rev 3 | TP-LINK TL-MR3420 v2 | MIPS 74Kc V4.12 | 266.64 | 1.0.1h | 31103660 | 19177470 | 8885930 | 4121940 | 4962300 | 1762990 | 9133740 | 7910060 | 6975830 | 8.5 | 300.3 | 31.2 | 25.2 |
 +| r38891 | Freescale P2020 1200 MHz | Project Turris | PowerPC e500v2 | 300 | 1.0.1g | 123487210 | 44921510 | 34958680 | 10877950 | 22366690 | 7951700 | 34714280 | 30778030 | 27643900 | 21.7 | 781.5 | 78.4 | 64.0 |
 +| r42272 | BCM4708A0 | Northstar Prototype | ARMv7 Processor rev 0 (v7l) | 1599.07 | 1.0.0m | 76479830 | 42613760 | 30027090 | 13764270 | 12665170 | 4823720 | 27129170 | 22683470 | 20373850 | 22.3 | 736.5 | 75.8 | 64.1 |
 +| r41337 | Atheros AR9132 rev 2 | TP-LINK TL-WR1043ND | MIPS 24Kc V7.4 | 286.31 (overclocked 430MHZ) | 1.0.1h | 22489090 | 14695080 | 6939310 | 3079510 | 3322880 | 1187160 | 5534390 | 4770680 | 4179630 | 5.0 | 175.1 | 17.6 | 14.3 |
 +| trunk r40462 (gcc-4.8-linaro;​ mtune=24kc) | Atheros AR7161 rev 2 (overclocked 800mhz) | Buffalo WZR-HP-AG300H/​WZR-600DHP | MIPS 24Kc V7.4 | 531.66 | 1.0.1g | 42137260 | 27525050 | 12856850 | 5183020 | 6554970 | 2332670 | 10652010 | 9063420 | 7929860 | 9.4 | 326.2 | 32.6 | 27.1 |
 +| trunk r40462 (gcc-4.8-linaro;​ mtune=24kc) | Atheros AR7161 rev 2 | Buffalo WZR-HP-AG300H/​WZR-600DHP | MIPS 24Kc V7.4 | 452.19 | 1.0.1g | 35419100 | 22987430 | 10748250 | 4329470 | 5451780 | 1953790 | 8901270 | 7607640 | 6648830 | 7.8 | 272.7 | 27.4 | 22.3 |
 +| r40335 | AMD Sempron(tm) Processor 210U | Wyse R90L ThinClient | x86-64 | 2999.82 | 1.0.1f | 198452910 | 68489220 | 32900880 | 16330750 | 22723930 | 7842680 | 24113320 | 20579670 | 17918290 | 24.9 | 884.7 | 88.9 | 71.6 |
 +| r39969 | Atheros AR7161 rev 2 | Ubiquiti RouterStation Pro | MIPS 24Kc V7.4 | 479.23 | 1.0.1f | 37291180 | 24408190 | 11942760 | 5179060 | 5579940 | 1984980 | 9260970 | 7947210 | 7050270 | 8.4 | 270.2 | 29.6 | 23.8 |
 +| r39789 | Atheros AR9344 rev 1 | D-Link DIR-835 rev. A1 | MIPS 74Kc V4.12 | 278.93 | 1.0.1e | 33743550 | 20258770 | 9637390 | 4421370 | 4882070 | 1719270 | 9812690 | 8376570 | 7332550 | 9.4 | 340.5 | 34.2 | 28.3 |
 | trunk r39753 | QCA9558@720MHz | TP-Link TL-WR1043nd v2 | MIPS 74Kc V5.0 | 358.80 | 1.0.1e |  45876220 |  27233280 |  12434770 |  5766490 |  6425940 |  2307600 |  12816040 |  11099140 |  9820130 |  8.3 |  422.5 |  44.4 |  36.4 | | trunk r39753 | QCA9558@720MHz | TP-Link TL-WR1043nd v2 | MIPS 74Kc V5.0 | 358.80 | 1.0.1e |  45876220 |  27233280 |  12434770 |  5766490 |  6425940 |  2307600 |  12816040 |  11099140 |  9820130 |  8.3 |  422.5 |  44.4 |  36.4 |
 | trunk r38924 | QCA9558 | Sitecom WLR-8100 | MIPS 74Kc V5.0 | 358.80 | 1.0.1e |  46189570 |  27330220 |  12483580 |  5770240 |  6431060 |  2298540 |  12819110 |  11144480 |  9795930 |  12.4 |  443.9 |  44.6 |  36.5 | | trunk r38924 | QCA9558 | Sitecom WLR-8100 | MIPS 74Kc V5.0 | 358.80 | 1.0.1e |  46189570 |  27330220 |  12483580 |  5770240 |  6431060 |  2298540 |  12819110 |  11144480 |  9795930 |  12.4 |  443.9 |  44.6 |  36.5 |
 | trunk r36211| Atheros AR7161 rev 2 | Netgear WNDR3700v2 | MIPS 24Kc V7.4 | 452.19 | 1.0.1e |  35389740 |  23983300 |  10766940 |  4929350 |  4899090 |  1697560 |  8727710 |  7525860 |  6629860 |  8.0 |  281.8 |  28.1 |  22.9 | | trunk r36211| Atheros AR7161 rev 2 | Netgear WNDR3700v2 | MIPS 24Kc V7.4 | 452.19 | 1.0.1e |  35389740 |  23983300 |  10766940 |  4929350 |  4899090 |  1697560 |  8727710 |  7525860 |  6629860 |  8.0 |  281.8 |  28.1 |  22.9 |
 +| 14.07-rc3 r42056 | Freescale P1014 | TP-Link TL-WDR4900 v1 | PowerPC e500v2 | 99.99 | 1.0.1i |  80655810 |  23427260 |  17796980 |  7603720 | 10518090 |  3699500 |  18462690 |  16263330 | 14519500 |  14.3 |  519.1 |  52.0 |  42.5 |
 +| 14.07-rc2 r41815 | Freescale P1014 | TP-Link TL-WDR4900 v1 | PowerPC e500v2 | 99.99 | 1.0.1h |  80679170 |  23829550 |  18253980 |  7538720 | 10425840 |  3654010 |  17688740 |  15597210 |  13996280 |  14.1 |  519.6 |  51.3 |  42.5 |
 | trunk r36102 | Freescale P1014 | TP-Link TL-WDR4900 v1 | PowerPC e500v2 | 99.99 | 1.0.1e |  78254570 |  20711270 |  17345730 |  7272490 |  9575090 |  3354900 |  17875420 |  15547790 |  13725050 |  13.3 |  477.7 |  48.1 |  39.7 | | trunk r36102 | Freescale P1014 | TP-Link TL-WDR4900 v1 | PowerPC e500v2 | 99.99 | 1.0.1e |  78254570 |  20711270 |  17345730 |  7272490 |  9575090 |  3354900 |  17875420 |  15547790 |  13725050 |  13.3 |  477.7 |  48.1 |  39.7 |
 | trunk r37759 | Atheros AR9344 rev 2 | TP-LINK TL-WDR3600 | MIPS 74Kc V4.12 | 278.93 | 1.0.1e |  34957780 |  20501170 |  9654800 |  4426250 |  4904920 |  1718250 |  9812620 |  8487910 |  7457060 |  9.5 |  336.8 |  34.3 |  27.4 | | trunk r37759 | Atheros AR9344 rev 2 | TP-LINK TL-WDR3600 | MIPS 74Kc V4.12 | 278.93 | 1.0.1e |  34957780 |  20501170 |  9654800 |  4426250 |  4904920 |  1718250 |  9812620 |  8487910 |  7457060 |  9.5 |  336.8 |  34.3 |  27.4 |
 | trunk r36736 | Atheros AR9344 rev 2 | TP-LINK TL-WDR3600 | MIPS 74Kc V4.12 | 278.93 | 1.0.1e |  36066450 |  20959700 |  9810830 |  4495950 |  5140000 |  1817170 |  10008730 |  8603320 |  7565920 |  9.5 |  344.4 |  35.4 |  28.5 | | trunk r36736 | Atheros AR9344 rev 2 | TP-LINK TL-WDR3600 | MIPS 74Kc V4.12 | 278.93 | 1.0.1e |  36066450 |  20959700 |  9810830 |  4495950 |  5140000 |  1817170 |  10008730 |  8603320 |  7565920 |  9.5 |  344.4 |  35.4 |  28.5 |
 +| Attitude Adjustment 12.09 r36088 | Atheros AR9344 rev 2 | TP-LINK TL-WDR3600 v1.5 | MIPS 74Kc V4.12 | 278.93 | 1.0.1g | 36008280 | 20788220 | 9738920 | 4502530 | 5168470 | 1836400 | 9955330 | 8643580 | 7624700 | 7.0 | 348.5 | 35.1 | 29.3 |
 | trunk r32510 | Atheros AR9344 rev 2 | TP-LINK TL-WDR4300 | MIPS 74Kc V4.12 | 278.93 | 1.0.1c |  36544160 |  12057270 |  7958320 |  4476150 |  5037210 |  1841890 |  9245010 |  8053560 |  7086260 |  8.0 |  277.1 |  27.8 |  23.0 | | trunk r32510 | Atheros AR9344 rev 2 | TP-LINK TL-WDR4300 | MIPS 74Kc V4.12 | 278.93 | 1.0.1c |  36544160 |  12057270 |  7958320 |  4476150 |  5037210 |  1841890 |  9245010 |  8053560 |  7086260 |  8.0 |  277.1 |  27.8 |  23.0 |
 | trunk r30830 | Ralink RT3052 ​  id:1 rev:3 | Aztech HW550-3G | MIPS 24KEc V4.12 | 255.59 | 1.0.0g |  23318870 |  6779780 |  4492590 |  2746530 |  2800300 |  992390 |  4740100 |  4123060 |  3625920 |  3.4 |  116.8 |  11.7 |  9.6 | | trunk r30830 | Ralink RT3052 ​  id:1 rev:3 | Aztech HW550-3G | MIPS 24KEc V4.12 | 255.59 | 1.0.0g |  23318870 |  6779780 |  4492590 |  2746530 |  2800300 |  992390 |  4740100 |  4123060 |  3625920 |  3.4 |  116.8 |  11.7 |  9.6 |
Line 30: Line 66:
 | trunk r26232 | Atheros AR7161 | Netgear WNDR3700v1 | MIPS 24Kc V7.4 | 452.19 | 1.0.0d |  37445910 |  11610610 |  7947790 |  4891150 |  4916260 |  1774700 |  8031440 |  7067370 |  6395730 |  5.7 |  192.1 |  19.2 |  15.5 | | trunk r26232 | Atheros AR7161 | Netgear WNDR3700v1 | MIPS 24Kc V7.4 | 452.19 | 1.0.0d |  37445910 |  11610610 |  7947790 |  4891150 |  4916260 |  1774700 |  8031440 |  7067370 |  6395730 |  5.7 |  192.1 |  19.2 |  15.5 |
 | trunk r39770 | Atheros AR9331 | [[http://​wiki.openwrt.org/​toh/​tp-link/​tl-wr710n|TP-Link TL-WR710N]] | MIPS 24Kc | 266.24 | 1.0.1e |  21197480 |  13745150 |  6514560 |  2891090 |  3101700 |  1108310 |  5160960 |  4460390 |  3923050 |  4.8 |  165.0 |  16.6 |  13.4 | | trunk r39770 | Atheros AR9331 | [[http://​wiki.openwrt.org/​toh/​tp-link/​tl-wr710n|TP-Link TL-WR710N]] | MIPS 24Kc | 266.24 | 1.0.1e |  21197480 |  13745150 |  6514560 |  2891090 |  3101700 |  1108310 |  5160960 |  4460390 |  3923050 |  4.8 |  165.0 |  16.6 |  13.4 |
 +| r42420 | Ralink RT5350 id:1 rev:3 | HAME MPR-A2 | MIPS 24KEc V4.12 | 239.61 | 1.0.1i | 21382140 | 12057860 | 5592270 | 2586620 | 3054590 | 1103450 | 4688480 | 4033330 | 3529390 | 4.2 | 146.2 | 14.7 | 11.8 |
 +| r45905 | Ralink RT5350 id:1 rev:3 | Tenda A6 | MIPS 24KEc V4.12 | 239.61 | 1.0.2a | 26775240 | 21927250 | 8346280 | 2591060 | 3048820 | 1228030 | 6369880 | 5417960 | 3825320 | 4.6 | 166.2 15.6 | 14.0 |
 ^ OS ^ SoC ^ Device ^ [[doc:​hardware:​CPU]] ^ BogoMIPS ^ OpenSSL Version ^ [[wp>​MD5]] ^ [[wp>​Secure Hash Algorithm|SHA-1]] ^ SHA-256 ^ SHA-512 ^ [[wp>​Data Encryption Standard|DES]] ^ 3DES ^ [[wp>​Advanced Encryption Standard|AES-128]] ^ AES-192 ^ AES-256 ^ [[wp>RSA (algorithm)|RSA]] Sign ^ RSA Verify ^ [[wp>​Digital Signature Algorithm|DSA]] Sign ^ DSA Verify ​ ^ ^ OS ^ SoC ^ Device ^ [[doc:​hardware:​CPU]] ^ BogoMIPS ^ OpenSSL Version ^ [[wp>​MD5]] ^ [[wp>​Secure Hash Algorithm|SHA-1]] ^ SHA-256 ^ SHA-512 ^ [[wp>​Data Encryption Standard|DES]] ^ 3DES ^ [[wp>​Advanced Encryption Standard|AES-128]] ^ AES-192 ^ AES-256 ^ [[wp>RSA (algorithm)|RSA]] Sign ^ RSA Verify ^ [[wp>​Digital Signature Algorithm|DSA]] Sign ^ DSA Verify ​ ^
 | trunk r34054 (gcc 4.7.3 linaro; mtune=24kc) | Atheros AR7161 | Netgear WNDR3700v1 | MIPS 24Kc V7.4 | 452.19 | 1.0.1c |  36851370 |  23923030 | 11097900 |  4999850 |  5333390 |  1905530 |  8781480 |  7592330 |  6651560 |  8.1 |  281.7 |  28.3 |  23.1 | | trunk r34054 (gcc 4.7.3 linaro; mtune=24kc) | Atheros AR7161 | Netgear WNDR3700v1 | MIPS 24Kc V7.4 | 452.19 | 1.0.1c |  36851370 |  23923030 | 11097900 |  4999850 |  5333390 |  1905530 |  8781480 |  7592330 |  6651560 |  8.1 |  281.7 |  28.3 |  23.1 |
Line 36: Line 74:
 | Backfire 10.03.1-rc6 | Atheros AR7161 | DIR-825 | MIPS 24Kc V7.4 | 452.19 | 0.9.8p + [[doc:​howto:​vpn.ipsec.basics#​openssl.tuning|patch]] |  36995460 |  11623780 |  8425420 |  4241990 |  5350830 |  1916890 |  **8915670** |  **7623830** |  6704630 |  6.7 |  244.4 |  24.8 |  20.9 | | Backfire 10.03.1-rc6 | Atheros AR7161 | DIR-825 | MIPS 24Kc V7.4 | 452.19 | 0.9.8p + [[doc:​howto:​vpn.ipsec.basics#​openssl.tuning|patch]] |  36995460 |  11623780 |  8425420 |  4241990 |  5350830 |  1916890 |  **8915670** |  **7623830** |  6704630 |  6.7 |  244.4 |  24.8 |  20.9 |
 | Backfire 10.03.1 | Atheros AR7161 | DIR-825 | MIPS 24Kc V7.4 | 452.19 | 0.9.8r |  37355180 |  11622740 |  8443560 |  4243180 |  5339820 |  1911130 |  8249000 |  7174490 |  6351530 |  6.7 |  244.8 |  24.8 |  21.0 | | Backfire 10.03.1 | Atheros AR7161 | DIR-825 | MIPS 24Kc V7.4 | 452.19 | 0.9.8r |  37355180 |  11622740 |  8443560 |  4243180 |  5339820 |  1911130 |  8249000 |  7174490 |  6351530 |  6.7 |  244.8 |  24.8 |  21.0 |
 +| r40877 | Atheros AR7161 rev 2 | D-Link DIR-825 rev. B1 | MIPS 24Kc V7.4 | 452.19 | 1.0.1g | 34862390 | 22486220 | 10781160 | 4731160 | 4797680 | 1719700 | 8483050 | 7242380 | 6291610 | 7.6 | 265.0 | 27.1 | 21.7 |
 +| r42625 | Atheros AR7161 rev 2 | D-Link DIR-825 rev. B1 | MIPS 24Kc V7.4 | 452.19 | 1.0.1i | 35764570 | 23299940 | 10971480 | 4872870 | 5359740 | 1890650 | 8890340 | 7544380 | 6617640 | 8.1 | 278.7 | 28.2 | 23.1 |
 | trunk r26588 | Marvell Orion-1 | Netgear WNR854T | ARMv5-TE | 332.59 | 1.0.0d |  22291590 |  7915040 |  5486650 |  2371980 |  3312760 |  1188050 |  5568640 |  4895610 |  4337100 |  5.8 |  205.6 |  20.7 |  16.5 | | trunk r26588 | Marvell Orion-1 | Netgear WNR854T | ARMv5-TE | 332.59 | 1.0.0d |  22291590 |  7915040 |  5486650 |  2371980 |  3312760 |  1188050 |  5568640 |  4895610 |  4337100 |  5.8 |  205.6 |  20.7 |  16.5 |
 | Backfire 10.03.1 | Broadcom BCM47XX | Asus 500G Premium v2 | BCM3302 V2.9 | 239.10 | 0.9.8t |  10680320 |  3528210 |  2177780 |  1442780 |  1559990 |  555080 |  2796550 |  2420400 |  2058910 |  2.7 |  101.8 |  10.3 |  8.7 | | Backfire 10.03.1 | Broadcom BCM47XX | Asus 500G Premium v2 | BCM3302 V2.9 | 239.10 | 0.9.8t |  10680320 |  3528210 |  2177780 |  1442780 |  1559990 |  555080 |  2796550 |  2420400 |  2058910 |  2.7 |  101.8 |  10.3 |  8.7 |
 | Backfire 10.03.1 | Atheros AR9132 rev 2 | Buffalo WZR-HP-G300NH | MIPS 24Kc V7.4 | 266.24 | 0.9.8t |  22143570 |  6842030 |  4978220 |  2494240 |  3157330 |  1122950 |  4812800 |  4190100 |  3769420 |  3.9 |  143.6 |  14.5 |  12.0 | | Backfire 10.03.1 | Atheros AR9132 rev 2 | Buffalo WZR-HP-G300NH | MIPS 24Kc V7.4 | 266.24 | 0.9.8t |  22143570 |  6842030 |  4978220 |  2494240 |  3157330 |  1122950 |  4812800 |  4190100 |  3769420 |  3.9 |  143.6 |  14.5 |  12.0 |
 +| Barrier Breaker 14.07 (r42625) | Atheros AR9132 rev 2 | Buffalo WZR-HP-G300NH | MIPS 24Kc V7.4 | 265.42 | 1.0.2 |  21454190 |  18579030 |  9360730 |  2862690 |  3143650 |  1106470 |  5578210 |  4826980 |  4211460 |  4.7 |  168.6 |  16.5 |  13.7 |
 | trunk r31678 | Atheros AR7242 rev 1 | Buffalo WZR-HP-G300NH2 | MIPS 24Kc | 265.42| 1.0.1b |  21572950 |  6916970 |  4674900 |  2868220 |  2932270 |  1040040 |  4962460 |  4321420 |  3795290 |  3.6 |  122.3 |  12.3 |  9.8 | | trunk r31678 | Atheros AR7242 rev 1 | Buffalo WZR-HP-G300NH2 | MIPS 24Kc | 265.42| 1.0.1b |  21572950 |  6916970 |  4674900 |  2868220 |  2932270 |  1040040 |  4962460 |  4321420 |  3795290 |  3.6 |  122.3 |  12.3 |  9.8 |
 | trunk r31753 | Atheros AR7161 rev 2 | Buffalo WZR-HP-AG300H | MIPS 24Kc | 452.19 | 1.0.1b |  36650330 |  11757230 |  7950340 |  4878340 |  4969810 |  1769130 |  8440980 |  7304870 |  6453590 |  6.1 |  207.9 |  20.8 |  16.8 | | trunk r31753 | Atheros AR7161 rev 2 | Buffalo WZR-HP-AG300H | MIPS 24Kc | 452.19 | 1.0.1b |  36650330 |  11757230 |  7950340 |  4878340 |  4969810 |  1769130 |  8440980 |  7304870 |  6453590 |  6.1 |  207.9 |  20.8 |  16.8 |
Line 65: Line 106:
 | trunk r38297 | BCM5358 | Alcatel RG200E-CA | MIPS 74Kv V4.9 | 249.34 | 1.0.1e |  28502360 |  16692920 |  8331610 |  4019720 |  4219780 |  1499820 |  8890180 |  7710380 |  6783480 |  8.3 |  297.8 |  30.1 |  24.6 | | trunk r38297 | BCM5358 | Alcatel RG200E-CA | MIPS 74Kv V4.9 | 249.34 | 1.0.1e |  28502360 |  16692920 |  8331610 |  4019720 |  4219780 |  1499820 |  8890180 |  7710380 |  6783480 |  8.3 |  297.8 |  30.1 |  24.6 |
 | trunk r38636 | Atheros AR9341 | Mercury MW300R | MIPS 74Kc V4.12 | 266.64 | 1.0.1e |  33600600 |  19494230 |  8995740 |  4164610 |  4646490 |  1648270 |  9179700 |  7981400 |  7037770 |  8.9 |  317.9 |  32.1 |  26.3 | | trunk r38636 | Atheros AR9341 | Mercury MW300R | MIPS 74Kc V4.12 | 266.64 | 1.0.1e |  33600600 |  19494230 |  8995740 |  4164610 |  4646490 |  1648270 |  9179700 |  7981400 |  7037770 |  8.9 |  317.9 |  32.1 |  26.3 |
 +| r45741 | Ralink MT7620A ver:2 eco:6 | Lenovo Y1 | MIPS 24KEc V5.0 | 385.84 | 1.0.2a | 34631540 | 28295630 | 19289890 | 5260980 | 5536430 | 1769470 | 8180870 | 7058540 | 8138030 | 7.1 | 262.1 | 26.2 | 20.4 |
 | Backfire (10.03, r20728)|TI AR7 (TNETD7300)|Netgear DG834GB|MIPS 4KEc V4.8|149.50| 0.9.8m |  6937260 |  2350080 |  1468070 |  941400 |  1016150 |  358740 |  1792000 |  1556140 |  1374550 |  2.0 |  72.8 |  7.4 |  6.0 |MIPS 24Kc V7.4 | Backfire (10.03, r20728)|TI AR7 (TNETD7300)|Netgear DG834GB|MIPS 4KEc V4.8|149.50| 0.9.8m |  6937260 |  2350080 |  1468070 |  941400 |  1016150 |  358740 |  1792000 |  1556140 |  1374550 |  2.0 |  72.8 |  7.4 |  6.0 |MIPS 24Kc V7.4
 ^ OS ^ SoC ^ Device ^ [[doc:​hardware:​CPU]] ^ BogoMIPS ^ OpenSSL Version ^ [[wp>​MD5]] ^ [[wp>​Secure Hash Algorithm|SHA-1]] ^ SHA-256 ^ SHA-512 ^ [[wp>​Data Encryption Standard|DES]] ^ 3DES ^ [[wp>​Advanced Encryption Standard|AES-128]] ^ AES-192 ^ AES-256 ^ [[wp>RSA (algorithm)|RSA]] Sign ^ RSA Verify ^ [[wp>​Digital Signature Algorithm|DSA]] Sign ^ DSA Verify ​ ^ ^ OS ^ SoC ^ Device ^ [[doc:​hardware:​CPU]] ^ BogoMIPS ^ OpenSSL Version ^ [[wp>​MD5]] ^ [[wp>​Secure Hash Algorithm|SHA-1]] ^ SHA-256 ^ SHA-512 ^ [[wp>​Data Encryption Standard|DES]] ^ 3DES ^ [[wp>​Advanced Encryption Standard|AES-128]] ^ AES-192 ^ AES-256 ^ [[wp>RSA (algorithm)|RSA]] Sign ^ RSA Verify ^ [[wp>​Digital Signature Algorithm|DSA]] Sign ^ DSA Verify ​ ^
Line 73: Line 115:
 |Attitude Adjustment (12.09,​r36088) | Broadcom BCM47XX | Netgear WGT634U | Broadcom BMIPS3300 V0.7 | 197.63 Mhz | 1.0.1e |  5712210 |  4118190 |  2551750 |  1233580 |  1206830 |  434260 |  2415270 |  2103350 |  1850240 |  2.5 |  89.9 |  8.8 |  7.5 | |Attitude Adjustment (12.09,​r36088) | Broadcom BCM47XX | Netgear WGT634U | Broadcom BMIPS3300 V0.7 | 197.63 Mhz | 1.0.1e |  5712210 |  4118190 |  2551750 |  1233580 |  1206830 |  434260 |  2415270 |  2103350 |  1850240 |  2.5 |  89.9 |  8.8 |  7.5 |
 |ATTITUDE ADJUSTMENT (12.09, r37838)|TI AR7 (TNETD7200)|FRITZ!Box Fon 5140|MIPS 4KEc V4.8|211.35| 1.0.1e |  9671000 |  6647610 |  3264850 |  1532870 |  1518590 |  539900 |  2733450 |  2358270 |  2066110 |  2.9 |  102.5 |  10.5 |  8.6 | |ATTITUDE ADJUSTMENT (12.09, r37838)|TI AR7 (TNETD7200)|FRITZ!Box Fon 5140|MIPS 4KEc V4.8|211.35| 1.0.1e |  9671000 |  6647610 |  3264850 |  1532870 |  1518590 |  539900 |  2733450 |  2358270 |  2066110 |  2.9 |  102.5 |  10.5 |  8.6 |
 +| trunk r40019 | Atheros AR9344 rev 2 | MikroTik RouterBOARD RB2011UiAS-RM | MIPS 74Kc V4.12 | 299.82 | 1.0.1f | 36916570 | 22695470 | 10506580 | 4752180 | 5502290 | 1942860 | 10736640 | 9283810 | 8200870 | 9.0 | 375.7 | 37.8 | 30.7 | 
 +| trunk r21341 | Atheros AR7161 rev 2 | MikroTik RouterBOARD 450G | MIPS 24Kc V7.4 | 452.19 | 0.9.8m | 36776630 | 11551760 | 8425070 | 4243370 | 5383520 | 1902160 | 8235640 | 7163490 | 6349140 | 6.6 | 243.2 | 24.3 | 20.6 | 
 +| trunk r42671 | Ralink RT3883 ver:1 eco:5 | Asus RT-N56U | MIPS 74Kc V4.12 | 249.44 | 1.0.1i ​ | 31172950 | 17290870 | 8386560 | 3905540 | 4856490 | 1738410 | 8935770 | 7741440 | 6829400 | 7.6 | 312.5 | 31.5 | 25.4 | 
 +| r36088 | Atheros AR7161 rev 2 | MikroTik RouterBOARD 493G | MIPS 24Kc V7.4 | 452.19 | 1.0.1h | 36533930 | 23329790 | 10977620 | 4874650 | 4947630 | 1762650 | 8752470 | 7534250 | 6623810 | 8.1 | 280.8 | 28.1 | 23.1 | 
 +| r42625 | Atheros AR9341 rev 3 | TP-LINK TL-WR842N/​ND v2 | MIPS 74Kc V4.12 | 266.64 | 1.0.2a | 33160190 | 27082920 | 13453310 | 4046170 | 4689920 | 1658200 | 9226240 | 7966040 | 7009620 | 8.3 | 328.7 | 32.3 | 26.4 | 
 +| r44952 | Atheros AR9344 rev 2 | NETGEAR WNDR4300 | MIPS 74Kc V4.12 | 278.93 | 1.0.2a | 36082470 | 29321020 | 14674400 | 4398100 | 5097410 | 1798220 | 10027520 | 8690100 | 7627160 | 9.8 | 359.1 | 35.1 | 28.5 |
 </​sortable>​ </​sortable>​
- 
 ===== Benchmark Table (other operating systems) ===== ===== Benchmark Table (other operating systems) =====
 <​sortable>​ <​sortable>​
Line 86: Line 132:
 |EdgeOS 1.1.0 | Cavium Octeon+ | Ubiquiti EdgeRouter Lite (e100) | MIPS64|1000.0| 0.9.8o w/o hw crypto| ​ 38823590 |  27464020 |  10354350 |  4249940 |  5946030 |  2134360 |  10099370 |  8791040 |  7765960 |  5.7 |  213.6 |  21.4 |  17.5 | |EdgeOS 1.1.0 | Cavium Octeon+ | Ubiquiti EdgeRouter Lite (e100) | MIPS64|1000.0| 0.9.8o w/o hw crypto| ​ 38823590 |  27464020 |  10354350 |  4249940 |  5946030 |  2134360 |  10099370 |  8791040 |  7765960 |  5.7 |  213.6 |  21.4 |  17.5 |
 | Debian Wheezy | AMD Geode | alix2d13 | Geode LX800 (500MHz) | 996.17 | 1.0.1e |  35458480 |  17701960 |  6549850 |  3985380 |  6255300 |  2191150 |  8067950 |  6862520 |  5937880 |  5.6 |  190.6 |  18.8 |  15.5 | | Debian Wheezy | AMD Geode | alix2d13 | Geode LX800 (500MHz) | 996.17 | 1.0.1e |  35458480 |  17701960 |  6549850 |  3985380 |  6255300 |  2191150 |  8067950 |  6862520 |  5937880 |  5.6 |  190.6 |  18.8 |  15.5 |
 +| Debian Wheezy | Ingenic Xburst | ci20 | JZ4780 | 1196.85 | 1.0.1e | 52097020 | 35421870 | 13398360 | 7226370 | 8324100 | 2955560 | 17193300 | 14832640 | 13043710 | 11.9 | 433.9 | 43.9 | 37.3 |
 +| Iomega StorCenter ix2-200 ​ | | Feroceon-KW |  Feroceon 88FR131 rev 1 (v5l) | 992.87 | 0.9.8g | 59547030 | 22940430 | 11692470 | 2034240 | 7142580 | 2495720 | 9096600 | 7637470 | 6713030 | 11.9 | 462.1 | 46.9 | 39.6 |
 +| Qnap Hs-210 |  | Feroceon-KW ARM | Feroceon 88F6282 rev 1 (v5l) @ 1.6 GHz | 1587.60 | 1.0.1l | 19111400 | 13336180 | 6995060 | 2580680 | 3597780 | 1282180 | 7840580 | 6763080 | 5941980 | 4.2 | 167.5 | 16.7 | 14.0 |
 +| Qnap TS-119P II |  | Feroceon-KW ARM | Feroceon 88F6282 rev 1 (v5l) @ 2 GHz| 1980.82 | 1.0.1l | 23918850 | 16737400 | 8949140 | 2990080 | 4595810 | 1590480 | 9802570 | 8396460 | 7392390 | 5.4 | 211.0 | 21.2 | 17.3 |
 +
 </​sortable>​ </​sortable>​
  
Line 95: Line 146:
 | Intel Celeron G1610 / Vbox4.2.16 @ Ubuntu 13.04 | 2.6GHz | 1.0.1e |  266205040 |  124131320 |  60176710 |  29479590 |  38917980 |  14238460 |  75328750 |  64528720 |  58970040 |  43.0 |  1466.4 |  146.8 |  117.1 | | Intel Celeron G1610 / Vbox4.2.16 @ Ubuntu 13.04 | 2.6GHz | 1.0.1e |  266205040 |  124131320 |  60176710 |  29479590 |  38917980 |  14238460 |  75328750 |  64528720 |  58970040 |  43.0 |  1466.4 |  146.8 |  117.1 |
 | Intel Celeron 847 | 1.1GHz | 1.0.1e |  173392900 |  155067390 |  58545150 |  85354150 |  21220350 |  8056830 |  36710740 |  30482430 |  26006190 |  243.8 |  7911.6 |  794.7 |  668.2 | | Intel Celeron 847 | 1.1GHz | 1.0.1e |  173392900 |  155067390 |  58545150 |  85354150 |  21220350 |  8056830 |  36710740 |  30482430 |  26006190 |  243.8 |  7911.6 |  794.7 |  668.2 |
 +| AMD G-Series G-T40N / debian wheezy amd64 | 1.00GHz | 1.0.1e |  191449430 |  86963540 |  51141290 |  75085820 |  24561660 |  9498620 |  68813830 |  58355710 |  50722130 |  176.8 |  5887.8 |  592.7 |  495.2 |
 | AMD E-350 | 1.6GHz | 1.0.1 |  214850330 |  103554830 |  65162020 |  95568150 |  31645350 |  12288340 |  90075140 |  76489390 |  66681580 |  226.0 |  7499.6 |  755.4 |  632.0 | | AMD E-350 | 1.6GHz | 1.0.1 |  214850330 |  103554830 |  65162020 |  95568150 |  31645350 |  12288340 |  90075140 |  76489390 |  66681580 |  226.0 |  7499.6 |  755.4 |  632.0 |
 | AMD FX-6100 (no-aes-ni) | 3.3GHz | 1.0.0e |  308474690 |  160753320 |  81856170 |  120036010 |  33686530 |  13283330 |  53698220 |  44554580 |  37129220 |  211.3 |  7908.7 |  820.7 |  714.5 | | AMD FX-6100 (no-aes-ni) | 3.3GHz | 1.0.0e |  308474690 |  160753320 |  81856170 |  120036010 |  33686530 |  13283330 |  53698220 |  44554580 |  37129220 |  211.3 |  7908.7 |  820.7 |  714.5 |
Line 105: Line 157:
 | Via Eden | 600Mhz | 1.0.1c |  31060990 |  10968060 |  5960020 |  2595500 |  3868860 |  1346560 |  5465770 |  4723370 |  4157780 |  3.2 |  110.0 |  10.9 |  9.0 | | Via Eden | 600Mhz | 1.0.1c |  31060990 |  10968060 |  5960020 |  2595500 |  3868860 |  1346560 |  5465770 |  4723370 |  4157780 |  3.2 |  110.0 |  10.9 |  9.0 |
 | Atom 230 1.6GHz | D945GCLF Trunk r31073 | 1.0.1 |  106859330 |  33679390 |  19225000 |  10126710 |  11673600 |  4063000 |  19162750 |  16731680 |  14840860 |  13.0 |  454.9 |  45.5 |  36.6 | | Atom 230 1.6GHz | D945GCLF Trunk r31073 | 1.0.1 |  106859330 |  33679390 |  19225000 |  10126710 |  11673600 |  4063000 |  19162750 |  16731680 |  14840860 |  13.0 |  454.9 |  45.5 |  36.6 |
 +| Intel Core i7 4960X | 4.0Ghz | 1.0.1f | 526048940 | 567604910 | 228535570 | 332849830 | 79409830 | 29612710 | 122543000 | 115217410 | 94291560 | 747.7 | 23847.8 | 2438.4 | 2111.3 |
 </​sortable>​ </​sortable>​
  
Line 128: Line 181:
 | TL-WR1043ND ​ |  266.24 | trunk r25513 | MIPS 24Kc V7.4 | 1.0.0d 8 Feb 2011 |  20962650 |  6852760 |  3280970 |  1161910 |  4694250 |  4105340 |  3696880 |  4971940 |  2499810 |  3.3 |  112.8 |  11.2 |  9.1 | | TL-WR1043ND ​ |  266.24 | trunk r25513 | MIPS 24Kc V7.4 | 1.0.0d 8 Feb 2011 |  20962650 |  6852760 |  3280970 |  1161910 |  4694250 |  4105340 |  3696880 |  4971940 |  2499810 |  3.3 |  112.8 |  11.2 |  9.1 |
 | TP-LINK TL-MR3420 |  266.24 | Kamikaze r25302 | Atheros AR7241 rev 1 | 0.9.8p |  21704980 |  6848650 |  4955600 |  2481390 |  3140960 |  1107750 |  4877870 |  4184980 |  3679010 |  3.9 |  143.8 |  14.6 |  12.2 | | TP-LINK TL-MR3420 |  266.24 | Kamikaze r25302 | Atheros AR7241 rev 1 | 0.9.8p |  21704980 |  6848650 |  4955600 |  2481390 |  3140960 |  1107750 |  4877870 |  4184980 |  3679010 |  3.9 |  143.8 |  14.6 |  12.2 |
 +
 </​sortable>​ </​sortable>​
  
Line 140: Line 194:
 Crypto acceleration support: y Crypto acceleration support: y
 </​code>​ </​code>​
 +
 +ARM platform gets a 70% boost after [[https://​dev.openwrt.org/​changeset/​44618|r44618]]!
  
 Also you can read more about [[doc/​hardware/​cryptographic.hardware.accelerators|cryptographic hardware accelerators]]. Also you can read more about [[doc/​hardware/​cryptographic.hardware.accelerators|cryptographic hardware accelerators]].
  
-===== manual labor ===== 
-Instead of copying the output by hand you can drop this sausage into the CLI: 
  
-<code sh> 
-cat /etc/banner | awk '/\(/ {print $2 " " $3 " " $4}' 
-cat /​proc/​cpuinfo | awk '/​system type/ {FS = ":"​ ; print "​|"​ $2}; /machine/ {FS = ":"​ ; print $2}; /cpu model/ {FS = ":"​ ; print $2}; /BogoMIPS/ {FS = ":"​ ; print $2 " |"​}'​ | sed ':​M;​N;​$!bM;​s#​\n#​ |#g' 
-openssl speed md5 sha1 sha256 sha512 des des-ede3 aes-128-cbc aes-192-cbc aes-256-cbc rsa2048 dsa2048 | tee /​tmp/​sslspeed | awk -v ORS=""​ '$1 ~ /OpenSSL/ {print "| " $2 " |"} $1 ~ /(md5|sha)/ {print " ​ " $5 " |"} $1 ~ /(des|aes)/ {b = b " ​ " $6 " |"} $1 ~ /(rsa|dsa)/ {print b " ​ " $6 " |  " $7 " |";​b=""​} END { print "​\n"​ }' | sed '​s/​\.\(..\)k/​\10/​g'​ 
-</​code>​ 
  
  
  
-The following code saves /​tmp/​sslspeed while showing progress, then output a table to check if the sort is correct, then use last command line output to copy & paste. +===== Tags =====
-<code sh> +
-openssl speed md5 sha1 sha256 sha512 des des-ede3 aes-128-cbc aes-192-cbc aes-256-cbc rsa2048 dsa2048 | tee /​tmp/​sslspeed +
-awk '$1 ~ /(md5|sha)/ {print $1 "​\t\t| ​ " $5 " |"} $1 ~ /(des|aes)/ {b b $1 " " $2 " \t|  " $6 " |\n"} $1 ~ /(rsa|dsa)/ {print b $1 "​\t\t| ​ " $6 " |  " $7 " |";b=""​}'​ /​tmp/​sslspeed +
-awk -v ORS=""​ '$1 ~ /OpenSSL/ {print "| " $2 " |"} $1 ~ /(md5|sha)/ {print " ​ " $5 " |"} $1 ~ /(des|aes)/ {b b " ​ " $6 " |"} $1 ~ /(rsa|dsa)/ {print b " ​ " $6 " |  " $7 " |";b=""​} END { print "​\n"​ }' /​tmp/​sslspeed | sed '​s/​\.\(..\)k/​\10/​g'​ +
-</​code>​ +
-Output example +
-<code sh> +
-# awk '$1 ~ /(md5|sha)/ {print $1 "​\t\t| ​ " $5 " |"} $1 ~ /(des| +
-aes)/ {b b $1 " " $2 " \t|  " $6 " |\n"} $1 ~ /(rsa|dsa)/ {print b $1 "​\t\t| ​  +
-" $6 " |  " $7 " |";b=""​}'​ /​tmp/​sslspeed +
-md5             ​| ​ 26144.30k | +
-sha1            |  7654.23k | +
-sha256 ​         |  5116.21k | +
-sha512 ​         |  1558.07k | +
-des cbc         ​| ​ 4094.63k | +
-des ede3        |  1445.24k | +
-aes-128 cbc     ​| ​ 2511.21k | +
-aes-192 cbc     ​| ​ 2128.14k | +
-aes-256 cbc     ​| ​ 1873.44k | +
-rsa             ​| ​ 5.1 |  191.7 | +
-dsa             ​| ​ 19.3 |  15.9 |+
  
-# awk -v ORS=""​ '$1 ~ /​OpenSSL/ ​{print "| " $2 " |"} $1 ~ /​(md5|sha)/ ​{print " ​ " $5 " |"} +{{tag>​crypto}}
- $1 ~ /(des|aes)/ {b = b " ​ " $6 " |"$1 ~ /(rsa|dsa)/ {print b " ​ " $6 " |  " $7 " |";​b=""​} +
- END { print "​\n"​ }' /​tmp/​sslspeed | sed '​s/​\.\(..\)k/​\10/​g'​ +
-| 1.0.0d |  26144300 |  7654230 |  5116210 |  1558070 |  4094630 |  1445240 |  2511210 +
- ​| ​ 2128140 |  1873440 |  5.1 |  191.7 |  19.3 |  15.9 | +
-</​code>​+
  
 +===== Notes =====
 +  * There is quick note on performance of [[doc:​howto:​snippets#​elliptic.curves.in.openssh|elliptic curves]] in OpenSSH.
  
-  * Benchmarks are based on running: +===== Verbose output ===== 
-<code sh> +Because sometimes ​the output is not properly collected by the script.
-cat /​proc/​cpuinfo +
-cat /​proc/​crypto +
-openssl speed md5 sha1 sha256 sha512 des des-ede3 aes-128-cbc aes-192-cbc aes-256-cbc rsa2048 dsa2048 +
-</​code>​ +
-  * **Please include ​the output ​for 1024 byte blocks only!** +
-  * Hash and block ciphers use 1024 byte blocks; "​k"​ refers to 1000 bytes per second, so the "​k" ​is removed and result multiplied x1000. +
-  * Certificate verification and signing are based on 2048 bit keys;  the values are the number of signings/​verifications per second.+
  
-===== Script debug =====+  * Intel(R) Atom(TM) CPU D525   @ 1.80GHz , Debian 3.2.68-1+deb7u1 i686 , OpenSSL 1.0.1e 11 Feb 2013 
 +<​file>​ 
 +The '​numbers'​ are in 1000s of bytes per second processed. 
 +type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes 
 +md5               ​8612.44k ​   32026.79k ​   96483.33k ​  ​196923.73k ​  ​282380.97k 
 +sha1              9474.81k ​   31281.54k ​   84250.79k ​  ​146233.34k ​  ​186190.51k 
 +des cbc          28342.85k ​   29772.23k ​   30388.74k ​   30511.45k ​   30542.51k 
 +des ede3          9999.28k ​   10214.21k ​   10270.29k ​   10287.45k ​   10291.88k 
 +aes-128 cbc      15720.10k ​   16385.02k ​   16805.21k ​   17142.78k ​   17167.70k 
 +aes-192 cbc      13503.87k ​   14302.61k ​   14590.29k ​   14665.73k ​   14688.26k 
 +aes-256 cbc      11513.24k ​   12065.64k ​   12243.11k ​   12291.41k ​   12304.38k 
 +sha256 ​           9858.68k ​   22579.31k ​   39079.77k ​   48033.45k ​   51459.41k 
 +sha512 ​           3164.86k ​   12499.78k ​   18258.26k ​   25097.90k ​   28194.13k 
 +                  sign    verify ​   sign/s verify/s 
 +rsa 2048 bits 0.042321s 0.001299s ​    ​23.6 ​   770.1 
 +                  sign    verify ​   sign/s verify/s 
 +dsa 2048 bits 0.012883s 0.015480s ​    ​77.6 ​    ​64.6 
 +</​file>​
  
-{{tag>​wip}}FIXME +  * intel atom d525 @ 1.8 ghz, windows 7 x64 sp1, minigw /msys (downloaded 2015.05) 
-<code sh+<file
-opkg list-installed base-files | awk -v FS="​-"​ {'print $4'} +OpenSSL 1.0.0 29 Mar 2010 
-r25094 +The 'numbers' ​are in 1000s of bytes per second processed. 
-awk '​match($0,/​r[0-9]+/​) {print substr($0,​RSTART,​RLENGTH)}'​ /etc/banner +type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes 
-r25094 +md5               ​8500.42k ​   33534.09k ​   97109.19k ​  ​177439.71k ​  ​251470.73k 
-awk '/​r[0-9]+/​ { print gensub(/​([^0-9]*)(r[0-9]+)(.*)/, "​\\2",​ "​1"​) }' /etc/banner +sha1              9073.46k ​   28244.68k ​   61420.01k ​   96189.69k ​  ​112162.36k 
-r25094 +des cbc          27471.63k ​   29301.04k    29791.47k ​   27886.13k ​   29024.33k 
-awk -v FS="​("​ '​match($0,/​r[0-9]+/​) {print substr($1,​2) substr($0,​RSTART,​RLENGTH)}'​ /​etc/​banner +des ede3          9658.90k ​   10027.78k ​    ​9924.85k ​    ​9991.06k ​   10092.19k 
-ATTITUDE ADJUSTMENT r25661 +aes-128 cbc      15590.96k ​   16321.09k ​   16702.66k ​   16616.51k ​   16652.05k 
-awk -v FS=": " -v ORS=""​ '/​(Processor|BogoMIPS|Hardware|machine|cpu model|system type)/ { print "| " $2 " " } END { print "​|\n"​ }' /​proc/​cpuinfo +aes-192 cbc      12777.04k ​   13218.71k ​   13610.99k ​   13247.04k ​   13750.37k 
-| Atheros AR7241 rev 1 | TP-LINK TL-MR3420 | MIPS 24Kc V7.4 | 266.24 | +aes-256 cbc      10940.27k    11386.64k    11598.64k ​   11588.38k ​   11698.14k 
-awk -v FS=": " -v ORS=""​ '/(Processor|BogoMIPS|Hardware|machine|cpu model|system type){ print "| " $" " } END { print "​|\n"​ }' ​/proc/cpuinfo +sha256 ​           8593.64k ​   18199.35k ​   33759.00k ​   38890.80k ​   45217.88k 
-| Feroceon rev0 (v5l) | 332.59 | Netgear WNR854T | +sha512 ​           2979.72k ​   11932.63k ​   17158.96k ​   23187.65k ​   25256.58k 
-</code>+                  sign    verify ​   sign/s verify/
 +rsa 2048 bits 0.045041s 0.001390s ​    22.   ​719.7 
 +                  sign    verify ​   sign/s verify/s 
 +dsa 2048 bits 0.013586s 0.016368s ​    ​73.6 ​    61.1 
 +</file>
  
 +  * intel celeron M 900mhz , windows xp 32 bit sp3, minigw / msys (downloaded in 2014)
 +<​file>​
 +OpenSSL 1.0.0 29 Mar 2010
 +The '​numbers'​ are in 1000s of bytes per second processed.
 +type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
 +md5               ​6720.51k ​   23041.34k ​   62651.31k ​  ​109970.12k ​  ​142802.34k
 +sha1              6575.64k ​   20522.23k ​   46977.39k ​   72170.86k ​   86295.40k
 +des cbc          18664.07k ​   19001.08k ​   18886.32k ​   19025.48k ​   19143.80k
 +des ede3          6749.68k ​    ​6796.84k ​    ​6915.79k ​    ​6800.43k ​    ​6937.71k
 +aes-128 cbc      21047.62k ​   22950.18k ​   23322.04k ​   41357.33k ​   40988.49k
 +aes-192 cbc      18068.77k ​   19700.22k ​   19814.94k ​   34944.86k ​   35344.03k
 +aes-256 cbc      15608.42k ​   17610.91k ​   17114.45k ​   30453.52k ​   30325.42k
 +sha256 ​           5643.04k ​   13419.36k ​   23530.88k ​   29857.25k ​   31685.51k
 +sha512 ​           3227.10k ​   13010.73k ​   19320.37k ​   26740.58k ​   30154.50k
 +                  sign    verify ​   sign/s verify/s
 +rsa 2048 bits 0.037026s 0.001089s ​    ​27.0 ​   918.0
 +                  sign    verify ​   sign/s verify/s
 +dsa 2048 bits 0.010618s 0.012896s ​    ​94.2 ​    77.5
 +</​file>​
  
-| openssl-util ​ |  1.0.0d-1 ​ |  libopenssl ​ |  167.442 | The OpenSSL Project is a collaborative effort to develop a robustcommercial-gradefull-featured,​ and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a full-strength general purpose cryptography libraryThis package contains the OpenSSL ​command-line utility | +  * asus wl500gvp2 , openwrt 12.09r36088 ​Broadcom BMIPS3300 V2.
-| libopenssl ​   |  1.0.0d-1  |  zlib        |  582.261 | The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a full-strength general purpose cryptography libraryThis package contains the OpenSSL shared libraries, needed by other programs | +<​file>​ 
-| zlib          |  1.2.5-1  |               ​| ​  39.403 | Library implementing the deflate compression method ​ |+OpenSSL ​1.0.1h 5 Jun 2014 
 +The '​numbers'​ are in 1000s of bytes per second processed. 
 +type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes 
 +md5                853.47k     2795.91k     ​7037.28k ​   11378.24k ​   13686.29k 
 +sha1               ​715.08k ​    ​2121.51k ​    ​4994.72k ​    ​7560.01k ​    ​8973.83k 
 +des cbc           ​1418.78k ​    ​1483.76k ​    ​1512.88k ​    ​1497.91k ​    ​1497.64k 
 +des ede3           ​525.08k ​     541.89k ​     534.97k ​     534.32k ​     533.04k 
 +aes-128 cbc       2677.44k     ​2827.79k ​    ​2897.01k ​    ​2818.29k ​    ​2882.90k 
 +aes-192 cbc       ​2284.35k ​    ​2435.52k ​    ​2504.05k ​    ​2469.77k ​    ​2514.89k 
 +aes-256 cbc       2048.28k     2169.20k     ​2203.11k ​    ​2247.47k ​    ​2204.04k 
 +sha256 ​            ​654.88k ​    ​1571.23k ​    ​2871.26k ​    ​3681.07k ​    ​3929.34k 
 +sha512 ​            ​190.78k ​     764.92k ​    ​1129.40k ​    ​1552.00k ​    ​1722.56k 
 +                  sign    verify ​   sign/s verify/s 
 +rsa 2048 bits 0.315625s 0.008941s ​     3.2    111.
 +                  sign    verify ​   sign/s verify/s 
 +dsa 2048 bits 0.088198s 0.106413s ​    ​11.3 ​     9.4 
 +</​file>​
  
-===== Tags ===== +  * qemu 1 cpu on Intel(R) Atom(TM) CPU D525   @ 1.80GHz , openwrt 12.09 x86 , OpenSSL 1.0.1e 11 Feb 2013 
- +<file
-{{tag>crypto}} +The '​numbers'​ are in 1000s of bytes per second processed. 
- +type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes 
-===== Notes ===== +md5                284.81k     1022.08k     3493.98k     8260.27k    14105.24k 
-  * There is quick note on performance of [[doc:​howto:​snippets#​elliptic.curves.in.openssh|elliptic curves]] in OpenSSH.+sha1               ​257.46k ​     753.19k ​    ​1632.93k ​    ​2367.96k ​    ​2694.01k 
 +des cbc           ​1712.30k ​    ​1884.43k ​    ​1909.09k ​    ​1931.67k ​    ​1924.30k 
 +des ede3           ​535.89k ​     576.83k ​     592.61k ​     589.82k ​     595.40k 
 +aes-128 cbc       ​1495.33k ​    ​1678.72k ​    ​1742.38k ​    ​1742.90k ​    ​1763.56k 
 +aes-192 cbc       ​1388.59k ​    ​1518.40k ​    ​1549.68k ​    ​1559.85k ​    ​1578.33k 
 +aes-256 cbc       ​1315.62k ​    ​1432.64k ​    ​1460.23k ​    ​1464.04k ​    ​1464.46k 
 +sha256 ​            ​206.75k ​     464.33k ​     795.23k ​     978.49k ​    ​1036.05k 
 +sha512 ​             68.87k ​     274.73k ​     401.52k ​     551.55k ​     621.46k 
 +                  sign    verify ​   sign/s verify/s 
 +rsa 2048 bits 1.155556s 0.033176s ​     0.9     ​30.1 
 +                  sign    verify ​   sign/s verify/s 
 +dsa 2048 bits 0.332333s 0.410800s ​     3.0      2.4 
 +</​file>​
inbox/benchmark.openssl.1394057936.txt.bz2 · Last modified: 2014/03/05 23:18 (external edit)