Benchmarks: AMD64 vs i386 on Dual 246 Opteron
ray at redshift.com
ray at redshift.com
Thu Jul 28 16:46:31 GMT 2005
At 09:36 AM 7/28/2005 -0700, Steve Kargl wrote:
| On Thu, Jul 28, 2005 at 09:23:38AM -0700, ray at redshift.com wrote:
| > |
| > | Drop 8 GB of memory into the box and see how the 32-bit
| > | FreeBSD performs in comparison to the 64-bit FreeBSD
| > | when your process consumes greater than 4GB of memory.
| > True, once you go over the 4GB limit it's a different ball of wax.
| > However, until that time, it would be nice to get to the bottom of
| > why 64 bit code is running half the speed of 32 bit code on the exact
| > same machine - don't you think?
| Well, I have 12 GB of memory and run numerical intensive codes
| that easily can grab 4+ GB, so I've never explored i386 FreeBSD on
| an amd64 system.
| As mentioned elsewhere, I would look for optimizations within
| the software packages that target i386. Additionally, the
| instruction schedulers in gcc/gas have had many more years
| of development in comparison to the amd64 schedulers.
| An interesting test would be to build math/atlas on 32-bit
| and 64-bit FreeBSD and then run some linpack benchmarks.
All good points. Maybe part of it does boil down to the fact that AMD64 is new
and hasn't had the mileage and hammering that i386 has had all right - that
makes a lot of sense certainly. My main question relating to all of this is
whether the 64 bit code should run as fast as the 32 bit code. If not, that's
fine. But if it should, then - at least in my testing - there is something
resulting in quite a delay when it comes to the AMD64 branch vs. the i386
branch, at least in relation to something like Apache and MySQL.
Let me put it this way... I know if I was in your shoes, running apps that could
only run on the 64 bit version of FreeBSD, I would want to know for sure that I
wasn't giving up half my potential speed just in order to gain access to system
memory above 4GB's. That's really what my concerns are - even though currently
I do not have any servers that need require more than a couple of GB's of RAM.
More information about the freebsd-amd64