From: Tom Lane <tgl@sss.pgh.pa.us>
To: Hans Buschmann <buschmann@nidsa.net>
Cc: Thomas Munro <thomas.munro@gmail.com>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: AW: Huge performance penalty with parallel queries in Windows x64 v. Linux x64
Date: Tue, 04 May 2021 12:46:58 -0400
Message-ID: <3911437.1620146818@sss.pgh.pa.us> (raw)
In-Reply-To: <1620143446337.63943@nidsa.net>
References: <1620037591174.76116@nidsa.net>
<CA+hUKG+d+qrOgwU2sqG09De7W6WJp7edWwURcip+_JxoCzxd4A@mail.gmail.com>
<1620114038935.30845@nidsa.net>
<CA+hUKGLOWBYU9d_mAN9v29gu12-TWj5QT+=8XrP4ojyABZ-TQw@mail.gmail.com>
<1620143446337.63943@nidsa.net>
Hans Buschmann <buschmann@nidsa.net> writes:
> In my opinion, even for Linux the default for parallel_setup_cost is set too low (1000). It should reflect the sequential access of 1000 pages, which normally is faster from buffer cache on modern hardware.
I tend to agree with you that the default costs for parallel queries
are far too optimistic --- we've seen enough complaints about parallelism
making things slower to make that clear. However, proposing some new
numbers without gathering some hard evidence to support them is not
helpful.
regards, tom lane
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-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, buschmann@nidsa.net, thomas.munro@gmail.com
Subject: Re: Huge performance penalty with parallel queries in Windows x64 v. Linux x64
In-Reply-To: <3911437.1620146818@sss.pgh.pa.us>
References: <1620037591174.76116@nidsa.net> <CA+hUKG+d+qrOgwU2sqG09De7W6WJp7edWwURcip+_JxoCzxd4A@mail.gmail.com> <1620114038935.30845@nidsa.net> <CA+hUKGLOWBYU9d_mAN9v29gu12-TWj5QT+=8XrP4ojyABZ-TQw@mail.gmail.com> <1620143446337.63943@nidsa.net> <3911437.1620146818@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