> From: Neil Conway [mailto:neilc@samurai.com] wrote
> Simon Riggs wrote:
> > Setting MAX_SIMUL_LWLOCKS to this fairly high number doesn't seem to
> > match the optimistic use of the O(N) algorithm.
...
> Perhaps some data on the average value of num_held_locks and
> the number
> of entries we needed to search through to find the right lock
> would help
> verify whether this is indeed a problem.
Yes, I'll measure that and come back on this.
Best Regards, Simon Riggs