Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gtycf-0001wR-R1 for pgsql-hackers@arkaria.postgresql.org; Wed, 13 Feb 2019 17:47:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gtyce-0001un-GL for pgsql-hackers@arkaria.postgresql.org; Wed, 13 Feb 2019 17:47:00 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gtyce-0001ug-8t for pgsql-hackers@lists.postgresql.org; Wed, 13 Feb 2019 17:47:00 +0000 Received: from new1-smtp.messagingengine.com ([66.111.4.221]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gtycY-0000UQ-7K for pgsql-hackers@postgresql.org; Wed, 13 Feb 2019 17:46:59 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailnew.nyi.internal (Postfix) with ESMTP id DD107C8CD; Wed, 13 Feb 2019 12:46:52 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Wed, 13 Feb 2019 12:46:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=Ro1GLtx0L4E/mwMtrCctOeI1X7d QBq/G9zHZsbwYtis=; b=ZUh/uLD7KqckW9x4tLZJQrgeVBqxgkLW13uxRiJ25IC R6gB4MD/PPtxCjJwxbR7i8rRcbwCQ//bTIGH8SkxXSOCMzsLGP+d7nVWEqboJ6Wa fFKMt1ho2JTGvu3vSO3YT7KFdgC7KeA/q4WXlp/Fx5EiDZytWCCkVohzfjDSakiw FlfdqLLeZO3J9D97PF4tNTSxDYsqeCKucjpV7WKvkRY4n7Bygyq3tKieO8Asxvnm mI+t9eJVWqUKV9r584nca6eV/0PUGXZqVMDm48ojOoPP7+vDqG6cos1ZORiQkkd1 TGiqgFj1FfNzaEWFBV4PmSO0mJwT71yuhgkgEjPHhrQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=Ro1GLt x0L4E/mwMtrCctOeI1X7dQBq/G9zHZsbwYtis=; b=m+fMrd8WTmP/SlACJrYDAL VDFGckkKHx8gP48eDolCkqFy63EOctNQnTwSgQzyToI92iyciFSa2exKa+cG8By7 fujKApYnnyNaY9gqadtpakBKJEQoVzqYaFiF8Yxi5aVi106bengXNJSKpPWw8VI5 0VHAdy3CI0lyfodxK0PTKtxwDlmRt+551KHbZI1KFw6s3PuvewA3SEPTwcToBjMp 7Sfx0QHfPh9IodmBJHUDEg4MCpgfuC46j+lKYh7JL35eSwaeOuZfyK9x5Cqgt3SM oavZPMl2OINS9ha23EKdkXdsqWBw5Wswc3v2QOrwfGeINTGGDuOqVN+A07eof2hw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledruddtfedguddtiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthenuceurghilhhouhhtmecu fedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepfffhvffukf hfgggtuggjsehttdertddttddvnecuhfhrohhmpeetnhgurhgvshcuhfhrvghunhguuceo rghnughrvghssegrnhgrrhgriigvlhdruggvqeenucfkphepkeekrdduvdekrdekuddrud dvkeenucfrrghrrghmpehmrghilhhfrhhomheprghnughrvghssegrnhgrrhgriigvlhdr uggvnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from intern.anarazel.de (unknown [88.128.81.128]) by mail.messagingengine.com (Postfix) with ESMTPA id C8B89E423B; Wed, 13 Feb 2019 12:46:51 -0500 (EST) Date: Wed, 13 Feb 2019 09:46:50 -0800 From: Andres Freund To: Tom Lane Cc: Alvaro Herrera , Thomas Munro , pgsql-hackers@postgresql.org Subject: Re: reducing isolation tests runtime Message-ID: <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <29883.1550079701@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, On 2019-02-13 12:41:41 -0500, Tom Lane wrote: > Andres Freund 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