Subject: Re: optimising for sparc v8
To: Gary Parker <G.J.Parker@lboro.ac.uk>
From: Nathan J. Williams <nathanw@wasabisystems.com>
List: port-sparc
Date: 05/18/2005 09:40:42
"Gary Parker" <G.J.Parker@lboro.ac.uk> writes:

> > -----Original Message-----
> > From: port-sparc-owner@NetBSD.org 
> > [mailto:port-sparc-owner@NetBSD.org] On Behalf Of Andrew Reynolds
> > Sent: 18 May 2005 11:37
> > To: port-sparc@netbsd.org
> > Subject: optimising for sparc v8
> > 
> > However, I'm hesitant to rebuild NetBSD 2.0.2 from scratch on 
> > my ss5-110, I think it might take a while. Are there specific 
> > binaries that would provide the most benefit if recompiled?
> 
> I'm running 2.0.2 on a pair of 150MHz Hypersparcs and I see quite an
> improvement in overall system performance when I './build.sh distribution'
> with the following in /etc/mk.conf:
> 
> CPUFLAGS=-mcpu=hypersparc
> COPTS+=-pipe
> BUILDFLAGS+=-j3

It's worth pointing out that CPUFLAGS is the only setting that's going
to make the resulting binaries faster; -pipe and -j3 should only
affect the build process itself, not the performance of the result.

        - Nathan