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

From: Douglas McNaught <doug(at)mcnaught(dot)org>
To: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
Cc: "Sam Mason" <sam(at)samason(dot)me(dot)uk>, pgsql-general(at)postgresql(dot)org
Subject: Re: Linux v.s. Mac OS-X Performance
Date: 2007-11-12 17:50:21
Message-ID: 87abpjcq02.fsf@suzuka.mcnaught.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com> writes:

> On Nov 12, 2007 11:37 AM, Sam Mason <sam(at)samason(dot)me(dot)uk> 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 not been my experience. It's not like everything you do
> requires 64 bits to be moved where in 32 bit code only 32 were moved.
> The performance gain of the 64 bit machine doing 64 bit operations
> over the 32 bit machine doing them (i.e. floating point etc...) is so
> much more that it more than makes up for the overhead of running in 64
> bit mode.

Plus, 64-bit mode gives you twice as many CPU registers, which is a
huge win for some algorithms, though in many cases it doesn't make
much of a difference.

-Doug

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Dunstan 2007-11-12 17:51:33 Re: [HACKERS] plperl and regexps with accented characters - incompatible?
Previous Message Steve Wampler 2007-11-12 17:47:29 Re: Linux v.s. Mac OS-X Performance