X-Original-To: pgsql-performance-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id C33AF9FA4A8 for ; Mon, 12 Jun 2006 23:26:16 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 06748-01 for ; Mon, 12 Jun 2006 23:26:06 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.202]) by postgresql.org (Postfix) with ESMTP id 86F1D9FA10A for ; Mon, 12 Jun 2006 23:26:08 -0300 (ADT) Received: by nz-out-0102.google.com with SMTP id i28so1455018nzi for ; Mon, 12 Jun 2006 19:26:05 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=Ev3z/KpFZzzAVp3W0H9EZD8TtkSVhq5WBugG1WqpD+k2YTY2+DvZqbamdEYOl0fQFYfbjI8n6Ht5UMQdsa85PzGVuinsdz5weLoezezapXtodzYf0GlOpVwerVPBiQ+QgYu/8pozZu0ztCKxDX98Hh91C3alrJCThOmOv8D/W24= Received: by 10.36.118.13 with SMTP id q13mr9879394nzc; Mon, 12 Jun 2006 19:26:05 -0700 (PDT) Received: by 10.37.18.19 with HTTP; Mon, 12 Jun 2006 19:26:05 -0700 (PDT) Message-ID: <33c6269f0606121926p15107d2fq9d395460269e2e53@mail.gmail.com> Date: Mon, 12 Jun 2006 22:26:05 -0400 From: "Alex Turner" To: "Steve Atkins" Subject: Re: 64-bit vs 32-bit performance ... backwards? Cc: "Pgsql-Performance ((E-mail))" In-Reply-To: <1BAED8DB-01CE-4D10-A509-91FB4DF1F04D@blighty.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5687_8014712.1150165565189" References: <1150151282.14661.42.camel@tigger> <54CA6A16-AB42-440D-B5DB-BC43AE283ED8@blighty.com> <448E11B1.20309@commandprompt.com> <1BAED8DB-01CE-4D10-A509-91FB4DF1F04D@blighty.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/154 X-Sequence-Number: 19511 ------=_Part_5687_8014712.1150165565189 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Anyone who has tried x86-64 linux knows what a royal pain in the ass it is. They didn't do anything sensible, like just make the whole OS 64 bit, no, they had to split it up, and put 64-bit libs in a new directory /lib64. This means that a great many applications don't know to check in there for libs, and don't compile pleasantly, php is one among them. I forget what others, it's been awhile now. Of course if you actualy want to use more than 4gig RAM in a pleasant way, it's pretty much essential. Alex. On 6/12/06, Steve Atkins wrote: > > > On Jun 12, 2006, at 6:15 PM, Joshua D. Drake wrote: > > > > >> Empirically... postgresql built for 64 bits is marginally slower > >> than that built > >> for a 32 bit api on sparc. None of my customers have found 64 bit x86 > >> systems to be suitable for production use, yet, so I've not tested > >> on any > >> of those architectures. > > > > Really? All of our customers are migrating to Opteron and I have > > many that have been using Opteron for over 12 months happily. > > An Opteron is 64 bit capable; that doesn't mean you have to run 64 bit > code on it. > > Mine're mostly reasonably conservative users, with hundreds of machines > to support. Using 64 bit capable hardware, such as Opterons, is one > thing, > but using an entirely different linux installation and userspace > code, say, is > a much bigger change in support terms. In the extreme case it makes no > sense to double your OS support overheads to get a single digit > percentage > performance improvement on one database system. > > That's not to say that linux/x86-64 isn't production ready for some > users, just > that it's not necessarily a good operational decision for my > customers. Given > my internal workloads aren't really stressing the hardware they're on > I don't > have much incentive to benchmark x86-64 yet - by the time the numbers > might be useful to me we'll be on a different postgresql, likely a > different > gcc/icc and so on. > > Cheers, > Steve > > > ---------------------------(end of broadcast)--------------------------- > TIP 2: Don't 'kill -9' the postmaster > ------=_Part_5687_8014712.1150165565189 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Anyone who has tried x86-64 linux knows what a royal pain in the ass it is.   They didn't do anything sensible, like just make the whole OS 64 bit, no, they had to split it up, and put 64-bit libs in a new directory /lib64.  This means that a great many applications don't know to check in there for libs, and don't compile pleasantly, php is one among them.  I forget what others, it's been awhile now.  Of course if you actualy want to use more than 4gig RAM in a pleasant way, it's pretty much essential.

Alex.

On 6/12/06, Steve Atkins <steve@blighty.com> wrote:

On Jun 12, 2006, at 6:15 PM, Joshua D. Drake wrote:

>
>> Empirically... postgresql built for 64 bits is marginally slower
>> than that built
>> for a 32 bit api on sparc. None of my customers have found 64 bit x86
>> systems to be suitable for production use, yet, so I've not tested
>> on any
>> of those architectures.
>
> Really? All of our customers are migrating to Opteron and I have
> many that have been using Opteron for over 12 months happily.

An Opteron is 64 bit capable; that doesn't mean you have to run 64 bit
code on it.

Mine're mostly reasonably conservative users, with hundreds of machines
to support. Using 64 bit capable hardware, such as Opterons, is one
thing,
but using an entirely different linux installation and userspace
code, say, is
a much bigger change in support terms. In the extreme case it makes no
sense to double your OS support overheads to get a single digit
percentage
performance improvement on one database system.

That's not to say that linux/x86-64 isn't production ready for some
users, just
that it's not necessarily a good operational decision for my
customers. Given
my internal workloads aren't really stressing the hardware they're on
I don't
have much incentive to benchmark x86-64 yet - by the time the numbers
might be useful to me we'll be on a different postgresql, likely a
different
gcc/icc and so on.

Cheers,
   Steve


---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

------=_Part_5687_8014712.1150165565189--