Re: LWLockRelease - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: LWLockRelease
Date
Msg-id KGEFLMPJFBNNLNOOOPLGIEDMCIAA.simon@2ndquadrant.com
Whole thread Raw
In response to Re: LWLockRelease  (Neil Conway <neilc@samurai.com>)
List pgsql-hackers
> 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



pgsql-hackers by date:

Previous
From: Neil Conway
Date:
Subject: Re: LWLock cache line alignment
Next
From: "Simon Riggs"
Date:
Subject: Re: LWLock cache line alignment