Re: Linux v.s. Mac OS-X Performance

From: Steve Wampler <swampler(at)noao(dot)edu>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Linux v.s. Mac OS-X Performance
Date: 2007-11-12 17:47:29
Message-ID: 473891B1.8080404@noao.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Sam Mason wrote:
> And what's the performance hit of using native 64bit code? I'd guess
> similar, moving twice as much data around with each pointer has got to
> affect things.

That's probably difficult to predict. Since the architecture is 64-bits,
it shouldn't cost any more to move a 64-bit pointer around as a 32-bit
one. (Plus, I *think* you get more registers in 64-bit mode.)

However, a good optimizer might figure out it can move two 32-bit pointers
with one 64-bit transfer.

--
Steve Wampler -- swampler(at)noao(dot)edu
The gods that smiled on your birth are now laughing out loud.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Douglas McNaught 2007-11-12 17:50:21 Re: Linux v.s. Mac OS-X Performance
Previous Message Scott Marlowe 2007-11-12 17:46:12 Re: Linux v.s. Mac OS-X Performance