Re: pgbench progress report improvements - split 2

From: Fabien <coelho(at)cri(dot)ensmp(dot)fr>
To: Noah Misch <noah(at)leadboat(dot)com>
Cc: PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>, pavel(dot)stehule(at)gmail(dot)com
Subject: Re: pgbench progress report improvements - split 2
Date: 2013-09-22 18:46:55
Message-ID: alpine.DEB.2.02.1309222044230.18614@sto
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Split 2 of the initial submission

pgbench: reduce and compensate throttling underestimation bias.

This is a consequence of relying on an integer random generator,
which allow to ensure that delays inserted stay reasonably in
range of the target average delay.

The bias was about 0.5% with 1000 distinct values. Multiplier added
to compensate the 0.05% bias with 10000 distinct integer values,
so there is no bias now.

--
Fabien.

Attachment Content-Type Size
pgbench-rate-bias.patch text/x-diff 1.0 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fabien 2013-09-22 18:58:37 Re: pgbench progress report improvements - split 3
Previous Message Fabien COELHO 2013-09-22 18:44:08 Re: pgbench progress report improvements - split 1