Date: Tue, 14 Mar 2006 12:38:25 +0100 From: Alexander Konovalenko <kono@kth.se> To: JoaoBR <joao@matik.com.br> Cc: freebsd-amd64@freebsd.org Subject: Re: amd64 slower than i386 on identical AMD 64 system? Message-ID: <200603141238.26235.kono@kth.se> In-Reply-To: <200603140740.38388.joao@matik.com.br> References: <20060313221836.5491916A420@hub.freebsd.org> <200603141106.13693.kono@kth.se> <200603140740.38388.joao@matik.com.br>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 14 March 2006 11:40, JoaoBR wrote: > > so where is your comparism? My point was that the same hardware is faster > running i386 > > I experience this also on X2 machines but do not have two machines to > compare I have a X2-4400-SMP running amd64 and a X2-4200-SMP running i386 > and it gives me the same numbers running ubench > I have experienced that -O3 and -ffast-math optimizations flags on AMD64 might cause degrade in performance, meaning that -O2 is the fastest. When you compile your ports what opt. flags do you use? Try to reinstall ubench with different flags. Also code produced with gcc4.x is faster then system compiler and has no degrade effect. Some time ago I was interested in fast scientific computations and did some primitive benchmark tests (http://daemon.nanophys.kth.se/~kono/testfcpu) I just wonder what will happen if you run ubench (compiled for i386) on AMD64, will performance overcome amd64 ubench? /Alexander Konovalenko
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603141238.26235.kono>