View Single Post
Old 21st October 2009
mikesg's Avatar
mikesg mikesg is offline
I can has a title?
 
Join Date: Aug 2009
Posts: 28
Default

Stripped out all the work bits and just included the finished times. I added one more test on the end to work HyperThreading in with the cores.

Code:
OS:	OpenBSD 4.6 GENERIC.MP#89 i386
CPU:	Intel Atom 330 (1.6 dual core w/ HT enabled)
Mem:	2 x 512MB DDR2 PC2-5300 (Kingston)
HDD:	Patriot WARP SSD PE32GS25SSDR
SYS:    SUPERMICRO SYS-5015A-H

# time openssl dhparam -out 4096.pem 4096
80m29.05s real    80m52.94s user     0m0.36s system

# time dd if=/dev/urandom bs=4k count=1024 | openssl enc -e -k 1234 -aes-128-cbc -out /dev/null
0m39.39s real     0m0.13s user     0m45.12s system

# time openssl speed aes
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
aes-128 cbc      20985.30k    24882.07k    26168.64k    26508.33k    26617.20k
aes-192 cbc      18314.52k    21156.30k    22078.68k    22317.76k    22393.28k
aes-256 cbc      16199.47k    18267.73k    18918.40k    19085.18k    19138.25k
    0m44.94s real     0m45.16s user     0m0.01s system

# time openssl speed -multi 2 aes
aes-128 cbc      26225.23k    39334.38k    45187.77k    46969.94k    47490.85k
aes-192 cbc      23632.97k    34036.18k    38318.28k    39741.20k    40102.95k
aes-256 cbc      27395.71k    32280.03k    33875.69k    34303.54k    34409.66k
    0m44.95s real     0m0.00s user     0m0.03s system

# time openssl speed -multi 3 aes
aes-128 cbc      43699.74k    62988.33k    71228.82k    73662.79k    74406.66k
aes-192 cbc      39212.64k    54320.04k    60330.22k    62237.25k    62745.23k
aes-256 cbc      43783.70k    50771.32k    52989.85k    53504.35k    53738.76k
    0m44.96s real     0m0.01s user     0m0.02s system

# time openssl speed -multi 4 aes
aes-128 cbc      52515.85k    79062.82k    90566.99k    94105.46k    95207.86k
aes-192 cbc      47572.55k    68371.82k    77070.50k    79615.79k    80437.42k
aes-256 cbc      43600.37k    59881.42k    66617.64k    68458.31k    68853.80k
    0m44.96s real     0m0.01s user     0m0.02s system
This is top near the end of the last test:
Code:
load averages:   2.34,  1.13,  0.65                                   15:27:49
33 processes:  1 running, 28 idle, 4 on processor
CPU0 states:  100% user,  0.0% nice,  0.0% system,  0.0% interrupt,  0.0% idle
CPU1 states:  100% user,  0.0% nice,  0.0% system,  0.0% interrupt,  0.0% idle
CPU2 states:  100% user,  0.0% nice,  0.0% system,  0.0% interrupt,  0.0% idle
CPU3 states:  100% user,  0.0% nice,  0.0% system,  0.0% interrupt,  0.0% idle
Memory: Real: 11M/56M act/tot  Free: 936M  Swap: 0K/1028M used/tot

  PID USERNAME PRI NICE  SIZE   RES STATE     WAIT      TIME    CPU COMMAND
10335 root      64    0  676K 1344K onproc/3  -         0:05 19.92% openssl
12027 root      64    0  676K 1344K onproc/0  -         0:05 19.92% openssl
   68 root      64    0  612K 1348K run/1     -         0:05 19.87% openssl
 8034 root      64    0  676K 1344K onproc/2  -         0:05 19.87% openssl
__________________
Mike

Last edited by mikesg; 24th October 2009 at 10:16 PM.
Reply With Quote