Subject: Re: x86 Port outperforms SPARC64 port on NetBSD v2.0.2
To: None <segv@netctl.net>
From: Eduardo Horvath <eeh@netbsd.org>
List: port-sparc64
Date: 09/30/2005 16:38:02
On Fri, 30 Sep 2005 segv@netctl.net wrote:
> I don't think there is anything surprising here.
>
> I'm not sure exactly what subsystems your tests stress out, and this may have a
> big impact, depending on your hardware:
>
> 1. You seem to be using builtin IDE controller on sparc64, which is pretty slow
> 2. UltraSparc-II CPUs are not the best performers compared to Pentium 3s and AMD
> Athlons
> 3. How did you compile your software? Adding '-mcpu=ultrasparc' flag can make a
> big difference
> 4. I think gcc has been mostly tuned for x86 hardware. On architectures like
> sparc64 it does not produce very optimized code. I heard Sun compilers are much
> better in this respect
5. USIIi and USIIe processors have really lousy L2 caches and seem to
perform worse than much slower USI processors on many workloads.
Eduardo