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 1soJpt-00AFdy-Me for pgsql-performance@arkaria.postgresql.org; Wed, 11 Sep 2024 09:40:31 +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 1soJpt-00DWtd-Ca for pgsql-performance@arkaria.postgresql.org; Wed, 11 Sep 2024 09:40:29 +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 1soJps-00DWtS-HA for pgsql-performance@lists.postgresql.org; Wed, 11 Sep 2024 09:40:29 +0000 Received: from fout2-smtp.messagingengine.com ([103.168.172.145]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1soJpk-000cQa-By for pgsql-performance@lists.postgresql.org; Wed, 11 Sep 2024 09:40:27 +0000 Received: from phl-compute-06.internal (phl-compute-06.phl.internal [10.202.2.46]) by mailfout.phl.internal (Postfix) with ESMTP id 35C61138037A; Wed, 11 Sep 2024 05:40:19 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-06.internal (MEProxy); Wed, 11 Sep 2024 05:40:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eisentraut.org; h=cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1726047619; x=1726134019; bh=SRSsTXUL8Wu1N5Sa4BvUlzFOcbX+YUzFAVVoMRkck0o=; b= sNUxiFIDG2Rk06eedw0YtNOU0mHKiwOVmHkKEDKOYYzEzd5c+Ayb7DEYq0yO8/NV 05sU7h/EQWRAOGTS5I/s5zWzVCcSS0AGdvC4P6B3ILDy3rwbRaXnIYSTkOtu7xYG gEQ0M79cKZIrMqPcJbQCl5EViNMvigmBFwt26w3Wwv4QurKLcbcE53bI53BbSo6K rkeKK5fHQT6HowLl2VE9NAFMlM4Hn1bufRPKM1NLNhis9xZBXNQFIMxi0TMNztX1 Rm++9o/55ODbFDJgRoOemK5eyBZipdJfF64Ks3MPdqUjVdyy+RWCgYuHfkcxIJPQ qduUDGSXet2HK8JJRvS14Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1726047619; x= 1726134019; bh=SRSsTXUL8Wu1N5Sa4BvUlzFOcbX+YUzFAVVoMRkck0o=; b=F AgVfizNO+8kETV951bJBf0JkSi+TPkiLBPssWwNVadC29zl3KbVMc2wuoIZCRhml XsFeVTpdtde31svGG3M2/PG3CBjXFuL4IFsIXMt4hM9zZQjChpjHEHCN8SPpngSb ARTpXxD8Fvk5X99J7YMcnX1ANm0DsE+XAs8KVPZSSlso9rWJP148riKz5C5sEry/ Pk04dGtC5qxGsQ08AwghB3uVCFMX5vxDT66dh1EueNGaBzJgR6Q6eDXGWZSKLfVj qB4JGskWzu2tpYu9HenF7rdZ8B7l0ONbRs42Z9+NJO3ZbxlkYAqrSAf5WMEO3Aiv tOTqLZTTRDj5OFunnkGkw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudejuddgudekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfg fuvfhfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpefrvghtvghrucfgihhsvghnthhr rghuthcuoehpvghtvghrsegvihhsvghnthhrrghuthdrohhrgheqnecuggftrfgrthhtvg hrnhepheeivdfhuefhueeggfefheegjedtveeuhfethfeufedvudfgtdeuhefgfeduhfff necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphgvth gvrhesvghishgvnhhtrhgruhhtrdhorhhgpdhnsggprhgtphhtthhopedvpdhmohguvgep shhmthhpohhuthdprhgtphhtthhopegumhhulhhlgiesghhmrghilhdrtghomhdprhgtph htthhopehpghhsqhhlqdhpvghrfhhorhhmrghntggvsehlihhsthhsrdhpohhsthhgrhgv shhqlhdrohhrgh X-ME-Proxy: Feedback-ID: ie0a040ee:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 11 Sep 2024 05:40:18 -0400 (EDT) Message-ID: <68398e13-35fd-410b-b279-c200e07ffcbd@eisentraut.org> Date: Wed, 11 Sep 2024 11:40:16 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Has gen_random_uuid() gotten much slower in v17? To: David Mullineux , pgsql-performance@lists.postgresql.org References: Content-Language: en-US From: Peter Eisentraut In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 10.09.24 15:58, David Mullineux wrote: > I'm getting a bit concerned by the slow performance of generating uidds > on latest dev code versus older versions. Here I compare the time to > generate 50k random uuids. Both son the same machine. > I must be missing something. Are you sure that the 18devel installation isn't compiled with assertions enabled? The underlying code for gen_random_uuid() is virtually unchanged between PG14 and current.