From: Scott Marlowe <smarlowe@g2switchworks.com>
To: Anjan Dave <adave@vantage.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Vivek Khera <vivek@khera.org>
Cc: Postgresql Performance <pgsql-performance@postgresql.org>
Subject: Re: High context switches occurring
Date: Tue, 22 Nov 2005 14:37:47 -0600
Message-ID: <1132691867.28788.42.camel@state.g2switchworks.com> (raw)
In-Reply-To: <4BAFBB6B9CC46F41B2AD7D9F4BBAF785098E76@vt-pe2550-001.vantage.vantage.com>
References: <4BAFBB6B9CC46F41B2AD7D9F4BBAF785098E76@vt-pe2550-001.vantage.vantage.com>
On Tue, 2005-11-22 at 14:33, Anjan Dave wrote:
> Is there any way to get a temporary relief from this Context Switching
> storm? Does restarting postmaster help?
>
> It seems that I can recreate the heavy CS with just one SELECT
> statement...and then when multiple such SELECT queries are coming in,
> things just get hosed up until we cancel a bunch of queries...
Is your machine a hyperthreaded one? Some folks have found that turning
off hyper threading helps. I knew it made my servers better behaved in
the past.
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, adave@vantage.com, tgl@sss.pgh.pa.us, vivek@khera.org
Subject: Re: High context switches occurring
In-Reply-To: <1132691867.28788.42.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