Skip site navigation (1) Skip section navigation (2)

Re: High context switches occurring

From: Scott Marlowe <smarlowe(at)g2switchworks(dot)com>
To: Anjan Dave <adave(at)vantage(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Vivek Khera <vivek(at)khera(dot)org>, Postgresql Performance <pgsql-performance(at)postgresql(dot)org>
Subject: Re: High context switches occurring
Date: 2005-11-22 20:37:47
Message-ID: 1132691867.28788.42.camel@state.g2switchworks.com (view raw or flat)
Thread:
Lists: pgsql-performance
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.

In response to

pgsql-performance by date

Next:From: Scott MarloweDate: 2005-11-22 20:38:31
Subject: Re: High context switches occurring
Previous:From: Anjan DaveDate: 2005-11-22 20:33:26
Subject: Re: High context switches occurring

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group