Re: Reduce timing overhead of EXPLAIN ANALYZE using rdtsc?

From: John Naylor <johncnaylorls(at)gmail(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Lukas Fittl <lukas(at)fittl(dot)com>, Jakub Wartak <jakub(dot)wartak(at)enterprisedb(dot)com>, Hannu Krosing <hannuk(at)google(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, vignesh C <vignesh21(at)gmail(dot)com>, Michael Paquier <michael(at)paquier(dot)xyz>, Ibrar Ahmed <ibrar(dot)ahmad(at)gmail(dot)com>, Maciek Sakrejda <m(dot)sakrejda(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, David Geier <geidav(dot)pg(at)gmail(dot)com>
Subject: Re: Reduce timing overhead of EXPLAIN ANALYZE using rdtsc?
Date: 2026-02-27 14:00:37
Message-ID: CANWCAZYPGKA1ZrA27sEcDu=A0HaCpiGY4w5ro476F9vmKHcUuQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Feb 26, 2026 at 11:14 PM Andres Freund <andres(at)anarazel(dot)de> wrote:
>
> Hi,
>
> On 2026-02-25 02:00:35 -0800, Lukas Fittl wrote:
> > See attached v9, rebased, with feedback addressed, unless otherwise noted.
> >
> > 0001 is the updated cpuidex patch, and should be good to go (though we
> > could also merge this into the TSC commit, if you prefer)
>
> John, does this interact with your work at all?

I just pushed the main piece of the centralization of runtime checks.
It conflicts, but it's easy to fix since now 0001 will have one less
place to change. I don't think my other patch will conflict. In any
case, I'll push it tomorrow if all goes well. I can help with the
other things we talked about.

--
John Naylor
Amazon Web Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniil Davydov 2026-02-27 14:02:13 Re: Fix bug with accessing to temporary tables of other sessions
Previous Message Tatsuo Ishii 2026-02-27 13:54:56 Re: Row pattern recognition