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 f1O3Npx40524 for ; Fri, 23 Feb 2001 22:23:51 -0500 (EST) (envelope-from pgsql-admin-owner@postgresql.org) Received: from sraigw.sra.co.jp (sraigw.sra.co.jp [202.32.10.2]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f1O2cWx37056; Fri, 23 Feb 2001 21:38:32 -0500 (EST) (envelope-from t-ishii@sra.co.jp) Received: from sranhk.sra.co.jp (sranhk [133.137.36.134]) by sraigw.sra.co.jp (8.8.7/3.7W-sraigw) with ESMTP id LAA22382; Sat, 24 Feb 2001 11:38:27 +0900 (JST) Received: from localhost (IDENT:t-ishii@portsv3-15 [133.137.84.15]) by sranhk.sra.co.jp (8.9.3/3.7W-srambox) with ESMTP id LAA10163; Sat, 24 Feb 2001 11:38:23 +0900 To: tgl@sss.pgh.pa.us Cc: hannu@tm.ee, pgsql-hackers@postgresql.org, pgsql-admin@postgresql.org Subject: Re: [HACKERS] Re: v7.1b4 bad performance In-Reply-To: <28371.982946542@sss.pgh.pa.us> References: <28149.982943591@sss.pgh.pa.us> <20010224011332M.t-ishii@sra.co.jp> <28371.982946542@sss.pgh.pa.us> X-Mailer: Mew version 1.94.2 on Emacs 20.7 / Mule 4.1 =?iso-2022-jp?B?KBskQjAqGyhCKQ==?= Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010224113813L.t-ishii@sra.co.jp> Date: Sat, 24 Feb 2001 11:38:13 +0900 From: Tatsuo Ishii X-Dispatcher: imput version 20000228(IM140) Lines: 19 X-Archive-Number: 200102/191 X-Sequence-Number: 794 > Okay, plan B then: let's ask people to redo their benchmarks with > -s bigger than one. Now, how much bigger? > > To the extent that you think this is a model of a real bank, it should > be obvious that the number of concurrent transactions cannot exceed the > number of tellers; there should never be any write contention on a > teller's table row, because only that teller (client) should be issuing > transactions against it. Contention on a branch's row is realistic, > but not from more clients than there are tellers in the branch. > > As a rule of thumb, then, we could say that the benchmark's results are > not to be believed for numbers of clients exceeding perhaps 5 times the > scale factor, ie, half the number of teller rows (so that it's not too > likely we will have contention on a teller row). At least -s 5 seems reasonable for me too. Maybe we should make it as the default setting for pgbench? -- Tatsuo Ishii