pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fabien COELHO <coelho@cri.ensmp.fr>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Remove pgbench "progress" test pending solution of its timing is
Date: Sat, 23 Sep 2017 19:57:40 +0200 (CEST)
Message-ID: <alpine.DEB.2.20.1709231931160.4999@lancre> (raw)
In-Reply-To: <E1dvnp6-000651-R6@gemulon.postgresql.org>
References: <E1dvnp6-000651-R6@gemulon.postgresql.org>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>


Hello Tom,

> Remove pgbench "progress" test pending solution of its timing issues.

It would have been nicer to simply comment them out...

> Buildfarm member skink shows that this is even more flaky than I 
> thought.  There are probably some actual pgbench bugs here as well as a 
> timing dependency.

According to the trace, the host was so loaded that it could not do 
anything for over two seconds, so that the first output is "progress: 
2.6", i.e. the 0 thread did not get any significant time for the first 2.6 
seconds... of a 1 second test. Hmmm, not very kind.

Somehow this cannot be helped: if the system does not give any execution 
time to some pgbench thread, the expected output cannot be there.

The checked condition could be relaxed to "progress: \d", which still 
assumes that the system was kind enough to give enough cpu time to the 
process in the two second run so that it could output something.

The issue is probably the same on the second test on the generated log. My 
guess is that some transactions (we are talking about "-S"...) took 
several seconds, thus were completed and aggregate in rows over the 
expected limit. Could be considered bug, that is the aggregation should 
discard over the limit results rather than counting them in some late 
entry. I'll investigate that.

Globally these test failures reveals pathological testing conditions: the 
inability to execute a simple select over several seconds. It could have 
been OOM or whatever else.

If the test must run even when postgres doesn't, it is a little bit hard 
as a starting assumption for a benchmarking tool:-(

-- 
Fabien.


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



view thread (9+ messages)  latest in thread

Message-ID: <alpine.DEB.2.20.1709231931160.4999@lancre>
Permalink:  ../alpine.DEB.2.20.1709231931160.4999@lancre/
Also on:    postgresql.org/message-id/alpine.DEB.2.20.1709231931160.4999@lancre

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: coelho@cri.ensmp.fr, tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Remove pgbench "progress" test pending solution of its timing is
  In-Reply-To: <alpine.DEB.2.20.1709231931160.4999@lancre>
  References: <E1dvnp6-000651-R6@gemulon.postgresql.org> <alpine.DEB.2.20.1709231931160.4999@lancre>

* 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