Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eeRty-00017V-G5 for pgsql-hackers@arkaria.postgresql.org; Wed, 24 Jan 2018 20:44:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eeRtx-00006M-PM for pgsql-hackers@arkaria.postgresql.org; Wed, 24 Jan 2018 20:44:09 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eeRtx-00006C-FH for pgsql-hackers@lists.postgresql.org; Wed, 24 Jan 2018 20:44:09 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eeRtq-0005Ft-6V for pgsql-hackers@postgresql.org; Wed, 24 Jan 2018 20:44:08 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 0003A222AA; Wed, 24 Jan 2018 15:44:00 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Wed, 24 Jan 2018 15:44:01 -0500 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-sender :x-me-sender:x-sasl-enc; s=fm1; bh=tLes4q/nD8i1l77lp2XFWKDjpCQC7 JXjIkznmlDl228=; b=WuNigkAmxk6Gk77nPKXfwGhDyMsvT4NKOIlBG5w814/gI +JF58xp4cElpFAosAIHkiEtuu17kT2OTjd55VjJDuWUqtfj2xbqmrntFePZvt3QM IFg9bF76id4ds9B181sl/NiatFe+Z5oOT37As/kFWIkMzhLEfAjkLLVOqoiZi6OH pUPTjrM5zBAN0nYss7NH0tMTt2ia5yPBSnfy3pWV1YX6y/9ru8ShPlxWshupnqZu TnosjUMzx0+IadEZOqf+EHOOEqTymb/lWhNiyOb7XamfOrqPyOYA/bnOTk/pnrpz WBpupnGKyTYPIsP8yOayCKs+McsniSZalp6Yi9mGA== X-ME-Sender: Received: from intern.anarazel.de (unknown [136.24.76.189]) by mail.messagingengine.com (Postfix) with ESMTPA id A85EC24800; Wed, 24 Jan 2018 15:44:00 -0500 (EST) Date: Wed, 24 Jan 2018 12:43:59 -0800 From: Andres Freund To: Alvaro Herrera Cc: Robert Haas , Tom Lane , Thomas Munro , "pgsql-hackers@postgresql.org" Subject: Re: pgsql: Add parallel-aware hash joins. Message-ID: <20180124204359.ognamsfdqbrfbazd@alap3.anarazel.de> References: <20180124182018.jx2h4wp6twqo7xix@alap3.anarazel.de> <20180124201826.g6vhuewpnycpt3ta@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180124201826.g6vhuewpnycpt3ta@alvherre.pgsql> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, On 2018-01-24 17:18:26 -0300, Alvaro Herrera wrote: > Andres Freund wrote: > > Besides larger groups, starting the next test(s) earlier, another way to > > gain pretty large improvements would be a test schedule feature that > > allowed to stat dependencies between tests. So instead of manually > > grouping the schedule, have 'numerology' state that it depends on int2, > > int4, int8, float4, float8, which means it can actually be started > > earlier than it currently can in many cases. > > Yeah, I proposed this a decade ago but never had the wits to write the > code. It shouldn't be too hard, right? Leaving defining the file format, parsing it, creating the new schedule with depencencies and adapting tests aside (hah), it mostly seems a relatively simple graph ordering / topological sort problem, right? If we keep the timings from an earlier run somwhere, we can use the timing of runs as edge weights, making the schedule better. > It would be very useful for running tests standalone, too -- much as I > dislike 'make installcheck' taking half a minute, I dislike much more > having to take 5 minutes each time to figure out that create_table > depends on box, polygon, create_function, yadda yadda. Oh, that's a good point. - Andres