Context switch storm

From: creimer(at)brturbo(dot)com(dot)br
To: pgsql-performance(at)postgresql(dot)org
Subject: Context switch storm
Date: 2006-11-03 10:32:13
Message-ID: efc1d7c07cf.454afe8d@brturbo.com.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Drew Wilson 2006-11-03 11:12:14 profiling PL/pgSQL?
Previous Message Arjen van der Meijden 2006-11-03 09:39:08 Re: Query plan for "heavy" SELECT with "lite" sub-SELECTs