Re: UltraSPARC T2 - OpenSSL - PKCS11 ???

2009-08-17 Thread CH-Kami

Thanks for your help everyone !

I've checked T5120 hardware specifications : 8 cores 8 threads/core so I
used the multi 64 option :

   signverifysign/s verify/s
rsa  512 bits   0.s   0.s 121283.7 202718.0
rsa 1024 bits   0.s   0.s  30643.1 115804.2
rsa 2048 bits   0.0002s   0.s   5282.8  44109.6
rsa 4096 bits   0.0421s   0.0009s 23.7   1071.3

It looks much better ! Does it look relevent to you ?

About the multi 64 option :  I tried multi 70 to be sure there will be
always a thread waiting to be executed. I've noticed some improvement but
not much ... Is this a good idea ?

-- 
View this message in context: 
http://www.nabble.com/UltraSPARC-T2---OpenSSL---PKCS11-tp24952022p25002897.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.

__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   majord...@openssl.org


UltraSPARC T2 - OpenSSL - PKCS11 ???

2009-08-13 Thread CH-Kami

Hi, 

I'm currently working on a project involving a Sun T5120 and some crypto...
(I'm also to to OpenSSL  T2)

T2 is supposed to be quite fast for crypto operations :

openssl speed rsa

   signverifysign/s verify/s
rsa  512 bits   0.0047s   0.0005s210.7   2072.0
rsa 1024 bits   0.0246s   0.0014s 40.7701.3
rsa 2048 bits   0.1554s   0.0048s  6.4206.3
rsa 4096 bits   1.0780s   0.0175s  0.9 57.0


openssl speed -engine pkcs11 rsa

signverifysign/s verify/s
rsa  512 bits   0.s   0.s  26514.1  31260.8
rsa 1024 bits   0.s   0.s  25112.3  30151.4
rsa 2048 bits   0.s   0.s  23563.2  29678.7
rsa 4096 bits   0.7007s   0.0184s  1.4 54.4

Compaired to the first speed test it looks pretty good !

To give me an idea how fast it is, I've run the same test on a desktop
machine:

signverifysign/s verify/s
rsa  512 bits 0.000216s 0.15s   4637.7  67700.3
rsa 1024 bits 0.000835s 0.41s   1197.1  24520.1
rsa 2048 bits 0.004752s 0.000128s210.4   7809.1
rsa 4096 bits 0.030489s 0.000440s 32.8   2273.9

I guess something goes wrong ?


I'm using the OpenSSL that was installed by default with Solaris 10 (it is
supposed to be build with pkcs11 suport).

Why is the T2 so slow (even when not using the pkcs11 engine) ?

-- 
View this message in context: 
http://www.nabble.com/UltraSPARC-T2---OpenSSL---PKCS11-tp24952022p24952022.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.
__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   majord...@openssl.org