Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 918E863233E for ; Sat, 15 May 2010 17:41:53 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 29634-08 for ; Sat, 15 May 2010 20:41:46 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mail.postgresql.org (Postfix) with ESMTP id 37F00632185 for ; Sat, 15 May 2010 17:41:46 -0300 (ADT) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1ODOB6-0007X2-A8 for pgsql-performance@postgresql.org; Sat, 15 May 2010 13:41:44 -0700 Message-ID: <28570856.post@talk.nabble.com> Date: Sat, 15 May 2010 13:41:44 -0700 (PDT) From: "joao.pinheiro" To: pgsql-performance@postgresql.org Subject: Re: Benchmark with FreeBSD 8.0 and pgbench In-Reply-To: <4BEEFA75.6090708@agliodbs.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: joao.pinheiro@pontosi.pt References: <28569544.post@talk.nabble.com> <4BEEFA75.6090708@agliodbs.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201005/78 X-Sequence-Number: 38662 Hi, The tests were made without the -s parameter, (so 1 is assumed). I'm runnin= g the numbers again on CentOS, with the optimized config and I'll test also different scale values. I also will be able to repeat the test again in FreeBSD with ZFS with the new options and different scale, but probably I won't repeat the UFS tests. I'll post the data when I finnis= h the tests.=20 Thanks for your feedback, Jo=C3=A3o Pinheiro Josh Berkus wrote: >=20 > Joao, >=20 > Wow, thanks for doing this! >=20 > In general, your tests seem to show that there isn't a substantial=20 > penalty for using ZFS as of version 8.0. >=20 > If you have time for more tests, I'd like to ask you for a few more > tweaks: >=20 > (1) change the following settings according to conventional wisdom: > =09wal_buffers =3D 8MB > =09effective_cache_size =3D 9GB > =09checkpoint_segments =3D 32 > =09on ZFS only: full_page_writes=3Doff >=20 > (2) What scale were you using for the pgbench database? I didn't see it= =20 > in the e-mail. It would be worth testing: > =09s =3D 10 (small database, in memory) > =09s =3D 500 (7GB, ram mostly full) > =09s =3D 1000 (14GB, slightly larger than ram) > =09s =3D 3000 (43GB, much larger than ram) >=20 > If you were only testing a small size in your runs, then the only=20 > Filesystem behavoir you were testing was the transaction log. >=20 > (3) Try a ZFS 128K record size >=20 > (4) Centos/Ext3 appears to have had better staying power with high=20 > numbers of clients. Can you continue testing with 50, 100 and 200=20 > clients on that combination? And with data=3Dwriteback,noatime on Ext3? >=20 > --=20 > -- Josh Berkus > PostgreSQL Experts Inc. > http://www.pgexperts.com >=20 > --=20 > Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org= ) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-performance >=20 >=20 --=20 View this message in context: http://old.nabble.com/Benchmark-with-FreeBSD-= 8.0-and-pgbench-tp28569544p28570856.html Sent from the PostgreSQL - performance mailing list archive at Nabble.com.