[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 64bit vs i386



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/14/08 00:37, CaT wrote:
> On Wed, May 14, 2008 at 12:31:40AM -0500, Ron Johnson wrote:
>> On 05/13/08 22:15, Todd A. Jacobs wrote:
>>> On Tue, May 13, 2008 at 09:45:48AM -0700, Abraham Chaffin wrote:
>>>
>>>> wondering if it makes a difference if I install the 64bit version of
>>>> the debian vs the i386 version of debian? If it's just running apache,
>>> You will pay a performance penalty if you run 32-bit on a 64-bit system.
>> How so?  (That's the polite way of saying, "You're wrong.")
> 
> Less registers for one -> more expensive accessess of variables and

Grandparent said "if you run 32-bit on a 64-bit system".  And that's
just not true.  There's only a *benefit* by running 64-bit code,
because of the extra registers.

If, though, he had said, "performance hit by compiling source code
in 32-bit mode versus 64-bit mode", I conditionally agree with you.
  The problem is that the larger code size would have reduced cache
performance, negating some (or all) of the benefits from the extra
registers.

> other data. How much of a hit that makes depends on the s/w run but I'd
> say it's a safe bet that most if not all things will go a tad faster.
> 
>>> You may also not be able to access all your RAM,
>> Sure, on the 80486 or early Pentia.  But everything since then has PAE.
> 
> With a performance hit. :)

You conveniently snipped the part where I agreed with the RAM
performance hit.

- --
Ron Johnson, Jr.
Jefferson LA  USA

We want... a Shrubbery!!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIKoNOS9HxQb37XmcRAn5BAKCc/QetqH+lUaf/bQqts7sZQTa2UgCeLtv+
/dade9+uTTNt/PfFx1FrHwE=
=tx4j
-----END PGP SIGNATURE-----


Reply to: