[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: improving ssh2 performance on SPARCv8/SPARCv9 systems



Hi Joshua,

On Tue, Mar 19, 2002 at 04:46:07AM -0800, Joshua Uziel wrote:
[...]
> 
> Just a quick guess that it looks like a factor of 7 or 8 in speed
> improvement.  So, how can you get this wonderful benefit on your
> machine, you ask?  You can either build it yourself:
> 
> 1) apt-get source openssl0.9.6
> 2) edit openssl-0.9.6c/Configure ... search down to "debian-sparc" and
>    add in a "-mv8" right after the "gcc:"
> 3) debuild

I think you also need to include the supplied object-file for sparcv8 (like
in the default line for linux-sparcv8).

I had to change the line in Configure from

"debian-sparc","gcc:-DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT:-ldl:BN_LLONG RC4_CHAR DES_UNROLL BF_PTR::::::::::dlfcn:linux-shared:-fPIC",

to

"debian-sparc","gcc:-mv8 -DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall -DBN_DIV2W::-D_REENTRANT:-ldl:BN_LLONG RC4_CHAR DES_UNROLL BF_PTR:asm/sparcv8.o:::::::::dlfcn:linux-shared:-fPIC",

Without the '-DBN_DIV2W' and 'asm/sparcv8.o' the library was as slow as before
on my box.

Regards

Raoul


-- 
To UNSUBSCRIBE, email to debian-sparc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: