amd64 optimized gcc?
Erich Dollansky
oceanare at pacific.net.sg
Wed May 25 10:55:57 PDT 2005
Hi,
Nicolas Blais wrote:
> Reference times for benchmark (5e+07 run of the algorithm):
>
> (FreeBSD/i386) Venice (S939, 512K L2 cache) Athlon64 3000 overclocked @ 2655
> Mhz : 78.3072 s (638511 r/s)
> Note: Cool 'n' Quiet! Disabled in BIOS.
> Note: 1 G RAM
>
> (FreeBSD/amd64) Venice (S939, 512K L2 cache) Athlon64 3000 overclocked @ 2655
> Mhz : 71.2521 s (701732 r/s)
> Note: Cool 'n' Quiet! Disabled in BIOS.
> Note: 1 G RAM
>
The compiler has more registers when compiling for the AMD64 mode.
> Not surprising is the Pentium II :). What is surprising is that amd64 FreeBSD
> seems to execute code faster than i386 FreeBSD, so I'm wondering if gcc
> (amd64) really optimizes code for the cpu. If it is, I would probably move my
> httpd server to amd64...
>
HTTPD does not gain from the registers but from memory.
Erich
More information about the freebsd-amd64
mailing list