PATCH: remove nclients/nthreads constraint from pgbench

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>
Subject: PATCH: remove nclients/nthreads constraint from pgbench
Date: 2015-04-27 11:21:03
Message-ID: alpine.DEB.2.10.1504270715420.13807@sto
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Remove pgbench constraint that the number of clients must be a multiple of
the number of threads, by sharing clients among threads as evenly as
possible.

Rational: allows to test the database load with any number of client
without unrelated constraint. The current setting means for instance that
testing with a prime number of clients always uses one thread, whereas
other number of clients can use a different number of threads. This
constraint does not make much sense.

--
Fabien.

Attachment Content-Type Size
pgbench-nclients-1.patch text/x-diff 2.8 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2015-04-27 11:47:11 Re: Missing importing option of postgres_fdw
Previous Message Shigeru Hanada 2015-04-27 09:07:09 Re: Custom/Foreign-Join-APIs (Re: [v9.5] Custom Plan API)