Subject: Re: OpenSSL RSA very very slow
To: Johnny C. Lam <jlam@NetBSD.org>
From: J.T. Conklin <jtc@acorntoolworks.com>
List: port-amd64
Date: 01/13/2005 06:09:26
"Johnny C. Lam" <jlam@NetBSD.org> writes:
>> FWIW, the pkgsrc openssl already builds with these optimizations. I
>> had copied part of the linux-x86_64 openssl config when creating the
>> entry in the Configure script for NetBSD/amd64. The only remaining
>> part of the linux-x86_64 config that I haven't copied over is RC4_CHUNK,
>> which is supposed to "enable code that handles data aligned at long
>> (natural CPU word) boundary). I'll test a build with and without this
>> extra definition to see if the RSA speed differs.
>
> The output from "openssl speed rsa" is basically the same between
> openssl built with and without RC4_CHUNK defined. I will leave the
> pkgsrc openssl the way that it currently is.
That would make sense, since AFAIK RC4_CHUNK is only used for the RC4
implementation. Is there any difference with "openssl speed rc4"?
--jtc
--
J.T. Conklin