X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 710BCDB985 for ; Fri, 18 Nov 2005 09:42:15 -0400 (AST) 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 21424-06 for ; Fri, 18 Nov 2005 13:42:17 +0000 (GMT) X-Greylist: delayed 17:01:00.223893 by SQLgrey- Received: from unicorn.rentec.com (unicorn.rentec.com [216.223.240.9]) by svr1.postgresql.org (Postfix) with ESMTP id 63DE9DB965 for ; Fri, 18 Nov 2005 09:42:11 -0400 (AST) Received: from ram.rentec.com (mailhost [192.5.35.66]) by unicorn.rentec.com (8.13.1/8.12.1) with ESMTP id jAIDftn9018179 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 18 Nov 2005 08:41:57 -0500 (EST) X-Source: non-mednet Received: from [172.26.132.145] (hoopoe.rentec.com [172.26.132.145]) by ram.rentec.com (8.13.1/8.12.1) with ESMTP id jAIDfNr0018317; Fri, 18 Nov 2005 08:41:23 -0500 (EST) Message-ID: <437DDA26.4000603@rentec.com> Date: Fri, 18 Nov 2005 08:41:58 -0500 From: Alan Stange Reply-To: stange@rentec.com Organization: Renaissance Technologies Corp. User-Agent: Thunderbird 1.5 (X11/20051025) MIME-Version: 1.0 CC: Dave Cramer , Luke Lonergan , Greg Stark , Joshua Marsh , pgsql-performance@postgresql.org Subject: Re: Hardware/OS recommendations for large databases ( References: <0F3B99E2-4575-42B8-8AAC-3FE4B231348C@fastcrypt.com> <437DD5A1.1090605@archonet.com> In-Reply-To: <437DD5A1.1090605@archonet.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Logged: Logged by unicorn.rentec.com as jAIDftn9018179 at Fri Nov 18 08:41:57 2005 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.095 required=5 tests=[AWL=-0.095, MISSING_HEADERS=0.189] X-Spam-Score: 0.095 X-Spam-Level: X-Archive-Number: 200511/359 X-Sequence-Number: 15616 Richard Huxton wrote: > Dave Cramer wrote: >> >> On 18-Nov-05, at 1:07 AM, Luke Lonergan wrote: >> >>> Postgres + Any x86 CPU from 2.4GHz up to Opteron 280 is CPU bound >>> after >>> 110MB/s of I/O. This is true of Postgres 7.4, 8.0 and 8.1. >>> >>> A $1,000 system with one CPU and two SATA disks in a software RAID0 >>> will >>> perform exactly the same as a $80,000 system with 8 dual core CPUs >>> and the >>> world's best SCSI RAID hardware on a large database for decision >>> support >>> (what the poster asked about). >> >> >> Now there's an interesting line drawn in the sand. I presume you >> have numbers to back this up ? >> >> This should draw some interesting posts. That's interesting, as I occasionally see more than 110MB/s of postgresql IO on our system. I'm using a 32KB block size, which has been a huge win in performance for our usage patterns. 300GB database with a lot of turnover. A vacuum analyze now takes about 3 hours, which is much shorter than before. Postgresql 8.1, dual opteron, 8GB memory, Linux 2.6.11, FC drives. -- Alan