Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 37371632D58 for ; Sat, 15 May 2010 16:48:26 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 94330-01 for ; Sat, 15 May 2010 19:48:18 +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 448DC632B1F for ; Sat, 15 May 2010 16:48:19 -0300 (ADT) Received: from adsl-63-195-55-98.dsl.snfc21.pacbell.net ([63.195.55.98] helo=[192.168.47.103]) by glacier.frostconsultingllc.com with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.69) (envelope-from ) id 1ODNLI-0003Cd-MF for pgsql-performance@postgresql.org; Sat, 15 May 2010 12:48:17 -0700 Message-ID: <4BEEFA75.6090708@agliodbs.com> Date: Sat, 15 May 2010 12:48:05 -0700 From: Josh Berkus User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9pre) Gecko/20100217 Shredder/3.0.3pre MIME-Version: 1.0 To: pgsql-performance@postgresql.org Subject: Re: Benchmark with FreeBSD 8.0 and pgbench References: <28569544.post@talk.nabble.com> In-Reply-To: <28569544.post@talk.nabble.com> Content-Type: text/plain; charset=UTF-8; format=flowed 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/77 X-Sequence-Number: 38661 Joao, Wow, thanks for doing this! In general, your tests seem to show that there isn't a substantial penalty for using ZFS as of version 8.0. If you have time for more tests, I'd like to ask you for a few more tweaks: (1) change the following settings according to conventional wisdom: wal_buffers = 8MB effective_cache_size = 9GB checkpoint_segments = 32 on ZFS only: full_page_writes=off (2) What scale were you using for the pgbench database? I didn't see it in the e-mail. It would be worth testing: s = 10 (small database, in memory) s = 500 (7GB, ram mostly full) s = 1000 (14GB, slightly larger than ram) s = 3000 (43GB, much larger than ram) If you were only testing a small size in your runs, then the only Filesystem behavoir you were testing was the transaction log. (3) Try a ZFS 128K record size (4) Centos/Ext3 appears to have had better staying power with high numbers of clients. Can you continue testing with 50, 100 and 200 clients on that combination? And with data=writeback,noatime on Ext3? -- -- Josh Berkus PostgreSQL Experts Inc. http://www.pgexperts.com