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-14 18:14:32
Message-ID: alpine.DEB.2.02.1306142001440.10940@localhost6.localdomain6
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> pgbench already has a "\sleep" command, and the way that delay is
> handled happens inside threadRun() instead. The pausing of the rate
> limit throttle needs to operate in the same place.

It does operate at the same place. The throttling is performed by
inserting a "sleep" first thing when starting a new transaction. So if
their is a weirdness, it should show as well without throttling but with a
fixed \sleep instead?

--
Fabien.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Berkus 2013-06-14 18:16:02 Re: Hard to Use WAS: Hard limit on WAL space
Previous Message Joshua D. Drake 2013-06-14 18:10:43 Re: another error perhaps to be enhanced