On Wed, Mar 01, 2000 at 05:25:47PM -0000, Anonymous remailer wrote:
> Lutz Jaenicke wrote:
> > After having applied the patch and recompiled the necessary items,
> > I am now proud owner of both a +O3 +Oall and a +O4 +Oall share library set.
> 
> It might be interesting to also try it with and without BN_LLONG defined.
> If you're running HPUX 10.X then you don't have "native" 64-bit longs,
> even on a PA8000, right?  So 64-bit longs are implemented by the compiler
> via microcoded functions from the libraries.  There's been some suggestion
> that the result was actually slower than just using the 32-bit version.

Ok, coming back to that issue. I had my compiler running all day long
(while doing something else :-) and have now collected some amount of
benchmark data.
1. I could not find in the documentation, whether PA8000 64bit longs are
   actually used. I checked all the HP-C docs at www.docs.hp.com and the
   online manuals. The information ist, that with +DA2.0 (default when
   compiling on such a machine) PA8000 specific instructions are used,
   but not which :-)
   The results show, that the speedup is going from approximately 0 for md5
   to a factor of 3 for RSA and DSA operations.
2. I have played around with the other flags, especially BN_LLONG when
   compiling for DA1.1 (32bit) and DA2.0 (64bit).
   The results are everything but consistent. The only consistency seems to be,
   that when the kB/s for md5 et al become slower, the RSA and DSA number
   become better!? I must be kidding, but it really looks that way...

I don't want to drive people on the list crazy by publishing 50kB of numbers
(since the results are a bit odd, I either show all or nothing), so I have
posted them on my WWW-site at
   http://www.aet.tu-cottbus.de/personen/jaenicke/postfix_tls/openssl-results/

Best regards,
        Lutz
-- 
Lutz Jaenicke                             [EMAIL PROTECTED]
BTU Cottbus               http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik                  Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus              Fax. +49 355 69-4153
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to