Subject: Re: OpenSSL RSA very very slow
To: J.T. Conklin <jtc@acorntoolworks.com>
From: Johnny C. Lam <jlam@NetBSD.org>
List: port-amd64
Date: 01/13/2005 07:33:05
On Thu, Jan 13, 2005 at 07:11:11AM +0000, Johnny C. Lam wrote:
> 
> 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.

	Cheers,

	-- Johnny Lam <jlam@NetBSD.org>