Received: from mail.postgresql.org (webmail.postgresql.org [216.126.85.28]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id f1NIq2x80557 for ; Fri, 23 Feb 2001 13:52:02 -0500 (EST) (envelope-from pgsql-admin-owner@postgresql.org) Received: from p2272.nsk.ne.jp ([210.145.18.145]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f1KLlQx74974; Tue, 20 Feb 2001 16:47:27 -0500 (EST) (envelope-from Inoue@tpf.co.jp) Received: from mcadnote1 (ppm146.noc.fukui.nsk.ne.jp [210.161.188.65]) by p2272.nsk.ne.jp (8.9.3/3.7W-20000722) with SMTP id GAA14741; Wed, 21 Feb 2001 06:46:47 +0900 (JST) From: "Hiroshi Inoue" To: "Tom Lane" Cc: "Schmidt, Peter" , , Subject: RE: [HACKERS] Re: v7.1b4 bad performance Date: Wed, 21 Feb 2001 06:48:19 +0900 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal In-Reply-To: <12736.982685944@sss.pgh.pa.us> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Archive-Number: 200102/187 X-Sequence-Number: 790 > -----Original Message----- > From: Tom Lane [mailto:tgl@sss.pgh.pa.us] > > Hiroshi Inoue writes: > > I changed pgbench so that different connection connects > > to the different database and got the following results. > > Hmm, you mean you set up a separate test database for each pgbench > "client", but all under the same postmaster? > Yes. Different database is to make the conflict as less as possible. The conflict among backends is a greatest enemy of CommitDelay. > > The results of > > pgbench -c 10 -t 100 > > > [CommitDelay=0] > > 1st)tps = 18.484611(including connections establishing) > > tps = 19.827988(excluding connections establishing) > > 2nd)tps = 18.754826(including connections establishing) > > tps = 19.352268(excluditp connections establishing) > > 3rd)tps = 18.771225(including connections establishing) > > tps = 19.261843(excluding connections establishing) > > [CommitDelay=1] > > 1st)tps = 20.317649(including connections establishing) > > tps = 20.975151(excluding connections establishing) > > 2nd)tps = 24.208025(including connections establishing) > > tps = 24.663665(excluding connections establishing) > > 3rd)tps = 25.821156(including connections establishing) > > tps = 26.842741(excluding connections establishing) > > What platform is this on --- in particular, how long a delay > is CommitDelay=1 in reality? What -B did you use? > platform) i686-pc-linux-gnu, compiled by GCC egcs-2.91.60(turbolinux 4.2) min delay) 10msec according to your test program. -B) 64 (all other settings are default) Regards, Hiroshi Inoue