X-Original-To: pgsql-hackers-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 03E1152BD6 for ; Wed, 27 Jul 2005 18:41:33 -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 84623-10 for ; Wed, 27 Jul 2005 21:41:31 +0000 (GMT) Received: from smtp.osdl.org (smtp.osdl.org [65.172.181.4]) by svr1.postgresql.org (Postfix) with ESMTP id A4B1E52ADA for ; Wed, 27 Jul 2005 18:41:24 -0300 (ADT) Received: from lemming.pdx.osdl.net (fw.osdl.org [65.172.181.6]) (authenticated bits=0) by smtp.osdl.org (8.12.8/8.12.8) with ESMTP id j6RLfNjA026772 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Wed, 27 Jul 2005 14:41:23 -0700 Message-Id: <200507272141.j6RLfNjA026772@smtp.osdl.org> Date: Wed, 27 Jul 2005 14:42:01 -0700 From: Mark Wong To: josh@agliodbs.com Cc: pgsql-hackers@postgresql.org Subject: Re: wal_buffer tests in In-Reply-To: <200507271330.02083.josh@agliodbs.com> References: <200507271330.02083.josh@agliodbs.com> Organization: OSDL X-Mailer: Sylpheed-Claws 1.0.4a (GTK+ 1.2.10; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-MIMEDefang-Filter: osdl$Revision: 1.113 $ X-Scanned-By: MIMEDefang 2.36 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.056 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200507/1010 X-Sequence-Number: 71062 On Wed, 27 Jul 2005 13:30:01 -0700 Josh Berkus wrote: > Folks, > > I ran a wal_buffer test series. It appears that increasing the > wal_buffers is indeed very important for OLTP applications, potentially > resulting in as much as a 15% average increase in transaction processing. > What's interesting is that this is not just true for 8.1, it's true for > 8.0.3 as well. > > More importantly, 8.1 performance is somehow back up to above-8.0 levels. > Something was broken in June that's got fixed (this test series is based > on July 3 CVS) but I don't know what. Clues? > > Test results are here: > http://pgfoundry.org/docman/view.php/1000041/79/wal_buffer_test.pdf > > As always, detailed test results are available from OSDL, just use: > http://khack.osdl.org/stp/# > where # is the test number. The increase could actually be higher than 15% as 1800 notpm is about the max throughput you can have with 150 warehouses with the default thinktimes. The rule of thumb is about 12 * warehouses, for the throughput. Mark