Divide the lock manager's shared state into 'partitions', so as to

Tom Lane <tgl@sss.pgh.pa.us>

Commit: ec0baf949ecdee0bf8d8e60cc8dba0137aac8d19
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-12-11T21:02:18Z
Releases: 8.2.0
Divide the lock manager's shared state into 'partitions', so as to
reduce contention for the former single LockMgrLock.  Per my recent
proposal.  I set it up for 16 partitions, but on a pgbench test this
gives only a marginal further improvement over 4 partitions --- we need
to test more scenarios to choose the number of partitions.

Files