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 1tDt9l-003rNE-DG for pgsql-performance@arkaria.postgresql.org; Wed, 20 Nov 2024 22:26:41 +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 1tDt9k-009nee-1l for pgsql-performance@arkaria.postgresql.org; Wed, 20 Nov 2024 22:26:40 +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 1tDt9j-009neU-Nk for pgsql-performance@lists.postgresql.org; Wed, 20 Nov 2024 22:26:39 +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.94.2) (envelope-from ) id 1tDt9h-0030Lr-4Q for pgsql-performance@lists.postgresql.org; Wed, 20 Nov 2024 22:26:39 +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 4AKMQTtt258674; Wed, 20 Nov 2024 17:26:29 -0500 From: Tom Lane To: David Mullineux cc: =?UTF-8?B?RnLDqWTDqXJpYyBZaHVlbA==?= , Peter Eisentraut , pgsql-performance@lists.postgresql.org Subject: Re: Has gen_random_uuid() gotten much slower in v17? In-reply-to: References: <68398e13-35fd-410b-b279-c200e07ffcbd@eisentraut.org> <349427bd-e4c1-4990-a294-fe9c8779afe9@dalibo.com> <153347.1732117566@sss.pgh.pa.us> Comments: In-reply-to David Mullineux message dated "Wed, 20 Nov 2024 22:11:09 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <258672.1732141589.1@sss.pgh.pa.us> Date: Wed, 20 Nov 2024 17:26:29 -0500 Message-ID: <258673.1732141589@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk [ please don't top-quote, it makes the conversation hard to follow ] David Mullineux writes: > On Wed, 20 Nov 2024, 15:46 Tom Lane, wrote: >> Yeah. Also, are you building with openssl, or not? > No, not at all! If you're not using openssl, then gen_random_uuid basically devolves to a read of /dev/urandom. Maybe you're using a different kernel than before, and it has different properties around that? regards, tom lane