pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Simon Riggs <simon@2ndQuadrant.com>
To: Matthew Wakeling <matthew@flymine.org>
Cc: Scott Carey <scott@richrelevance.com>
Cc: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: Proposal of tunable fix for scalability of 8.4
Date: Sat, 21 Mar 2009 08:50:39 +0000
Message-ID: <1237625439.3953.539.camel@ebony.2ndQuadrant> (raw)
In-Reply-To: <alpine.DEB.2.00.0903201237050.21772@aragorn.flymine.org>
References: <alpine.GSO.2.01.0903121613270.1925@westnet.com>
	<C5DED7A7.33B2%scott@richrelevance.com>
	<603c8f070903121829r31cf1472ha9876e5c480a542e@mail.gmail.com>
	<12292.1236964604@sss.pgh.pa.us>
	<49BB699D.1070809@enterprisedb.com>
	<alpine.DEB.2.00.0903161543590.21772@aragorn.flymine.org>
	<1237362833.3953.186.camel@ebony.2ndQuadrant>
	<BDFBB77C9E07BE4A984DAAE981D19F961AEE7AFBB7@EXVMBX018-1.exch018.msoutlookonline.net>
	<alpine.DEB.2.00.0903201237050.21772@aragorn.flymine.org>


On Fri, 2009-03-20 at 15:28 +0000, Matthew Wakeling wrote:
> On Thu, 19 Mar 2009, Scott Carey wrote:
> > In type B, the ratio of requests that must context switch is always == 
> > 1.  Every request must queue and wait!
> 
> A remarkably good point, although not completely correct. Every request 
> that arrives when the lock is held in any way already will queue and wait. 
> Requests that arrive when the lock is free will run immediately. I admit 
> it, this is a killer for this particular locking strategy.

I think the right mix of theory and test here is for people to come up
with new strategies that seem to make sense and then we'll test them
all. Trying too hard to arrive at the best strategy purely through
discussion will mean we miss a few tricks. Feels like we're on the right
track here.

-- 
 Simon Riggs           www.2ndQuadrant.com
 PostgreSQL Training, Services and Support




view thread (119+ messages)  latest in thread

Message-ID: <1237625439.3953.539.camel@ebony.2ndQuadrant>
Permalink:  ../1237625439.3953.539.camel@ebony.2ndQuadrant/
Also on:    postgresql.org/message-id/1237625439.3953.539.camel@ebony.2ndQuadrant

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: simon@2ndQuadrant.com, matthew@flymine.org, scott@richrelevance.com
  Subject: Re: Proposal of tunable fix for scalability of 8.4
  In-Reply-To: <1237625439.3953.539.camel@ebony.2ndQuadrant>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox