Skip site navigation (1) Skip section navigation (2)

Re: sinval contention reduction

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Simon Riggs <simon(at)2ndquadrant(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: sinval contention reduction
Date: 2008-01-26 00:02:36
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
Simon Riggs <simon(at)2ndquadrant(dot)com> writes:
> Patch to reduce the contention on SInvalLock, as discussed here:
> and

> For discussion.

This seems large, complex, and untested (I note in particular a
guaranteed-to-fail Assert).  I'm also wondering if it will help much,
since unless the system is already in trouble, the normal case will be
that all backends have absorbed all messages and so they'll all see
stateP->nextMsgNum == segP->minMsgNum when they first respond to a
signal.  Do you have any evidence for performance improvement?

			regards, tom lane

In response to


pgsql-patches by date

Next:From: Simon RiggsDate: 2008-01-26 09:38:48
Subject: Re: sinval contention reduction
Previous:From: Simon RiggsDate: 2008-01-25 23:35:12
Subject: sinval contention reduction

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group