pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jignesh K. Shah <J.K.Shah@Sun.COM>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: pgsql-performance@postgresql.org
Subject: Re: Proposal of tunable fix for scalability of 8.4
Date: Wed, 11 Mar 2009 22:20:17 -0400
Message-ID: <49B87161.10201@sun.com> (raw)
In-Reply-To: <29080.1236821556@sss.pgh.pa.us>
References: <49B824DD.7090302@sun.com>
	<49B7F470.EE98.0025.0@wicourts.gov>
	<29080.1236821556@sss.pgh.pa.us>



Tom Lane wrote:
> "Kevin Grittner" <Kevin.Grittner@wicourts.gov> writes:
>   
>> I'm wondering about the testing methodology.
>>     
>
> Me too.  This test case seems much too far away from real world use
> to justify diddling low-level locking behavior; especially a change
> that is obviously likely to have very negative effects in other
> scenarios.  In particular, I think it would lead to complete starvation
> of would-be exclusive lockers in the face of competition from a steady
> stream of shared lockers.  AFAIR the existing behavior was designed
> to reduce the odds of that, not for any other purpose.
>
> 			regards, tom lane
>
>   

Hi Tom,

The test case is not that far fetched from real world.. Plus if you read 
my proposal I clearly mention a tunable for it so that we can set and 
hence obviously not impact 99% of the people who don't care about it but 
still allow the flexibility of the 1% of the people who do care about 
scalability when they go on bigger system. The fact that it is a tunable 
(and obviously not the default way) there is no impact to existing 
behavior.

My test case clearly shows that Exclusive lockers ARE benefited from it 
otherwise I would have not seen the huge impact on throughput.

A tunable does not impact existing behavior but adds flexibility for 
those using PostgreSQL on high end systems. Plus doing it the tunable 
way on PostgreSQL 8.4 will convince many people that I know to quickly 
adopt PostgreSQL 8.4 just because of the benefit it brings on systems 
with many cpus/cores/threads.

All I am requesting is for the beta to have that tunable. Its not hard, 
people can then quickly try default (off) or on or as Scott Carey 
mentioned  a more flexible of default, all or a fixed integer number 
(for people to experiment).


Regards,
Jignesh

-- 
Jignesh Shah           http://blogs.sun.com/jkshah  			
The New Sun Microsystems,Inc   http://sun.com/postgresql




view thread (119+ messages)  latest in thread

Message-ID: <49B87161.10201@sun.com>
Permalink:  ../49B87161.10201@sun.com/
Also on:    postgresql.org/message-id/49B87161.10201@sun.com

 · 

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: J.K.Shah@Sun.COM, tgl@sss.pgh.pa.us, Kevin.Grittner@wicourts.gov
  Subject: Re: Proposal of tunable fix for scalability of 8.4
  In-Reply-To: <49B87161.10201@sun.com>

* 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