Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V2167-0006Pe-1B for pgsql-bugs@arkaria.postgresql.org; Wed, 24 Jul 2013 15:35:27 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1V2166-0001y0-Cb for pgsql-bugs@arkaria.postgresql.org; Wed, 24 Jul 2013 15:35:26 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V1oI8-0005s1-DM for pgsql-bugs@postgresql.org; Wed, 24 Jul 2013 01:55:00 +0000 Received: from mahout.postgresql.org ([2001:4800:7903:4::123]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V1oHr-0007Cy-8W for pgsql-bugs@postgresql.org; Wed, 24 Jul 2013 01:55:00 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V1oHo-0003Pn-5m for pgsql-bugs@postgresql.org; Wed, 24 Jul 2013 01:54:42 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.80) (envelope-from ) id 1V1oHi-0003uO-8o for pgsql-bugs@postgresql.org; Wed, 24 Jul 2013 01:54:34 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: BUG #8326: pgbench tps wrong BUG To: pgsql-bugs@postgresql.org From: digoal@126.com Message-Id: Date: Wed, 24 Jul 2013 01:54:34 +0000 X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 8326 Logged by: digoal.zhou Email address: digoal@126.com PostgreSQL version: Unsupported/Unknown Operating system: CentOS 5.8 x64 Description: when client thread big, the tps without connection time wrong!!!! pg94@db-172-16-3-33-> pgbench -M prepared -n -r -f ./test.sql -T 10 -c 800 -j 100 digoal transaction type: Custom query scaling factor: 1 query mode: prepared number of clients: 800 number of threads: 100 duration: 10 s number of transactions actually processed: 2037960 tps = 199534.267305 (including connections establishing) tps = 675603.691013 (excluding connections establishing) statement latencies in milliseconds: 1.019046 select 1; when client threads small, the wrong is little. pg94@db-172-16-3-33-> pgbench -M prepared -n -r -f ./test.sql -T 10 -c 800 -j 10 digoal transaction type: Custom query scaling factor: 1 query mode: prepared number of clients: 800 number of threads: 10 duration: 10 s number of transactions actually processed: 1035345 tps = 102285.117970 (including connections establishing) tps = 115616.181725 (excluding connections establishing) statement latencies in milliseconds: 6.812371 select 1; -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs