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 57B1C32A2F0 for ; Mon, 11 Oct 2004 18:38:27 +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 05897-07 for ; Mon, 11 Oct 2004 17:38:20 +0000 (GMT) Received: from smtp100.rog.mail.re2.yahoo.com (smtp100.rog.mail.re2.yahoo.com [206.190.36.78]) by svr1.postgresql.org (Postfix) with SMTP id 5F49D32A19B for ; Mon, 11 Oct 2004 18:38:20 +0100 (BST) Received: from unknown (HELO phlogiston.dydns.org) (a.sullivan@rogers.com@65.49.125.184 with login) by smtp100.rog.mail.re2.yahoo.com with SMTP; 11 Oct 2004 17:38:19 -0000 Received: by phlogiston.dydns.org (Postfix, from userid 1000) id 5FF244054; Mon, 11 Oct 2004 13:38:19 -0400 (EDT) Date: Mon, 11 Oct 2004 13:38:19 -0400 From: Andrew Sullivan To: pgsql-performance@postgresql.org Subject: IBM P-series machines (was: Excessive context switching on SMP Xeons) Message-ID: <20041011173819.GB22076@phlogiston.dyndns.org> Mail-Followup-To: pgsql-performance@postgresql.org References: <4162CA14.6080206@lulu.com> <200410050947.36174.josh@agliodbs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200410050947.36174.josh@agliodbs.com> User-Agent: Mutt/1.5.6+20040722i 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/139 X-Sequence-Number: 8615 On Tue, Oct 05, 2004 at 09:47:36AM -0700, Josh Berkus wrote: > As long as you're on x86, scaling outward is the way to go. If you want to > continue to scale upwards, ask Andrew Sullivan about his experiences running > PostgreSQL on big IBM boxes. But if you consider an quad-Opteron server > expensive, I don't think that's an option for you. Well, they're not that big, and both Chris Browne and Andrew Hammond are at least as qualified to talk about this as I. But since Josh mentioned it, I'll put some anecdotal rablings here just in case anyone is interested. We used to run our systems on Solaris 7, then 8, on Sun E4500s. We found the performance on those boxes surprisingly bad under certain pathological loads. I ultimately traced this to some remarkably poor shared memory handling by Solaris: during relatively heavy load (in particular, thousands of selects per second on the same set of tuples) we'd see an incredible number of semaphore operations, and concluded that the buffer handling was killing us. I think we could have tuned this away, but for independent reasons we decided to dump Sun gear (the hardware had become unreliable, and we were not satisfied with the service we were getting). We ended up choosing IBM P650s as a replacement. The 650s are not cheap, but boy are they fast. I don't have any numbers I can share, but I can tell you that we recently had a few days in which our write load was as large as the entire write load for last year, and you couldn't tell. It is too early for us to say whether the P series lives up to its billing in terms of relibility: the real reason we use these machines is reliability, so if approaching 100% uptime isn't important to you, the speed may not be worth it. We're also, for the record, doing experiments with Opterons. So far, we're impressed, and you can buy a lot of Opteron for the cost of one P650. A -- Andrew Sullivan | ajs@crankycanuck.ca I remember when computers were frustrating because they *did* exactly what you told them to. That actually seems sort of quaint now. --J.D. Baldwin