Re: [PATCH] pgbench --throttle (submission 7 - with lag measurement)

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: Greg Smith <greg(at)2ndQuadrant(dot)com>
Cc: PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] pgbench --throttle (submission 7 - with lag measurement)
Date: 2013-06-15 19:56:52
Message-ID: alpine.DEB.2.02.1306152151120.10940@localhost6.localdomain6
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Attachment Content-Type Size
pgbench-throttle-v11.patch text/x-diff 9.9 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fujii Masao 2013-06-15 20:21:26 Re: pg_restore -l with a directory archive
Previous Message Kevin Grittner 2013-06-15 19:46:13 Re: Batch API for After Triggers