Re: [PATCH] pgbench --throttle (submission 7 - with lag measurement) - Mailing list pgsql-hackers

From Fabien COELHO
Subject Re: [PATCH] pgbench --throttle (submission 7 - with lag measurement)
Date
Msg-id alpine.DEB.2.02.1306102351580.18266@localhost6.localdomain6
Whole thread Raw
In response to Re: [PATCH] pgbench --throttle (submission 7 - with lag measurement)  (Greg Smith <greg@2ndQuadrant.com>)
Responses Re: [PATCH] pgbench --throttle (submission 7 - with lag measurement)
List pgsql-hackers
Here is submission v9 based on your v8 version.
 - the tps is global, with a mutex to share the global stochastic process - there is an adaptation for the "fork"
emulation- I do not know wheter this works with Win32 pthread stuff. - reduced multiplier ln(1000000) -> ln(1000) - avg
&max throttling lag are reported
 

> There's a little more play outside of the target than ideal for this 
> case.  Maybe it's worth tightening the Poisson curve a bit around its 
> center?

A stochastic process moves around the target value, but is not right on 
it.

-- 
Fabien.

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Server side lo-funcs name
Next
From: Robert Haas
Date:
Subject: Re: JSON and unicode surrogate pairs