Subject: Re: What are you using port-sparc for?
To: NetBSD SPARC <port-sparc@NetBSD.ORG>
From: Holger Weiss <lists@jhweiss.de>
List: port-sparc
Date: 09/30/2004 00:07:42
* Greg A. Woods <woods@weird.com> [2004-09-29 15:43]:
> [ On Tuesday, September 28, 2004 at 04:29:52 (+0200), Holger Weiss wrote: ]
> > Have you tried recompiling OpenSSH/OpenSSL with "-mcpu=v8" on the SS5?
> > SSH 2 logins are _way_ faster when using v8 code on sun4m machines. On
> > sun4c, I'd use SSH 1.
>
> You should really use "-O2 -mcpu=v8 -mtune=supersparc", not just cpu=v8...

Adding "-O2" shouldn't be necessary since normally it's set already when
building OpenSSH/OpenSSL. And AFAICS, "-mtune=" only defines a subset of
what is defined via "-mcpu=". However, for both switches "supersparc" or
"hypersparc" may be used depending on the particular CPU, but "-mv8"
should do for all sun4m machines.

Holger

-- 
PGP fingerprint:  F1F0 9071 8084 A426 DD59  9839 59D3 F3A1 B8B5 D3DE