Re: pgbench --latency-limit option

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Tatsuo Ishii <ishii(at)postgresql(dot)org>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pgbench --latency-limit option
Date: 2015-12-23 18:06:42
Message-ID: alpine.DEB.2.10.1512231903580.22350@sto
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


>> [...]
>> Because the schedule is based on a stochastic process, transactions are not
>> set regularly (that would induce patterns and is not representative of
>> real-life load) but randomly.
>>
>> The long term average is expected to converge to 2 tps, but on a short run
>> it may differ significantly.
>
> Hmm. Is that documented somewhere?

Sure, see --rate option in pgbench doc, which states:

"The rate is targeted by starting transactions along a Poisson-distributed
schedule time line."

The impact on the tps is implied, though.

--
Fabien.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2015-12-23 18:12:48 Re: Parallel Aggregate
Previous Message Robert Haas 2015-12-23 17:37:40 Re: Using quicksort for every external sort run