Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mHYTU-00065D-7Z for pgsql-performance@arkaria.postgresql.org; Sat, 21 Aug 2021 21:24:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mHYTS-0005RO-VW for pgsql-performance@arkaria.postgresql.org; Sat, 21 Aug 2021 21:24:18 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mHYTS-0005RE-J8 for pgsql-performance@lists.postgresql.org; Sat, 21 Aug 2021 21:24:18 +0000 Received: from mail-il1-x130.google.com ([2607:f8b0:4864:20::130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mHYTP-0006Xs-Ey for pgsql-performance@postgresql.org; Sat, 21 Aug 2021 21:24:17 +0000 Received: by mail-il1-x130.google.com with SMTP id j15so13199665ila.1 for ; Sat, 21 Aug 2021 14:24:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=IkZAhzcBUEF/Y2eS3YCQF2AD0Qmf6mRBe8BXT8AS/C0=; b=aFmq2fXBBlIdIcHIe90IJDT0xlKtCWYLFFmHgLTuFDUo+zARVUNr278vuflyI8Hs+1 7oCBnUhEKg8V5EiBo5jttZpk8d0Tr7sVZr75o2UNzBicK7cWq131/SsGOLo/OvNXiHgt mxd6ffGKkrCkJfluVsa8UZfXOn+ekODyInHuNq5uKZsucY2+wMNheUa3wO+ie0D9loRW 9RYOLuAWVCwWX4hf6n1fW4Nw+Hcox1wwPUXyWmX2GcwuSjEV1p6ZmeJv7HPXZBZml7/+ fNMeNuJQSieK4ZVfz+Tt0cyXTbIUnmo5GqfvqdxKQULzBlrPuM5YYX3hGohZW2v7wpPi /Amg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=IkZAhzcBUEF/Y2eS3YCQF2AD0Qmf6mRBe8BXT8AS/C0=; b=bwPWdifRotwtyCPwf0Gsfk63kta+yNsQcWKvKu5CMxTfd3QekVM+L5NvhuTCkhDggo Ow+HoZclwN7ifuJXBC3ghfbb+pvcmUQ8CN9PKfTjqljqgx9DLJY+qM1MiskJjj+WvT4i yj7WWxGvPieF+ttqVl7B30ZaDiYCPrOrdbycC0lu9VDsE9qK/eCsLizkJb/edgBzdERw lyS3XpZnSkyslWC3bNSo6u6O85engRzN7Kv83K6wMzpiFBbx04Mq/Ailf36Qyi1cnW/T PdNjlDgLT9dw4ODCXVdLTLQPIP1rWxLrlSWJipQrERRbnRvhLFdv7YK4k/fitfY3QTTf Y3bA== X-Gm-Message-State: AOAM533AvYON3EuuOf3DHsAw8DzrnZEKaJa9gGqLU1cSdy8baQX8yV/T 6w6DbqpwEE2eHQtqeggNgAgUog== X-Google-Smtp-Source: ABdhPJwatIKFSP7KKqxSh/hAZE6T2DPs3z01Hs7tPPNKgHmijf6s0cQBF7j+035khkEMSWqzVBKvvA== X-Received: by 2002:a92:c6d1:: with SMTP id v17mr18445375ilm.302.1629581053524; Sat, 21 Aug 2021 14:24:13 -0700 (PDT) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id k21sm5672106ioh.38.2021.08.21.14.24.12 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 21 Aug 2021 14:24:13 -0700 (PDT) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id 00E6D800CE0; Sat, 21 Aug 2021 16:24:11 -0500 (CDT) Date: Sat, 21 Aug 2021 16:24:11 -0500 From: Justin Pryzby To: Tom Lane Cc: ldh@laurent-hasson.com, pgsql-performance@postgresql.org Subject: Re: Big Performance drop of Exceptions in UDFs between V11.2 and 13.4 Message-ID: <20210821212411.GX10479@telsasoft.com> References: <2092859.1629558281@sss.pgh.pa.us> <2136207.1629569846@sss.pgh.pa.us> <20210821191950.GW10479@telsasoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210821191950.GW10479@telsasoft.com> User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Sat, Aug 21, 2021 at 02:19:50PM -0500, Justin Pryzby wrote: > As I recall, you're running postgres under a windows VM - I'm not sure if > that's relevant. I tried under a couple hyperv VMs but could not reproduce the issue (only an ~8x difference "with exceptions"). Which hypervisor are you using ? I don't know if any of it matters, but would you also send: SELECT version(); SELECT * FROM pg_config(); And maybe the CPU info ? -- Justin