X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id A5F9F32A341 for ; Wed, 20 Oct 2004 19:32:57 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 63024-09 for ; Wed, 20 Oct 2004 18:32:55 +0000 (GMT) Received: from gp.word-to-the-wise.com (gp.word-to-the-wise.com [64.71.176.18]) by svr1.postgresql.org (Postfix) with ESMTP id 0BB0D32A1C9 for ; Wed, 20 Oct 2004 19:32:55 +0100 (BST) Received: by gp.word-to-the-wise.com (Postfix, from userid 500) id 65E599029FB; Wed, 20 Oct 2004 11:39:22 -0700 (PDT) Date: Wed, 20 Oct 2004 11:39:22 -0700 From: Steve Atkins To: POSTGRES-PERFORMANCE Subject: Re: how much mem to give postgres? Message-ID: <20041020183922.GB2120@gp.word-to-the-wise.com> References: <4a0cafe2041019153133f854e9@mail.gmail.com> <200410192223.24285.josh@agliodbs.com> <4a0cafe204102006391f726a4f@mail.gmail.com> <41767104.10702@ymogen.net> <20041020175038.GA1339@gp.word-to-the-wise.com> <4176AB72.6040101@ymogen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4176AB72.6040101@ymogen.net> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200410/329 X-Sequence-Number: 8805 On Wed, Oct 20, 2004 at 07:16:18PM +0100, Matt Clark wrote: > > > >Hyperthreading is actually an excellent architectural feature that > >can give significant performance gains when implemented well and used > >for an appropriate workload under a decently HT aware OS. > > > >IMO, typical RDBMS streams are not an obviously appropriate workload, > >Intel didn't implement it particularly well and I don't think there > >are any OSes that support it particularly well. > > > > > >But don't write off using it in the future, when it's been improved > >at both the OS and the silicon levels. > > > > > > > You are quite right of course - unfortunately the current Intel > implementation meets nearly none of these criteria! Indeed. And when I said "no OSes support it particularly well" I meant the x86 SMT implementation, rather than SMT in general. As Rod pointed out, AIX seems to have decent support and Power has a very nice implementation, and the same is probably true for at least one other OS/architecture implementation. > As Rod Taylor pointed out off-list, IBM's SMT implementation on the > Power5 is vastly superior. Though he's also just told me that Sun > is beating IBM on price/performance for his workload, so who knows > how reliable a chap he is... ;-) :) Cheers, Steve