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 AFA38D7215 for ; Wed, 24 Aug 2005 02:24:28 -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 77847-05 for ; Wed, 24 Aug 2005 05:24:25 +0000 (GMT) Received: from mail28.sea5.speakeasy.net (mail28.sea5.speakeasy.net [69.17.117.30]) by svr1.postgresql.org (Postfix) with ESMTP id 1A990D7268 for ; Wed, 24 Aug 2005 02:24:23 -0300 (ADT) Received: (qmail 5444 invoked from network); 24 Aug 2005 05:24:23 -0000 Received: from dsl081-060-184.sfo1.dsl.speakeasy.net (HELO noodles) ([64.81.60.184]) (envelope-sender ) by mail28.sea5.speakeasy.net (qmail-ldap-1.03) with RC4-MD5 encrypted SMTP for ; 24 Aug 2005 05:24:23 -0000 Subject: Re: Read/Write block sizes From: "Jeffrey W. Baker" To: Guy Thornley Cc: Josh Berkus , pgsql-performance@postgresql.org, Steve Poe , Chris Browne In-Reply-To: <20050824052023.GB31806@conker.esphion.com> References: <60k6icpapm.fsf@dba2.int.libertyrms.com> <1124846743.12045.94.camel@amd64-laptop-spoe> <200508231931.29682.josh@agliodbs.com> <1124852854.11147.5.camel@noodles> <20050824052023.GB31806@conker.esphion.com> Content-Type: text/plain Date: Tue, 23 Aug 2005 22:25:21 -0700 Message-Id: <1124861121.11270.1.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 required=5 tests=[none] X-Spam-Level: X-Archive-Number: 200508/376 X-Sequence-Number: 14123 On Wed, 2005-08-24 at 17:20 +1200, Guy Thornley wrote: > As for the async IO, sure you might think 'oh async IO would be so cool!!' > and I did, once, too. But then I sat down and _thought_ about it, and > decided well, no, actually, theres _very_ few areas it could actually help, > and in most cases it just make it easier to drive your box into lseek() > induced IO collapse. > > Dont forget that already in postgres, you have a process per connection, and > all the processes take care of their own I/O. That's the problem. Instead you want 1 or 4 or 10 i/o slaves coordinating the I/O of all the backends optimally. For instance, with synchronous scanning. -jwb