pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Nicolas Charles <nicolas.charles@normation.com>
Cc: pgsql-performance@lists.postgresql.org, Peter Geoghegan <pg@bowt.ie>
Cc: Shijia Wei <shijiawei@utexas.edu>
Cc: Laurenz Albe <laurenz.albe@cybertec.at>
Subject: Re: Consecutive Query Executions with Increasing Execution Time
Date: Mon, 16 Dec 2019 17:48:16 -0500
Message-ID: <28107.1576536496@sss.pgh.pa.us> (raw)
In-Reply-To: <D0FEC9C2-0901-4C91-8641-6A5B8699C10C@normation.com>
References: <CABSfb-6iUvpGCzcgni+tVoiUWTc9aQdUtKbOzFzGqJcypiLa4g@mail.gmail.com>
	<adb87d39c5faa26d85274824ea4dd15ffc44ac40.camel@cybertec.at>
	<CABSfb-55VAcUwvy+PtsBsEk8EMfODtC6p65qVHSYhOqWWf80mA@mail.gmail.com>
	<CAH2-WzneCi_hM5_JGoPvGqKJr_Qd5hXcQzABz9-tQVndw9vwpw@mail.gmail.com>
	<19575.1576529417@sss.pgh.pa.us>
	<D0FEC9C2-0901-4C91-8641-6A5B8699C10C@normation.com>

Nicolas Charles <nicolas.charles@normation.com> writes:
> Could it be that your CPUs is warming and throttling? You didn't mention the platform used, so I'm not sure whether it's a server or a laptop

Hmm, that's an interesting thought.  The OP did say the CPU type,
but according to Intel's spec page for it [1] the difference between
base and turbo frequency is only 4.0 vs 4.2 GHz, which doesn't seem
like enough to explain the results ... unless you suppose it actually
throttled to below base freq, which surely shouldn't happen that fast.
Might be worth watching the CPU frequency while doing the test though.

I was speculating about some OS-level problem myself.  Plain old "top"
might be enough to show relevant info if it's in that area.

			regards, tom lane

[1] https://ark.intel.com/content/www/us/en/ark/products/88195/intel-core-i7-6700k-processor-8m-cache-up...





view thread (18+ messages)  latest in thread

Message-ID: <28107.1576536496@sss.pgh.pa.us>
Permalink:  ../28107.1576536496@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/28107.1576536496@sss.pgh.pa.us

 · 

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-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, nicolas.charles@normation.com, pg@bowt.ie, shijiawei@utexas.edu, laurenz.albe@cybertec.at
  Subject: Re: Consecutive Query Executions with Increasing Execution Time
  In-Reply-To: <28107.1576536496@sss.pgh.pa.us>

* 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