Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jul 2005 09:46:29 -0700
From:      ray@redshift.com
To:        Steve Kargl <sgk@troutmask.apl.washington.edu>
Cc:        freebsd-amd64@freebsd.org
Subject:   Re: Benchmarks: AMD64 vs i386 on Dual 246 Opteron
Message-ID:  <3.0.1.32.20050728094629.00a50b10@pop.redshift.com>
In-Reply-To: <20050728163602.GC64153@troutmask.apl.washington.edu>
References:  <3.0.1.32.20050728092338.01207628@pop.redshift.com> <3.0.1.32.20050728080526.00aa4098@pop.redshift.com> <86mzo7yvpe.fsf@xps.des.no> <3.0.1.32.20050728013152.00a4d188@pop.redshift.com> <86mzo7yvpe.fsf@xps.des.no> <3.0.1.32.20050728080526.00aa4098@pop.redshift.com> <3.0.1.32.20050728092338.01207628@pop.redshift.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At 09:36 AM 7/28/2005 -0700, Steve Kargl wrote:
| On Thu, Jul 28, 2005 at 09:23:38AM -0700, ray@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.

Ray




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.1.32.20050728094629.00a50b10>