Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vV9be-00EBvE-18 for pgsql-hackers@arkaria.postgresql.org; Mon, 15 Dec 2025 14:31:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vV9bd-000m4b-12 for pgsql-hackers@arkaria.postgresql.org; Mon, 15 Dec 2025 14:31:22 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vV9bc-000m3q-2x for pgsql-hackers@lists.postgresql.org; Mon, 15 Dec 2025 14:31:21 +0000 Received: from lahtoruutu.iki.fi ([185.185.170.37]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vV9bb-000sH2-0w for pgsql-hackers@lists.postgresql.org; Mon, 15 Dec 2025 14:31:21 +0000 Received: from [10.0.2.15] (unknown [130.41.208.2]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: hlinnaka) by lahtoruutu.iki.fi (Postfix) with ESMTPSA id 4dVMtn5xTJz49Q8f; Mon, 15 Dec 2025 16:31:13 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1765809074; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=B3m8biNQZiHzuz0nbrB9XJe7lkvX8tE6teUP88cTJ4g=; b=OZllPWugTsobN61ChRv7QwkuNXNeX+BbpDrlkeokuR/shkx3w2nrvJhhO881UxKqotctEM abRCSJibPeWuPdFHhFtvyaaZVXqagwh8PlxYQ7XaqpXGIi7EsYDGLFB4vGrzpU6wTO3ffr 5bQVsbSgMK1qpxxfL02uqKnqsF3ZLsAErn2t+E+enxiRiQ1ea/eUMFxsI9UDNeYeKSMvP4 nZsCXezz87mJ0GablBeHuMkjc/pCSy+Lmzrnode7aPx0aNKe3sLv1yZzE4mDl2pRZK5Js+ INBGVU05QGQ6nsUEgcwtSK9nwRQ7+4eEm646meDSTAfRWVhBFzTG8G8MfAruLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1765809074; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=B3m8biNQZiHzuz0nbrB9XJe7lkvX8tE6teUP88cTJ4g=; b=rRizfa2MCdpSWT5QeptV4f09kKGMc0ba2mhbu8WrcuRVeNP1WtScgwTE+xIHM6E1YgQfp2 5X4onyR3fJiTfHCDrDpqZgsFpMFAKlN5xNTW3SYrsmHNwt/nNXzkAPr+1DoLcGfiCjQ4v/ 5K4a9L3cBVWk2lTCM6w+/NIhd4ue8GBnQ6J5IliZZGJwUJZ5UHeM8Vx/2d1jLep2Ost3h6 rWcafVpUxMywQQ99Ve7DzFnrSosLRGoa6PruNJvdO7g5FHW+iQ9M+RO0+1UljeNSmBBrU3 Z9vsTZImBsXQFDfPnVJld/Ss2bZ5cTzgIUVD2JwMHx6TKmMh7FX5TaRC2gFi5w== ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=hlinnaka smtp.mailfrom=hlinnaka@iki.fi ARC-Seal: i=1; a=rsa-sha256; d=iki.fi; s=lahtoruutu; cv=none; t=1765809074; b=L5o9jb5cpy+e54xrwuE+ANu9DIDG37lCHcbhkTDbiQkvyhYfOYVxGj+SJtvoQnvu3D74ql J9xPA5cVH6X7g3ksvny5GNc1wpecss7ikWB1BJfpJZphbeP49v+RbM4N6n/D40a4AyX+LR YJDKAaCjQ1NdpMZhYAoum1c9KS878PE2o70m64mqmWncvEr74iy6A+aj5vlKOk2AAN8mIR RBT1nyLw7DaahHr1puj8efgmRm5C2PCZnd/hPvVQhN7NKIemXLlailWUZ8OdXInD/ZNMYm XcjxA3c3N4nxcWf1VcPm+Org6QswPzrKJmHDa31d1QL5+j2poOCmlj79CNlrCw== Message-ID: Date: Mon, 15 Dec 2025 16:31:13 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: POC: make mxidoff 64 bits To: Alexander Lakhin , Ashutosh Bapat , Maxim Orlov Cc: Alvaro Herrera , Alexander Korotkov , wenhui qiu , Postgres hackers References: <36531c0e-292c-409d-bbc7-a252cf6e910a@iki.fi> <54aa8f65-f0e4-4464-b543-e0399c1cab1e@iki.fi> <4a9dda70-0af7-41a4-9636-b168f2fc48ef@iki.fi> <46cc45e9-fddd-44bc-bcb3-96889aafd921@iki.fi> <6c298bc4-7029-4c1d-bf16-3e094842ce32@iki.fi> <2c62322e-a0e3-49cd-b369-370718a8efd8@iki.fi> <3624730d-6dae-42bf-9458-76c4c965fb27@iki.fi> Content-Language: en-US From: Heikki Linnakangas In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 15/12/2025 10:00, Alexander Lakhin wrote: > Hello Heikki, > > 09.12.2025 14:00, Heikki Linnakangas wrote: >> Committed with that and some other minor cleanups. Thanks everyone! >> This patch has been brewing for a while :-). > > I've spotted a couple of failures of new test 007_multixact_conversion at > buildfarm: > ... > > Thus, it looks like these animals can hit 180 seconds timeout with some > external factors (concurrent load?) that make them run 2-3 times slower... Hmm, so it's hitting the timeout while running the multixid generation workload part of the test. The workload keeps 20 parallel connections open, using them in a round-robin fashion, and apparently the timeout spans the whole duration of each connection rather than the individual queries run on them. On my laptop with jit_above_cost=0 and jit_optimize_above_cost=1000, like on those buildfarm animals, the multixid generation workload runs in under 10 s. I suppose it could be 20x slower on a slow, busy system. So the straightforward fix is to bump up the timeout. I'm tempted to force "jit=off" here, as the multixid generation is not really the thing that's being tested here. It's just used to generate multixids in the cluster before the upgrade. Then again, the point of forcing JIT in these buildfarm members is to test JITting as part of everything else that wasn't originally written as a JIT test. - Heikki