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 1v1K7z-007AR6-Iv for pgsql-hackers@arkaria.postgresql.org; Wed, 24 Sep 2025 07:41:27 +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 1v1K7x-00BDnY-Jv for pgsql-hackers@arkaria.postgresql.org; Wed, 24 Sep 2025 07:41:25 +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 1v1K7x-00BDnQ-9q for pgsql-hackers@lists.postgresql.org; Wed, 24 Sep 2025 07:41:25 +0000 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1v1K7t-002a01-0J for pgsql-hackers@lists.postgresql.org; Wed, 24 Sep 2025 07:41:24 +0000 Received: by mail-wr1-x42a.google.com with SMTP id ffacd0b85a97d-3f0ae439bc3so2434499f8f.1 for ; Wed, 24 Sep 2025 00:41:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1758699681; x=1759304481; darn=lists.postgresql.org; h=user-agent:in-reply-to:content-disposition:mime-version:references :subject:cc:to:from:date:sender:message-id:from:to:cc:subject:date :message-id:reply-to; bh=cXSJBCZJ59RoQDnZJIginu0ryE62q7XZXEjDO5R22Fw=; b=mdJpv5jlwgEm7BOYdppGNmuLE9p+b+mlz6jxJ2y1g+uXB/JfxonloEV1N7leGWXHlw F6lWCN/S2a1BOq5Minmfp1hkrp5u7hF/mCqlYUZfLf8ThDLz2tCOAOIRmccy/u469IRq N1qIHXvs/9FxvLBrcniNxwf08VdTlQj6SWL3NYRhs0zOGIkgderbV6ZVNcdE7GxcdAKw DxdHywpCEOHwWRKTXqr0riSoI6SUoPyZCnUgt4ZJ8c70dNRQFEL6qxpRRkVVBlPo2drL zGX0PLTEtwtUDVW3uH5/D4Tu5TWvroSe0BZI/6nIoS8Em/bPbaifMO82TCEBMrILWY3e Nmsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1758699681; x=1759304481; h=user-agent:in-reply-to:content-disposition:mime-version:references :subject:cc:to:from:date:sender:message-id:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=cXSJBCZJ59RoQDnZJIginu0ryE62q7XZXEjDO5R22Fw=; b=P6SrDhxx5TiSYJJngWoOrYtX9VvlQxhGXW4eqIPTa2WXeB3Bsd5II5qZDvwhidyEIM DIKzt6owiTqwxF/Zyok1708GOJCfNdtTkp5DhMSe/o8+dOenNdvDu0fvJvvG4Uaig9Mh NqTxcwLrsCY1YHChOKF9loeU4k7JkRcdGLmm2LvKWgQufbVn5lJ2wIEbH7UYQrTCOQAE aW3dVDpIwkg7CgupqlJrwWEpRI8sQPuy22VbVw9jYPI07sBhUxrnu1LG28HVMp5ijn0F 4yVX0aFesqKnb9pPSNahKBVM3i5wsXTKd/mcWAhUOsD2fMaJbNEzzaz7+ABsoWAC7afp 00Kg== X-Forwarded-Encrypted: i=1; AJvYcCWyOC7TOBVzdnHYKKIcZ5trLJUOlJl2P+YbInKOohDArO4Y1yGYOH0AJCd8wJRlxZvXABe063+wa0GHE3Cv@lists.postgresql.org X-Gm-Message-State: AOJu0YwhBAueotztC98iAOX1ZS6WtufH+7cgwk3PlwjO3BGovJRsJ9YW dmm3Q6KPoCtsnmvzEMHd6pPYXB5+SYCvihKgNpX4FAi55cdtiszUTxLM X-Gm-Gg: ASbGnct/ST+fk86EupvwZGB1pKn4I1tfoJrd35mnfEo0256NDjm6cWy6qNSEAazXz70 8J2esRR3pfjiTpbJ4XcHOptTwL2e8/hJCyRYN/c1XUZduKT/xi3uuujZuRVKaC3p7a3V+swlbgP WjERThL341uTXZUTlG4g2LwXyqoXr1mDrbjVKi4iikKpjoVXYv1cD2EDhIzqIzg9+25xn+qGyGw 4um9JyrPBh+Nm6ksQSof+oDADI2+8Epz1v5steb7OB0KtpWgwfxdvfy5MoCdsz28q2eaeUUvmXK aNtO5JjLWYcZGZ4MHtLjjQNK+en6x2L2TSmh1N9YlCWNis+Z+KTMxwlst5dunxIeGXyjfMmfvvH /4PtDZjMQhIbAfqI/CT6+jTeUsbOjlqZoyw3sccauyvJTwbP7HiRvFkcUa3MPy0z8rw== X-Google-Smtp-Source: AGHT+IGzlS3DXymz716Ytcu66pcr2vFZ4A8UUWDwWjfs5LQaOifL0Ed4Lvl6CIO+LAlhzdNthq/NGA== X-Received: by 2002:a5d:5f49:0:b0:3ec:d7c4:25d5 with SMTP id ffacd0b85a97d-405ca58631dmr4620391f8f.50.1758699680959; Wed, 24 Sep 2025 00:41:20 -0700 (PDT) Received: from lightning.caipicrew.dd-dns.de ([2001:a61:a7f:9701:6ac6:edd8:569:5ec9]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3ee07408370sm26824858f8f.22.2025.09.24.00.41.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Sep 2025 00:41:20 -0700 (PDT) Message-ID: <68d3a0a0.050a0220.167290.bcf3@mx.google.com> X-Google-Original-Message-ID: <20250924074119.GC9179@caipicrew.dd-dns.de;lightning.caipicrew.dd-dns.de> Sender: Michael Banck Received: from mbanck by lightning.caipicrew.dd-dns.de with local (Exim 4.92) (envelope-from ) id 1v1K7r-0001Sj-VD; Wed, 24 Sep 2025 09:41:19 +0200 Date: Wed, 24 Sep 2025 09:41:19 +0200 From: Michael Banck To: Michael Paquier Cc: Alexander Lakhin , Tom Lane , pgsql-hackers@lists.postgresql.org, Thomas Munro Subject: Re: GNU/Hurd portability patches 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On Wed, Sep 24, 2025 at 08:31:27AM +0900, Michael Paquier wrote: > We've had this exact same issue of a clock going backwards with one of > the netbsd animals on an older version not supported anymore by > upstream and that has been kicked out of the buildfarm, as far as I > recall. This has created some disturbance in the regression tests > causing EXPLAIN plan outputs we did not expect, in terms of extra > negative signs and the animal showing red periodically. This was the case initially on 32bit Hurd until I configured it to use APIC (which is a requirement for HPET timers). So the clock is no longer going backwards in an obvious way; and apart from the stats isolation test, I have not seen issues in this area. > So yes, this random factor would be annoying in the buildfarm. 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. Michael