pg.ddx.io pgsql-hackers@postgresql.org mailing list archive
help / color / mirror / Atom feed From: David Geier <geidav.pg@gmail.com>
To: Lukas Fittl <lukas@fittl.com>
To: John Naylor <johncnaylorls@gmail.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: Jakub Wartak <jakub.wartak@enterprisedb.com>
Cc: Hannu Krosing <hannuk@google.com>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Pavel Stehule <pavel.stehule@gmail.com>
Cc: vignesh C <vignesh21@gmail.com>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: Ibrar Ahmed <ibrar.ahmad@gmail.com>
Cc: Maciek Sakrejda <m.sakrejda@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: Reduce timing overhead of EXPLAIN ANALYZE using rdtsc?
Date: Mon, 23 Mar 2026 09:00:34 +0100
Message-ID: <94366544-c28a-4895-a2a8-19dc58671623@gmail.com> (raw )
In-Reply-To: <CAP53PkxS0SWUVw44nBoMRe0F-F-88CjR=O5ZRR0+v=yZ8YsYLA@mail.gmail.com >
References: <CAP53PkxaDpPCbXeA=OpmY4DUxBVHzgivXzpA62_tRE62xfc9nA@mail.gmail.com >
<vbfdgjxn4rqwbnznks4zstx7t34dcrhubbmse775ou4nmcjqzi@4rugaq7sftac >
<1e0462f0-8274-4d57-aa39-9b6ebeb954da@gmail.com >
<CAP53PkxAtD_ArzxaXPMgAKTfT5Da34o-oN9JY32UbhFS3U=-6A@mail.gmail.com >
<aY5Si7r2SMe4fRPc@alap3.anarazel.de >
<CAP53PkxNJ2Y6G8PEpQn1zKa6ODE6k1-oP9DNqWjkTj=dC8_KiA@mail.gmail.com >
<41528b05-62be-4a5a-abd8-2af2dd84a1be@gmail.com >
<r5snevsnkyoifjqldu6gcssbnrnezpplq4ofcmekjfvzzu32dc@5rn26itd4ubr >
<CAP53Pkx1bK1FB71_nBqYmzvSSXnp_MbE0ZDnU+baPJF6Ud2WDA@mail.gmail.com >
<wl3grqbp4qpel5lxsorw4xolphdpvhvrfenkukygkxgvcwsmis@uynfuc7cr3y5 >
<CAP53Pkw6BuGCig3iDfDkh1MZz_3UqzGb-YAVSKn2r9dQCKYDfw@mail.gmail.com >
<CANWCAZZ+Crjt5za9YmFsURRMDW7M4T2mutDezd_3s1gTLnrzGQ@mail.gmail.com >
<CAP53Pkw7FzFoE9cyGN1eDKzh2hNNf=DP8HNyepaM1vwnM9_XLg@mail.gmail.com >
<CANWCAZYr-nMPRGDc=awMSYUyZ3CgayC20VFM+e7LZe2j0epgeg@mail.gmail.com >
<CAP53PkxS0SWUVw44nBoMRe0F-F-88CjR=O5ZRR0+v=yZ8YsYLA@mail.gmail.com >
Hi Lukas!
Thanks for pushing this forward.
On 22.03.2026 19:13, Lukas Fittl wrote:
> TSC calibration improvements:
> - Pass TSC frequency to child processes for EXEC_BACKEND, this makes
> TSC calibration usable on Windows, per off-list suggestion from Andres
> - To support the EXEC_BACKEND change, refactor tsc_frequency_khz to
> have a sentinel value of -1 indicating the TSC was not initialized, vs
> 0 indicating it was initialized but isn't usable, and drop
> has_usable_tsc variable
Have you tested the latest patch set on Windows? Let me know if you want
me to do that.
--
David Geier
view thread (172+ messages) latest in thread
Message-ID: <94366544-c28a-4895-a2a8-19dc58671623@gmail.com>
Permalink: ../94366544-c28a-4895-a2a8-19dc58671623@gmail.com/
Also on: postgresql.org/message-id/94366544-c28a-4895-a2a8-19dc58671623@gmail.com
copy link · copy postgr.es
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: geidav.pg@gmail.com, lukas@fittl.com, johncnaylorls@gmail.com, andres@anarazel.de, jakub.wartak@enterprisedb.com, hannuk@google.com, robertmhaas@gmail.com, pavel.stehule@gmail.com, vignesh21@gmail.com, michael@paquier.xyz, ibrar.ahmad@gmail.com, m.sakrejda@gmail.com
Subject: Re: Reduce timing overhead of EXPLAIN ANALYZE using rdtsc?
In-Reply-To: <94366544-c28a-4895-a2a8-19dc58671623@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox