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 E183BD921C for ; Thu, 29 Sep 2005 01:33:50 -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 66696-02 for ; Thu, 29 Sep 2005 04:33:48 +0000 (GMT) Received: from mail24.sea5.speakeasy.net (mail24.sea5.speakeasy.net [69.17.117.26]) by svr1.postgresql.org (Postfix) with ESMTP id 22EF3D8E31 for ; Thu, 29 Sep 2005 01:33:47 -0300 (ADT) Received: (qmail 8085 invoked from network); 29 Sep 2005 04:33:47 -0000 Received: from dsl081-060-184.sfo1.dsl.speakeasy.net (HELO noodles) ([64.81.60.184]) (envelope-sender ) by mail24.sea5.speakeasy.net (qmail-ldap-1.03) with RC4-MD5 encrypted SMTP for ; 29 Sep 2005 04:33:47 -0000 Subject: Sequential I/O Cost (was Re: A Better External Sort?) From: "Jeffrey W. Baker" To: Ron Peacetree Cc: pgsql-performance@postgresql.org In-Reply-To: <21402654.1127923414088.JavaMail.root@elwamui-polski.atl.sa.earthlink.net> References: <21402654.1127923414088.JavaMail.root@elwamui-polski.atl.sa.earthlink.net> Content-Type: text/plain Date: Wed, 28 Sep 2005 21:33:46 -0700 Message-Id: <1127968426.8954.19.camel@noodles> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.03 required=5 tests=[AWL=0.030] X-Spam-Level: X-Archive-Number: 200509/406 X-Sequence-Number: 14714 On Wed, 2005-09-28 at 12:03 -0400, Ron Peacetree wrote: > >From: "Jeffrey W. Baker" > >Perhaps I believe this because you can now buy as much sequential I/O > >as you want. Random I/O is the only real savings. > > > 1= No, you can not "buy as much sequential IO as you want". Even if > with an infinite budget, there are physical and engineering limits. Long > before you reach those limits, you will pay exponentially increasing costs > for linearly increasing performance gains. So even if you _can_ buy a > certain level of sequential IO, it may not be the most efficient way to > spend money. This is just false. You can buy sequential I/O for linear money up to and beyond your platform's main memory bandwidth. Even 1GB/sec will severely tax memory bandwidth of mainstream platforms, and you can achieve this rate for a modest cost. I have one array that can supply this rate and it has only 15 disks. It would fit on my desk. I think your dire talk about the limits of science and engineering may be a tad overblown.