From: Scott Marlowe <smarlowe@g2switchworks.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Tatsuo Ishii <t-ishii@sra.co.jp>
Cc: Postgresql Performance <pgsql-performance@postgresql.org>
Subject: Re: High context switches occurring
Date: Wed, 07 Dec 2005 10:24:33 -0600
Message-ID: <1133972672.11803.23.camel@state.g2switchworks.com> (raw)
In-Reply-To: <24708.1133930968@sss.pgh.pa.us>
References: <200512070434.jB74Y4o20004@candle.pha.pa.us>
<24708.1133930968@sss.pgh.pa.us>
On Tue, 2005-12-06 at 22:49, Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Tom Lane wrote:
> >> 1. You don't want number of clients (-c) much higher than scaling factor
> >> (-s in the initialization step).
>
> > Should we throw a warning when someone runs the test this way?
>
> Not a bad idea (though of course only for the "standard" scripts).
> Tatsuo, what do you think?
Just to clarify, I think the pgbench program should throw the warning,
not postgresql itself. Not sure if that's what you were meaning or
not. Maybe even have it require a switch to run in such a mode, like a
--yes-i-want-to-run-a-meaningless-test switch or something.
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: smarlowe@g2switchworks.com, tgl@sss.pgh.pa.us, pgman@candle.pha.pa.us, t-ishii@sra.co.jp
Subject: Re: High context switches occurring
In-Reply-To: <1133972672.11803.23.camel@state.g2switchworks.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