Received: from maia.hub.org (maia-1.hub.org [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 4B648633255 for ; Tue, 11 May 2010 22:02:01 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 81308-04 for ; Wed, 12 May 2010 01:01:37 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from glacier.frostconsultingllc.com (glacier.frostconsultingllc.com [69.36.227.170]) by mail.postgresql.org (Postfix) with ESMTP id C36E6632E29 for ; Tue, 11 May 2010 22:01:53 -0300 (ADT) Received: from dsl081-245-111.sfo1.dsl.speakeasy.net ([64.81.245.111] helo=Sidney-Stratton.local) by glacier.frostconsultingllc.com with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.69) (envelope-from ) id 1OC0Ka-0007gi-Ak for pgsql-performance@postgresql.org; Tue, 11 May 2010 18:01:50 -0700 Message-ID: <4BE9FDFC.40401@agliodbs.com> Date: Tue, 11 May 2010 18:01:48 -0700 From: Josh Berkus User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b3pre) Gecko/20090223 Thunderbird/3.0b2 MIME-Version: 1.0 To: postgres performance list Subject: Re: 8K recordsize bad on ZFS? References: <4BE4ABC9.6040106@agliodbs.com> <4BE852CE.9020802@agliodbs.com> <4BE85ED3.4010008@agliodbs.com> <4BE877BE.8000908@agliodbs.com> <20100511134138.GB14663@oak.highrise.ca> In-Reply-To: <20100511134138.GB14663@oak.highrise.ca> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201005/55 X-Sequence-Number: 38639 > Sure, but bulk load + reandom selects is going to *guarentee* > fragmentatioon on a COW system (like ZFS, BTRFS, etc) as the selects > start to write out all the hint-bit-dirtied blocks in random orders... > > i.e. it doesn't take long to make an originally nicely continuous block > random.... I'm testing with DD and Bonnie++, though, which create their own files. For that matter, running an ETL procedure with a newly created database on both recordsizes was notably (2.5x) faster on the 128K system. So I don't think fragmentation is the difference. -- -- Josh Berkus PostgreSQL Experts Inc. http://www.pgexperts.com