Re: pgbench: option delaying queries till connections establishment?
Fabien COELHO <coelho@cri.ensmp.fr>
From: Fabien COELHO <coelho@cri.ensmp.fr>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: Andres Freund <andres@anarazel.de>, pgsql-hackers@postgresql.org
Date: 2020-07-04T06:34:25Z
Lists: pgsql-hackers
Attachments
- pgbench-A-usec-2.patch (text/x-diff) patch
- pgbench-B-barrier-5.patch (text/x-diff) patch
>> * First patch reworks time measurements in pgbench. >> * Second patch adds a barrier before starting the bench >> >> It applies on top of the previous one. The initial imbalance due to >> thread creation times is smoothed. > > The usecs patch fails to apply to HEAD, can you please submit a rebased version > of this patchset. Also, when doing so, can you please rename the patches such > that sort alphabetically in the order in which they are intended to be applied. > The CFBot patch tester will otherwise try to apply them out of order which > cause errors. Ok. Attached. -- Fabien.
Commits
-
Fix new pthread code to respect --disable-thread-safety.
- de91c3b976cf 14.0 landed
-
Add missing pthread_barrier_t.
- 44bf3d5083e1 14.0 landed
-
pgbench: Improve time logic.
- 547f04e7348b 14.0 landed
-
pgbench: Refactor thread portability support.
- b1d6a8f86813 14.0 landed
-
pgbench: Synchronize client threads.
- aeb57af8e640 14.0 landed
-
Fix bogus logic for skipping unnecessary partcollation dependencies.
- 84d514887f9c 12.0 cited