Context Switching issue: Spinlock doesn't fix.

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Cc: pg(at)fastcrypt(dot)com
Subject: Context Switching issue: Spinlock doesn't fix.
Date: 2004-06-02 19:25:25
Message-ID: 200406021225.25463.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Folks,

I've been testing varying SPINS_PER_DELAY in a client's installation of
PostgreSQL against a copy of a production database, to test varying this
statistic as a way of fixing the issue.

It does not seem to work.

I've tested all of the following graduated levels:

100 (the original)
250
500
1000
2000
5000
10000
20000
30000
50000

None of these quantities seem to make any difference at all in the number of
context switches -- neither down nor up. Seems to me like this is a dead
end. Does anyone have test results that show otherwise?

--
-Josh Berkus
Aglio Database Solutions
San Francisco

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Andrew Hammond 2004-06-02 20:18:19 Re: Hardware opinions wanted
Previous Message Leeuw van der, Tim 2004-06-02 19:03:33 Re: PostgreSQL on VMWare vs Windows vs CoLinux