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 AED61D70DC for ; Tue, 23 Aug 2005 20:24:30 -0300 (ADT) 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 56228-03 for ; Tue, 23 Aug 2005 23:24:27 +0000 (GMT) Received: from vms048pub.verizon.net (vms048pub.verizon.net [206.46.252.48]) by svr1.postgresql.org (Postfix) with ESMTP id 56816D702B for ; Tue, 23 Aug 2005 20:24:26 -0300 (ADT) Received: from osgiliath.mathom.us ([151.200.14.55]) by vms048.mailsrvcs.net (Sun Java System Messaging Server 6.2 HotFix 0.04 (built Dec 24 2004)) with ESMTPA id <0ILP00F4C7OO1K72@vms048.mailsrvcs.net> for pgsql-performance@postgresql.org; Tue, 23 Aug 2005 18:24:25 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by osgiliath.mathom.us (Postfix) with ESMTP id A546E60067A; Tue, 23 Aug 2005 19:24:24 -0400 (EDT) Received: from osgiliath.mathom.us ([127.0.0.1]) by localhost (osgiliath [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07726-01-7; Tue, 23 Aug 2005 19:24:24 -0400 (EDT) Received: by osgiliath.mathom.us (Postfix, from userid 1000) id 83C5D600162; Tue, 23 Aug 2005 19:24:24 -0400 (EDT) Date: Tue, 23 Aug 2005 19:24:24 -0400 From: Michael Stone Subject: Re: Read/Write block sizes In-reply-to: <60k6icpapm.fsf@dba2.int.libertyrms.com> To: Chris Browne Cc: pgsql-performance@postgresql.org Mail-Followup-To: Chris Browne , pgsql-performance@postgresql.org Message-id: <20050823232424.GM8667@mathom.us> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-disposition: inline X-Pgp-Fingerprint: 53 FF 38 00 E7 DD 0A 9C 84 52 84 C5 EE DF 7C 88 X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at mathom.us References: <60k6icpapm.fsf@dba2.int.libertyrms.com> User-Agent: Mutt/1.5.10i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.042 required=5 tests=[AWL=-0.008, FORGED_RCVD_HELO=0.05] X-Spam-Level: X-Archive-Number: 200508/361 X-Sequence-Number: 14108 On Tue, Aug 23, 2005 at 06:09:09PM -0400, Chris Browne wrote: >What we have been finding, as RAID controllers get smarter, is that it >is getting increasingly futile to try to attach knobs to 'disk stuff;' >it is *way* more effective to add a few more spindles to an array than >it is to fiddle with which disks are to be allocated to what database >'objects.' That statement doesn't say anything about trying to maximize performance to or from a disk array. Yes, controllers are getting smarter--but they aren't omnicient. IME an I/O bound sequential table scan doesn't get data moving off the disk nearly as fast as say, a dd with a big ibs. Why? There's obviously a lot of factors at work, but one of those factors is that the raid controller can optimize "grab this meg" a lot more than it can optimize "grab this 8k". Mike Stone