Context switch storm - Mailing list pgsql-performance

From creimer@brturbo.com.br
Subject Context switch storm
Date
Msg-id efc1d7c07cf.454afe8d@brturbo.com.br
Whole thread Raw
Responses Re: Context switch storm
List pgsql-performance
Hi,
 
We've migrated one of our servers from pg 7.4 to 8.1 and from times to times (4 hours) the server start doing a lot of context switching and all transactions become very slow.
 
The average context switching for this server as vmstat shows is 1 but when the problem occurs it goes to 250000.
 
CPU and memory usage are ok.
 
What is producing this context switching storms?
 
It is a box with 16GB RAM and 4 XEON processors running RedHat Enterprise Linux AS.
 
Should I disable Hyperthreading?
 
Thank you in advance!
 
Reimer

pgsql-performance by date:

Previous
From: Richard Huxton
Date:
Subject: Re: profiling PL/pgSQL?
Next
From: "Gregory S. Williamson"
Date:
Subject: Re: Context switch storm