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.1306152151120.10940@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
Hello Greg,

I've done some more testing with the "test" patch. I have not seen any 
spike at the end of the throttled run.

The attached version 11 patch does ensure that throttle added sleeps are 
not included in latency measures (-r) and that throttling is performed 
right at the beginning of a transaction. There is an ugly goto to do that.

I think there is still a latent bug in the code with listen which should 
be set back to 0 in other places, but this bug is already there.

-- 
Fabien.

pgsql-hackers by date:

Previous
From: Kevin Grittner
Date:
Subject: Re: Batch API for After Triggers
Next
From: Fujii Masao
Date:
Subject: Re: pg_restore -l with a directory archive