aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/funcs.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2011-07-29 16:46:13 -0400
committerRobert Haas <rhaas@postgresql.org>2011-07-29 16:46:13 -0400
commitb4fbe392f8ff6ff1a66b488eb7197eef9e1770a4 (patch)
tree1448cf266fe5d20ace8609de75e222b49fde4567 /src/tutorial/funcs.c
parent60fb25a3f56bd78e961cc7263e5ae11e1eceeb5e (diff)
downloadpostgresql-b4fbe392f8ff6ff1a66b488eb7197eef9e1770a4.tar.gz
postgresql-b4fbe392f8ff6ff1a66b488eb7197eef9e1770a4.zip
Reduce sinval synchronization overhead.
Testing shows that the overhead of acquiring and releasing SInvalReadLock and msgNumLock on high-core count boxes can waste a lot of CPU time and hurt performance. This patch adds a per-backend flag that allows us to skip all that locking in most cases. Further testing shows that this improves performance even when sinval traffic is very high. Patch by me. Review and testing by Noah Misch.
Diffstat (limited to 'src/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions