From: Fabien COELHO <coelho@cri.ensmp.fr>
To: Kuntal Ghosh <kuntalghosh.2007@gmail.com>
Cc: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: pgbench - compute & show latency consistently
Date: Wed, 21 Sep 2016 15:23:46 +0200 (CEST)
Message-ID: <alpine.DEB.2.20.1609211510240.1634@lancre> (raw)
In-Reply-To: <CAGz5QC+ZH5KngUZBSFztKA5t6_EPvZfueo0rs_H3VFyfdZabpg@mail.gmail.com>
References: <CAGz5QCJjBxLgqt9=uC3gRJUnTGh6BZsMivs7iyPLw0LD_TURsw@mail.gmail.com>
<46face3d-b9c8-2676-f63d-f96f8c3a658f@iki.fi>
<CAGz5QC+ZH5KngUZBSFztKA5t6_EPvZfueo0rs_H3VFyfdZabpg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
Hello Kuntal,
> <screen>
> transaction type: <builtin: TPC-B (sort of)>
> scaling factor: 10
> query mode: simple
> number of clients: 10
> number of threads: 1
> number of transactions per client: 1000
> number of transactions actually processed: 10000/10000
> tps = 85.184871 (including connections establishing)
> tps = 85.296346 (excluding connections establishing)
> </screen>
>
> Shouldn't we include latency average here as well and explain what it is?
Indeed, now it seems to be always printed but the documentation did not
follow, there should be a:
latency average = 117.392 ms
In front of the tps line. Well, the performance displayed could also be
improved... On my dual core SSD laptop I just got:
sh> ./pgbench -c 10 -t 1000
starting vacuum...end.
transaction type: <builtin: TPC-B (sort of)>
scaling factor: 100
query mode: simple
number of clients: 10
number of threads: 1
number of transactions per client: 1000
number of transactions actually processed: 10000/10000
latency average = 9.527 ms
tps = 1049.665115 (including connections establishing)
tps = 1049.890194 (excluding connections establishing)
Which is about 10 times better.
--
Fabien.
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: coelho@cri.ensmp.fr, kuntalghosh.2007@gmail.com, hlinnaka@iki.fi
Subject: Re: pgbench - compute & show latency consistently
In-Reply-To: <alpine.DEB.2.20.1609211510240.1634@lancre>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox