Re: pgbench progress report improvements - split 2 - Mailing list pgsql-hackers

From Fabien
Subject Re: pgbench progress report improvements - split 2
Date
Msg-id alpine.DEB.2.02.1309222044230.18614@sto
Whole thread Raw
In response to Re: pgbench progress report improvements  (Noah Misch <noah@leadboat.com>)
Responses Re: pgbench progress report improvements - split 2
List 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.

pgsql-hackers by date:

Previous
From: Fabien COELHO
Date:
Subject: Re: pgbench progress report improvements - split 1
Next
From: Fabien
Date:
Subject: Re: pgbench progress report improvements - split 3