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 02612DAE89 for ; Wed, 23 Nov 2005 21:51:57 -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 18655-04 for ; Thu, 24 Nov 2005 01:52:00 +0000 (GMT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail.Mi8.com (d01gw03.mi8.com [63.240.6.42]) by svr1.postgresql.org (Postfix) with ESMTP id C3E06DBA59 for ; Wed, 23 Nov 2005 21:51:52 -0400 (AST) Received: from 172.16.1.110 by mail.Mi8.com with ESMTP (- Welcome to Mi8 Corporation www.Mi8.com (D3)); Wed, 23 Nov 2005 20:51:42 -0500 X-Server-Uuid: E847189C-FC88-4913-9CD4-DE66914F83C0 Received: from MI8NYCMAIL06.Mi8.com ([172.16.1.175]) by D01SMTP01.Mi8.com with Microsoft SMTPSVC(6.0.3790.211); Wed, 23 Nov 2005 20:50:59 -0500 Received: from 208.54.15.129 ([208.54.15.129]) by MI8NYCMAIL06.Mi8.com ( [172.16.1.219]) via Exchange Front-End Server mi8owa.mi8.com ( [172.16.1.106]) with Microsoft Exchange Server HTTP-DAV ; Wed, 23 Nov 2005 20:50:59 -0500 User-Agent: Microsoft-Entourage/11.2.1.051004 Date: Wed, 23 Nov 2005 17:50:57 -0800 Subject: Re: Hardware/OS recommendations for large databases ( From: "Luke Lonergan" To: stange@rentec.com cc: "Postgresql Performance" Message-ID: Thread-Topic: [PERFORM] Hardware/OS recommendations for large databases ( Thread-Index: AcXweV01iY4lbERPReOGq+8vxhxRgAAICXgV In-Reply-To: <4384E685.4060108@rentec.com> MIME-Version: 1.0 X-OriginalArrivalTime: 24 Nov 2005 01:50:59.0537 (UTC) FILETIME=[849B7410:01C5F099] X-WSS-ID: 6F9BC32419O2005981-11-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=1.794 required=5 tests=[AWL=0.541, RCVD_NUMERIC_HELO=1.253] X-Spam-Score: 1.794 X-Spam-Level: * X-Archive-Number: 200511/477 X-Sequence-Number: 15734 Alan, On 11/23/05 2:00 PM, "Alan Stange" wrote: > Luke Lonergan wrote: >> Why not contribute something - put up proof of your stated 8KB versus >> 32KB page size improvement. > > I did observe that 32KB block sizes were a significant win "for our > usage patterns". It might be a win for any of the following reasons: > (* big snip *) Though all of what you relate is interesting, it seems irrelevant to your earlier statement here: >> Alan Stange writes: >> If your goal is sequential IO, then one must use larger block sizes. >> No one would use 8KB IO for achieving high sequential IO rates. Simply >> put, read() is about the slowest way to get 8KB of data. Switching >> to 32KB blocks reduces all the system call overhead by a large margin. >> Larger blocks would be better still, up to the stripe size of your >> mirror. (Of course, you're using a mirror and not raid5 if you care >> about performance.) And I am interested in seeing if your statement is correct. Do you have any proof of this to share? - Luke