pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: pgsql-hackers@postgresql.org
Subject: Re: reducing isolation tests runtime
Date: Wed, 13 Feb 2019 09:46:50 -0800
Message-ID: <20190213174650.3bjgfzjcnw3ys5ab@alap3.anarazel.de> (raw)
In-Reply-To: <29883.1550079701@sss.pgh.pa.us>
References: <20190213154008.GA16739@alvherre.pgsql>
	<25068.1550073530@sss.pgh.pa.us>
	<20190213170339.7j5emqw6wvxiuuhv@alap3.anarazel.de>
	<29883.1550079701@sss.pgh.pa.us>

Hi,

On 2019-02-13 12:41:41 -0500, Tom Lane wrote:
> Andres Freund <andres@anarazel.de> writes:
> > Do you have an idea why we have both max_concurrent_tests *and*
> > max_connections in pg_regress? ISTM the former isn't really useful given
> > the latter?
> 
> No, the former is a static restriction on what the schedule file is
> allowed to contain, the latter is a dynamic restriction (that typically
> is unlimited anyway).

Right, but why don't we allow for more tests in a group, and then use a
default max_connections to limit concurrency? Having larger groups is
advantageous wrt test runtime - it reduces the number of artificial
serialization point where the slowest test slows things down.  Obviously
there's still a few groups that are needed for test interdependency
management, but that's comparatively rare. We have have plenty groups
that are just broken up to stay below max_concurrent_tests.

Greetings,

Andres Freund




view thread (21+ messages)  latest in thread

Message-ID: <20190213174650.3bjgfzjcnw3ys5ab@alap3.anarazel.de>
Permalink:  ../20190213174650.3bjgfzjcnw3ys5ab@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20190213174650.3bjgfzjcnw3ys5ab@alap3.anarazel.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de, tgl@sss.pgh.pa.us, alvherre@2ndquadrant.com, thomas.munro@enterprisedb.com, pgsql-hackers@postgresql.org
  Subject: Re: reducing isolation tests runtime
  In-Reply-To: <20190213174650.3bjgfzjcnw3ys5ab@alap3.anarazel.de>
  References: <20190213154008.GA16739@alvherre.pgsql> <25068.1550073530@sss.pgh.pa.us> <20190213170339.7j5emqw6wvxiuuhv@alap3.anarazel.de> <29883.1550079701@sss.pgh.pa.us> <20190213174650.3bjgfzjcnw3ys5ab@alap3.anarazel.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox