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 1vV3V2-00CgdP-1n for pgsql-hackers@arkaria.postgresql.org; Mon, 15 Dec 2025 08:00:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vV3V1-00GNPb-0q for pgsql-hackers@arkaria.postgresql.org; Mon, 15 Dec 2025 08:00:08 +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 1vV3V0-00GNPS-2i for pgsql-hackers@lists.postgresql.org; Mon, 15 Dec 2025 08:00:07 +0000 Received: from mail-lf1-x12c.google.com ([2a00:1450:4864:20::12c]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vV3Uy-000p5N-2x for pgsql-hackers@lists.postgresql.org; Mon, 15 Dec 2025 08:00:07 +0000 Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-5957c929a5eso4715545e87.1 for ; Mon, 15 Dec 2025 00:00:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1765785604; x=1766390404; darn=lists.postgresql.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=ZBgIaeqS3bz8ZC4TLufawh/0P3rJ3jcNgRJ/Nc/bNzw=; b=S7hx+yETz10zcuUcYpzuO1GL5C0jpOGuAdprcHRk/G1UUAKQOUeQnQdwb6btoK5vkv GDUgCFwdPP3j4DwCERpCVkp4ZWzcXAIeMf2ex7x7wfArHwlv5nYstoVVAgg1FIcoYzp7 PZQ9FBrGO4b3aQJozZIYMhKMeaTD5KwTPF23xksxedDZRXDU8T2ewGjFZ0UxIOjvu+WS uwVzP1bEelJTQaVdIzs0WJEDJ2Jx32jgAcXoAxCh5XBlOx56wQp0xpsG3+hRkDdd3H64 S0z5L2Q2Km0F2NsCy6Z4h3qREo7iwpBrqudbftO8YYjEj2e8yNwinHZFVnKeUHBp6ztW 2vzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765785604; x=1766390404; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ZBgIaeqS3bz8ZC4TLufawh/0P3rJ3jcNgRJ/Nc/bNzw=; b=uHuT2T+bMgZTMaQd/0EuK3bMTMS4ZPgImSDv5g9K1OyRciCfsSW3/nuz5eahQtvJVZ m6mhA/x6SS6j6mCqAnj8dXvfD9ySNdt7LCOWv9Keh2v7O7T/I6TfA9MNIpzWCu0BaDQ0 MvZ7HDyVkFXVP/wVsgBrWEwyS5BYJhmb7b8ZVMjXrKdHg8USEKJu6n1MDJouxrqTiP1K RT2HFbmCIRpv2+DROyv1lfsUr5j6nzORCHKkC1naug/qLg3KLCjKo2ztRo4W45EpsaFX 0P6Olj6UnB+AoPuTc7YYfxJ+Qz+/+RlUHmnPkD2n5zAfDtSsX1ZeHYyc7eQ/sObz8PDE QYCw== X-Forwarded-Encrypted: i=1; AJvYcCXwBSbNoGxxfg8YSQ5813iHbYa+yZ1RU4cOal6RMeolyxTk1/PDuzinZxlNIU/wKnrKbI1zPfGQMTkCc9MM@lists.postgresql.org X-Gm-Message-State: AOJu0YwISKTuqUDi4KBMz+AHWyiDuBRU9INvUjyCnDBd1pItt4ZmwB4C uecixd0LuPSEEQ4jye5qssm12FpzJJKGPtL0UusUMUSaV5xODe98c6BZ X-Gm-Gg: AY/fxX5w4EPVWSJIJ9SDePaRbBkGjAeRKK2NLQ8H+2PyiWahPzrC7UwDzRbAVkcBDFv hNhF1v278en9cY6wMzbgb77LcHZjnpHDfWk2bzFIJSEabuOrLFjTI7NxkPmBFPjmjw6gDu1WdWA SIMUMQN+R4gXbX5qfxm4CgqmzaAj2vwYCSnuzxU2rOtkgo/jHXr5k3j2IMlg4+urIwdTRgt+psV 2k0Irnj+J+ruIvgEm8K83IXyM+9xQlialPrNfJWiQ0BweBQTkWX3HlPtIXJ3RrsZk7auiG4Lfsy YJm2ir+Vz0V20XqU2x7L2uUkCVkejR0AKOMGNboNiQF2+dX8/frmHFKV8y0KqQjGlANAcqve/dB RtX394EYYmbOuj9YxM0/BC8D6X36ULFqSodiE6a1Zi9Sm21wkw1RJAKGv2NUJ/g4YPNCVjLcekp avP8MCwPKUQzL2 X-Google-Smtp-Source: AGHT+IESkjK0qXCsmCojWSZuXG1xydGNQazOLMgXmNAwhsUbznOtgIvqDV4+dcGzCq4Mg/nU1+nbNg== X-Received: by 2002:a05:6512:33d0:b0:595:8350:5812 with SMTP id 2adb3069b0e04-598faa7c06dmr3271479e87.36.1765785603306; Mon, 15 Dec 2025 00:00:03 -0800 (PST) Received: from [192.168.0.50] ([89.149.93.129]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-598f3194dcesm5124670e87.79.2025.12.15.00.00.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 15 Dec 2025 00:00:02 -0800 (PST) Message-ID: Date: Mon, 15 Dec 2025 10:00:00 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: POC: make mxidoff 64 bits To: Heikki Linnakangas , 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: Alexander Lakhin In-Reply-To: <3624730d-6dae-42bf-9458-76c4c965fb27@iki.fi> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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: https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=urutu&dt=2025-12-09%2020%3A40%3A53 007_multixact_conversion_basic_oldnode.log: ... 2025-12-09 22:33:39.299 CET [2872679][client backend][21/2:0] LOG: statement: SET log_statement=none     ; 2025-12-09 22:36:39.025 CET [2871745][postmaster][:0] LOG:  received immediate shutdown request (180 seconds timeout) https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=canebrake&dt=2025-12-14%2023%3A53%3A48 007_multixact_conversion_basic_oldnode.log: ... 2025-12-15 01:57:01.380 CET [2178307][client backend][21/2:0] LOG: statement: SET log_statement=none     ; 2025-12-15 02:00:01.020 CET [2177271][postmaster][:0] LOG:  received immediate shutdown request (180 seconds timeout) Both occurred on JIT-enabled animals (moreover, JIT is provided by a debug build of LLVM), so these animals are very slow. Looking at other urutu's runs, we can see: https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=urutu&dt=2025-12-10%2013%3A06%3A35 007_multixact_conversion_basic_oldnode.log:: 2025-12-10 14:37:05.254 CET [2322763][client backend][21/2:0] LOG: statement: SET log_statement=none     ; 2025-12-10 14:39:21.784 CET [2322610][client backend][:0] LOG: disconnection: session time: 0:02:16.878 user=bf database=postgres host=[local] (136 seconds) https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=urutu&dt=2025-12-10%2017%3A43%3A02 2025-12-10 19:20:30.310 CET [1785680][client backend][21/2:0] LOG: statement: SET log_statement=none     ; 2025-12-10 19:22:41.734 CET [1784967][client backend][:0] LOG: disconnection: session time: 0:02:11.903 user=bf database=postgres host=[local] (133 seconds) Though major runs show timing under 80 seconds, e.g.: https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=urutu&dt=2025-12-14%2021%3A20%3A49 2025-12-14 22:48:53.764 CET [3751001][client backend][21/2:0] LOG: statement: SET log_statement=none     ; 2025-12-14 22:49:57.223 CET [3750961][client backend][:0] LOG: disconnection: session time: 0:01:03.571 user=bf database=postgres host=[local] (64 seconds) And a couple of other (successful) canebrake's runs: https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=canebrake&dt=2025-12-14%2021%3A09%3A31 2025-12-14 22:59:48.951 CET [3761649][client backend][21/2:0] LOG: statement: SET log_statement=none     ; 2025-12-14 23:01:26.274 CET [3761608][client backend][:0] LOG: disconnection: session time: 0:01:37.441 user=bf database=postgres host=[local] (98 seconds) https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=canebrake&dt=2025-12-14%2012%3A03%3A29 2025-12-14 13:59:29.205 CET [1564673][client backend][21/2:0] LOG: statement: SET log_statement=none     ; 2025-12-14 14:01:15.208 CET [1564633][client backend][:0] LOG: disconnection: session time: 0:01:46.147 user=bf database=postgres host=[local] (106 seconds) 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... Best regards, Alexander