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.94.2) (envelope-from ) id 1v1QyY-008dPV-TQ for pgsql-hackers@arkaria.postgresql.org; Wed, 24 Sep 2025 15:00:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1v1QyV-00DkTf-Le for pgsql-hackers@arkaria.postgresql.org; Wed, 24 Sep 2025 15:00:07 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1v1QyV-00DkTX-81 for pgsql-hackers@lists.postgresql.org; Wed, 24 Sep 2025 15:00:07 +0000 Received: from mail-lj1-x230.google.com ([2a00:1450:4864:20::230]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1v1QyS-002CQu-19 for pgsql-hackers@lists.postgresql.org; Wed, 24 Sep 2025 15:00:05 +0000 Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-3652d7800a8so43669881fa.0 for ; Wed, 24 Sep 2025 08:00:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1758726003; x=1759330803; darn=lists.postgresql.org; h=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=N2jRo08tDSpZmYZ0TIBr4F6JYBK8Nk2/YK062qS0SUU=; b=aQTzxPZzHEcCfn5pZTowLUaqMWIGZPB6SegO39BktD9ToEpIEoYvESEhUaL2Vjn0Se VRpd4J9eeucW4+9WCsHEQD6kdCWn4gaj629L0jgaiQXKVtZ/3XYTuoYeR2YHPEAClbOT ronjFW7ycTjvofexwoqZF09wKqtiIzaPlLJJX402OZzy23z3FQKG9WQJOkdEpigwGJx6 Y1Hh3MgRJbak4Xv1PEIuqJLsVaz0aZoOpMqny2QYVK1I716bMjgZLXXlAgydiS1Ioc0s coG9108+HcWSRnl53Uj9485PmcKzdZpHXR5VG/aV/cgpj+tPmpakQNNSA5wX9yLNA5+n N4Ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1758726003; x=1759330803; h=in-reply-to:from:content-language:references:cc:to:subject :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=N2jRo08tDSpZmYZ0TIBr4F6JYBK8Nk2/YK062qS0SUU=; b=sI3RFVjqBhw5qca2vAS3zUG55qAWQOCtgBibi46/CWMh/Hu5AODpJqlPf51ta1jGhl 6Jm6Atqv7qeijIk7ZtW70FAB7I8XVzobc3UqNDhQH0gf/sEyNRWbpbb35uJ0bTpOeMkh tST19Q1XLwgml6DIGTtegdVySzxIXwCEQPy6jMFl+zISr51ZWpHu37DEENSUCqgZOHAr bm6FTWTYIsEvIPL1X6RmpGAwQbZCNZNi9rAPMLjbZwcHMnvRffcRPGnmt8CiRBhTLLFA RLBtBeTiQ6CVLsSJrQ8nOsmJWIgSoL9GhEVzLYg9eHfpZHJW6nuRvN6tl9OHZ+v+EDKy pM1A== X-Gm-Message-State: AOJu0YyoGjaMnpLqcl9JKw26UcJgLWFZTNnSjdQ9SN6QYUZJr9ZUduwz G5dy/fwsCxklXNwRmZfRGbRr9jf/JOLxDF/0Q50VnhrWLZLv/CrxbhOY X-Gm-Gg: ASbGncuTPBbIl1OQ0nOgYBiAQcrM0luHICN6MHBXCkhQWPBEGGiKakH8bc8RzUhbDiq 5jp+mrHhNTRFBnaZMzkwEt+f/I6+JHY9obqnqVwKTrj+po9hGnFicOoyqS3DxBBZf+0bC85QrT/ MucbZ7DqjDoQ5bCZ1I2cESv41EQS1SOav0/IrIiNqKBA2at/2wprnhUgNxYxHhTdaWZz/mE0wku 4L8BiiyO1oRhmOH6oEg7bxc/2kmhK1yxxqL8UTxWJ3ud5Uct3FB46jciX3TqfCc/gPN0eaHqQZb bGt15F61DIL3yVUu2Qa4eNMJ+TjINPvips8ltfe/ksciuF63aidxe6Q33Po3GY2eyO6hfReHYCT 2RwYBM9wJFO2/BRsgfgQaY0gNOJoyEHCfP1eY X-Google-Smtp-Source: AGHT+IG9kDS44V38WHW5twHtD9HoAkD8efEBqTL8LUWBCsPH8kc9IVTUaXsxw9DU/pVfItjl4j+n4g== X-Received: by 2002:a05:651c:551:b0:36d:54b3:9f81 with SMTP id 38308e7fff4ca-36d54b3a42bmr17963031fa.41.1758726002027; Wed, 24 Sep 2025 08:00:02 -0700 (PDT) Received: from [192.168.0.50] ([89.149.120.198]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-36c7a76d202sm15647491fa.19.2025.09.24.08.00.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 24 Sep 2025 08:00:01 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------QcoMolds4m00wSOe1UYidRF8" Message-ID: <766311fc-c075-47cf-92fb-4876c258f23c@gmail.com> Date: Wed, 24 Sep 2025 18:00:00 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: GNU/Hurd portability patches To: Michael Banck , Tom Lane Cc: pgsql-hackers@lists.postgresql.org, Michael Paquier , Thomas Munro References: <6862e8d1.050a0220.194b8d.76fa@mx.google.com> <3245994.1751388110@sss.pgh.pa.us> <68643ea2.050a0220.128f53.3f77@mx.google.com> <2874644f-6431-41f4-abe2-99e5ab052606@gmail.com> <68d0f931.050a0220.3185e0.19ae@mx.google.com> <283c3d69-ef32-4391-9ea3-68e47c9dea31@gmail.com> <68d3a0a0.050a0220.167290.bcf3@mx.google.com> <68d3cbe8.5d0a0220.65f10.da5f@mx.google.com> Content-Language: en-US From: Alexander Lakhin In-Reply-To: <68d3cbe8.5d0a0220.65f10.da5f@mx.google.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------QcoMolds4m00wSOe1UYidRF8 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hello Michael and Tom, Thank you for spending time on this! 24.09.2025 13:45, Michael Banck wrote: > btw, the stats test failed in a similar way on hamerkop (Windows Server > 2016) once, 35 days ago: > https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=hamerkop&dt=2025-08-19%2013%3A56%3A17 Yes, and all of such failures are counted at [1]. And we had discussed that (Windows-specific) anomaly too: [2]. Probably something has changed in that environment, so that we see no such failures for the last month. > How much timer resolution do we require from the system? GNU Mach seems > to (at least try to) guarantee that the timer won't go backwards, but it > does not guarantee (currently) that two consecutive clock_gettime() > calls will return something different in all cases. Regarding the lowest timer resolution, as I mentioned at [3], 32k_counter gives only 0.030517 sec... [1] https://wiki.postgresql.org/wiki/Known_Buildfarm_Test_Failures#subscription.sql_sporadically_fails_on_hamerkop_due_to_zero_time_difference [2] https://www.postgresql.org/message-id/CANhcyEX4hH9POyTM3vh%3D58newEF0%3DqgK46xF5i-RDir2zAZ4og%40mail.gmail.com [3] https://www.postgresql.org/message-id/af1d252c-738f-46ab-99c6-a00e0d65aa04%40gmail.com Best regards, Alexander --------------QcoMolds4m00wSOe1UYidRF8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Hello Michael and Tom,

Thank you for spending time on this!

24.09.2025 13:45, Michael Banck wrote:
btw, the stats test failed in a similar way on hamerkop (Windows Server
2016) once, 35 days ago:
https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=hamerkop&dt=2025-08-19%2013%3A56%3A17

Yes, and all of such failures are counted at [1].
And we had discussed that (Windows-specific) anomaly too: [2]. Probably
something has changed in that environment, so that we see no such failures
for the last month.

How much timer resolution do we require from the system? GNU Mach seems
to (at least try to) guarantee that the timer won't go backwards, but it
does not guarantee (currently) that two consecutive clock_gettime()
calls will return something different in all cases.

Regarding the lowest timer resolution, as I mentioned at [3], 32k_counter
gives only 0.030517 sec...

[1] https://wiki.postgresql.org/wiki/Known_Buildfarm_Test_Failures#subscription.sql_sporadically_fails_on_hamerkop_due_to_zero_time_difference
[2] https://www.postgresql.org/message-id/CANhcyEX4hH9POyTM3vh%3D58newEF0%3DqgK46xF5i-RDir2zAZ4og%40mail.gmail.com
[3] https://www.postgresql.org/message-id/af1d252c-738f-46ab-99c6-a00e0d65aa04%40gmail.com

Best regards,
Alexander
--------------QcoMolds4m00wSOe1UYidRF8--