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.1306112203080.6293@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
Submission 10:
 - per thread throttling instead of a global process with a mutex.   this avoids a mutex, and the process is shared
betweenclients   of a given thread.
 
 - ISTM that there "thread start time" should be initialized at the   beginning of threadRun instead of in the loop
*before*thread creation,   otherwise the thread creation delays are incorporated in the   performance measure, but ISTM
thatthe point of pgbench is not to   measure thread creation performance...
 
   I've added a comment suggesting where it should be put instead,   first thing in threadRun.

-- 
Fabien.

pgsql-hackers by date:

Previous
From: Hannu Krosing
Date:
Subject: Re: Parallell Optimizer
Next
From: Greg Smith
Date:
Subject: Re: [PATCH] pgbench --throttle (submission 7 - with lag measurement)