]> granicus.if.org Git - postgresql/commit
Increase the number of buffer mapping partitions to 128.
authorRobert Haas <rhaas@postgresql.org>
Thu, 2 Oct 2014 17:58:50 +0000 (13:58 -0400)
committerRobert Haas <rhaas@postgresql.org>
Thu, 2 Oct 2014 17:58:50 +0000 (13:58 -0400)
commit3acc10c997f916f6a741d0b4876126b7b08e3892
treeaa4a30df253f7c219c52b3d41327301ad21d8285
parent952872698d9443fdf9b808a1376017f00c91065a
Increase the number of buffer mapping partitions to 128.

Testing by Amit Kapila, Andres Freund, and myself, with and without
other patches that also aim to improve scalability, seems to indicate
that this change is a significant win over the current value and over
smaller values such as 64.  It's not clear how high we can push this
value before it starts to have negative side-effects elsewhere, but
going this far looks OK.
src/backend/storage/lmgr/lwlock.c
src/include/storage/lwlock.h