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 1v1RaB-008krE-L1 for pgsql-hackers@arkaria.postgresql.org; Wed, 24 Sep 2025 15:39:03 +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 1v1RZA-00E0F6-NC for pgsql-hackers@arkaria.postgresql.org; Wed, 24 Sep 2025 15:38:00 +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.94.2) (envelope-from ) id 1v1RZA-00E0Ey-E9 for pgsql-hackers@lists.postgresql.org; Wed, 24 Sep 2025 15:38:00 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1v1RZ5-002eQE-2L for pgsql-hackers@lists.postgresql.org; Wed, 24 Sep 2025 15:37:59 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 58OFbprB3321786; Wed, 24 Sep 2025 11:37:51 -0400 From: Tom Lane To: Alexander Lakhin cc: Michael Banck , pgsql-hackers@lists.postgresql.org, Michael Paquier , Thomas Munro Subject: Re: GNU/Hurd portability patches In-reply-to: <766311fc-c075-47cf-92fb-4876c258f23c@gmail.com> 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> <766311fc-c075-47cf-92fb-4876c258f23c@gmail.com> Comments: In-reply-to Alexander Lakhin message dated "Wed, 24 Sep 2025 18:00:00 +0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3321784.1758728271.1@sss.pgh.pa.us> Date: Wed, 24 Sep 2025 11:37:51 -0400 Message-ID: <3321785.1758728271@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Alexander Lakhin writes: > 24.09.2025 13:45, Michael Banck wrote: >> 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... We are currently doing a short pg_test_timing run in every BF run, but with only a cursory regex-based sanity check on the output. Since it's a TAP test, we could easily report the full output in the TAP log without causing problems. I was already thinking about doing that, and if there's some question about the minimum expected timer resolution then it's really silly to not be capturing that data. I will go do that, and in a few day's time we should have enough reports to see what we can realistically expect. regards, tom lane