pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Luke Lonergan <llonergan@greenplum.com>
To: Steve Atkins <steve@blighty.com>
To: Pgsql-Performance ((E-mail)) <pgsql-performance@postgresql.org>
Subject: Re: 64-bit vs 32-bit performance ... backwards?
Date: Mon, 12 Jun 2006 18:50:27 -0700
Message-ID: <C0B367F3.26F29%llonergan@greenplum.com> (raw)
In-Reply-To: <1BAED8DB-01CE-4D10-A509-91FB4DF1F04D@blighty.com>


Opteron is ~20% faster at executing code in 64-bit mode than 32-bit because
of the extra registers made available with their 64-bit mode:
  http://www.tomshardware.com/2003/04/22/duel_of_the_titans/page7.html

Doubling the GPRs from 8 to 16 has generally made a 20%-30% difference in
CPU-bound work:
  http://www.tomshardware.com/2003/04/22/duel_of_the_titans/page18.html

If the task is memory bandwidth bound, there should be an advantage to using
less memory for the same task, but if the database is using types that are
the same width for either execution mode, you wouldn't expect a significant
difference just from wider pointer arithmetic.

- Luke 

view thread (34+ messages)  latest in thread

Message-ID: <C0B367F3.26F29%llonergan@greenplum.com>
Permalink:  ../C0B367F3.26F29%25llonergan@greenplum.com/
Also on:    postgresql.org/message-id/C0B367F3.26F29%llonergan@greenplum.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: llonergan@greenplum.com, steve@blighty.com
  Subject: Re: 64-bit vs 32-bit performance ... backwards?
  In-Reply-To: <C0B367F3.26F29%llonergan@greenplum.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox