X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 5889E9DC942 for ; Wed, 1 Feb 2006 04:25:15 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 92729-03 for ; Wed, 1 Feb 2006 04:25:15 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail4.sea5.speakeasy.net (mail4.sea5.speakeasy.net [69.17.117.6]) by postgresql.org (Postfix) with ESMTP id 0B83B9DC837 for ; Wed, 1 Feb 2006 04:25:12 -0400 (AST) Received: (qmail 19480 invoked from network); 1 Feb 2006 08:25:13 -0000 Received: from dsl081-060-184.sfo1.dsl.speakeasy.net (HELO noodles) (jwbaker@[64.81.60.184]) (envelope-sender ) by mail4.sea5.speakeasy.net (qmail-ldap-1.03) with RC4-MD5 encrypted SMTP for ; 1 Feb 2006 08:25:13 -0000 Subject: Re: Huge Data sets, simple queries From: "Jeffrey W. Baker" To: Luke Lonergan Cc: pgsql-performance@postgresql.org In-Reply-To: References: Content-Type: text/plain Date: Wed, 01 Feb 2006 00:25:13 -0800 Message-Id: <1138782313.14732.1.camel@noodles> Mime-Version: 1.0 X-Mailer: Evolution 2.5.4 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.12 required=5 tests=[AWL=0.120] X-Spam-Score: 0.12 X-Spam-Level: X-Archive-Number: 200602/7 X-Sequence-Number: 16993 On Tue, 2006-01-31 at 21:53 -0800, Luke Lonergan wrote: > Jeffrey, > > On 1/31/06 8:09 PM, "Jeffrey W. Baker" wrote: > >> ... Prove it. > > I think I've proved my point. Software RAID1 read balancing provides > > 0%, 300%, 100%, and 100% speedup on 1, 2, 4, and 8 threads, > > respectively. In the presence of random I/O, the results are even > > better. > > Anyone who thinks they have a single-threaded workload has not yet > > encountered the autovacuum daemon. > > Good data - interesting case. I presume from your results that you had to > make the I/Os non-overlapping (the "skip" option to dd) in order to get the > concurrent access to work. Why the particular choice of offset - 3.2GB in > this case? No particular reason. 8k x 100000 is what the last guy used upthread. > > So - the bandwidth doubles in specific circumstances under concurrent > workloads - not relevant to "Huge Data sets, simple queries", but possibly > helpful for certain kinds of OLTP applications. Ah, but someday Pg will be able to concurrently read from two datastreams to complete a single query. And that day will be glorious and fine, and you'll want as much disk concurrency as you can get your hands on. -jwb