Re: LWLockRelease

From: "Simon Riggs" <simon(at)2ndquadrant(dot)com>
To: "Neil Conway" <neilc(at)samurai(dot)com>
Cc: "pgsql-hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: LWLockRelease
Date: 2005-02-03 14:03:14
Message-ID: KGEFLMPJFBNNLNOOOPLGIEDMCIAA.simon@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> From: Neil Conway [mailto:neilc(at)samurai(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2005-02-03 14:26:16 Re: LWLock cache line alignment
Previous Message Neil Conway 2005-02-03 14:00:21 Re: LWLockRelease