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

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Steve Wampler <swampler(at)noao(dot)edu>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Linux v.s. Mac OS-X Performance
Date: 2007-11-12 18:22:21
Message-ID: 20071112102221.380bac50@scratch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

On Mon, 12 Nov 2007 10:47:29 -0700
Steve Wampler <swampler(at)noao(dot)edu> wrote:

> 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.)

It's all about the registers man... all extra 8 of them. Unless of
course you are running with >8GB of ram, then it is all about the
ability to use more than 2GB of shared memory.

Joshua D. Drake

- --

=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 24x7/Emergency: +1.800.492.2240
PostgreSQL solutions since 1997 http://www.commandprompt.com/
UNIQUE NOT NULL
Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
PostgreSQL Replication: http://www.commandprompt.com/products/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHOJndATb/zqfZUUQRAjsLAJ4tzk65jzGRGMv33/voxCrqq7O/UACfQR6R
jO/YsOG+4Opq4y8QgoXrnQg=
=/dNT
-----END PGP SIGNATURE-----

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Todd A. Cook 2007-11-12 18:42:23 Re: [HACKERS] Is "query" a reserved word in 8.3 plpgsql?
Previous Message Sam Mason 2007-11-12 17:55:23 Re: Linux v.s. Mac OS-X Performance