Context Switching issue: Spinlock doesn't fix. - Mailing list pgsql-performance

From Josh Berkus
Subject Context Switching issue: Spinlock doesn't fix.
Date
Msg-id 200406021225.25463.josh@agliodbs.com
Whole thread Raw
Responses Re: Context Switching issue: Spinlock doesn't fix.
List 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


pgsql-performance by date:

Previous
From: "Leeuw van der, Tim"
Date:
Subject: Re: PostgreSQL on VMWare vs Windows vs CoLinux
Next
From: "W.H. van Atteveldt"
Date:
Subject: Postgres query optimization with varchar fields